|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.config.base.BaseConfigurationImpl
com.ibm.di.config.base.ConnectorSchemaConfigImpl
public class ConnectorSchemaConfigImpl
Field Summary |
---|
Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
---|
NAME |
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration |
---|
DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SUBTREE |
Constructor Summary | |
---|---|
ConnectorSchemaConfigImpl()
|
|
ConnectorSchemaConfigImpl(Object config)
|
Method Summary | |
---|---|
void |
configurationChanged(MetamergeConfigChange changeEvent)
|
ConnectorSchemaItemConfig |
getItem(Object name)
Gets the item attribute of the ConnectorSchemaConfig object |
ConnectorSchemaItemConfig |
getItem(Object name,
boolean create)
|
List |
getItemNames()
Gets the List of Items names. |
ConnectorSchemaItemConfig |
newItem(Object name)
Creates a new schema item. |
void |
removeItem(Object name)
Deletes the specified schema item. |
void |
setInheritsFrom(BaseConfiguration inheritFrom)
We override this method to change the inherited object if we inherit from a connector. |
void |
setItem(Object name,
ConnectorSchemaItemConfig item)
Sets the item attribute of the ConnectorSchemaConfig object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectorSchemaConfigImpl()
public ConnectorSchemaConfigImpl(Object config)
Method Detail |
---|
public List getItemNames()
ConnectorSchemaConfig
getItemNames
in interface ConnectorSchemaConfig
public ConnectorSchemaItemConfig getItem(Object name)
ConnectorSchemaConfig
getItem
in interface ConnectorSchemaConfig
name
- the name of the schema item
public ConnectorSchemaItemConfig getItem(Object name, boolean create)
getItem
in interface ConnectorSchemaConfig
name
- the name of the schema itemcreate
- a boolean value specifying if the item should
be created if it does not exist
public void removeItem(Object name)
ConnectorSchemaConfig
removeItem
in interface ConnectorSchemaConfig
name
- the name of the schema item to delete.public void setItem(Object name, ConnectorSchemaItemConfig item)
ConnectorSchemaConfig
setItem
in interface ConnectorSchemaConfig
name
- The new item valueitem
- The new item valuepublic ConnectorSchemaItemConfig newItem(Object name) throws Exception
ConnectorSchemaConfig
newItem
in interface ConnectorSchemaConfig
name
- the name of the new schema item
Exception
- An exception is thrown if this method fails.public void setInheritsFrom(BaseConfiguration inheritFrom)
setInheritsFrom
in interface BaseConfiguration
setInheritsFrom
in class BaseConfigurationImpl
inheritFrom
- The new inheritsFrom valuepublic void configurationChanged(MetamergeConfigChange changeEvent)
configurationChanged
in interface MetamergeConfigChangeListener
configurationChanged
in class BaseConfigurationImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |