|
||||||||||
| 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.SchemaConfigImpl
public class SchemaConfigImpl
| 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 | |
|---|---|
SchemaConfigImpl()
|
|
SchemaConfigImpl(Object config)
|
|
| Method Summary | |
|---|---|
boolean |
flatten(List excludedNS)
flatten - combines all values from this object and its inherited objects into one single config object. |
SchemaItemConfig |
getItem(Object name)
Gets the item attribute of the SchemaConfig object |
List |
getItemNames()
Gets a List of all of the names. |
String |
getUserComment()
Override since the user comment may be a schema item |
SchemaItemConfig |
newItem(Object name)
Constructs a new SchemaItemConfig object. |
void |
removeItem(Object name)
Removes an item attribute from the schema |
void |
setInheritsFrom(BaseConfiguration inheritFrom)
We override this method to change the inherited object if we inherit from a connector. |
void |
setItem(Object name,
SchemaItemConfig item)
Sets the item attribute of the SchemaConfig object |
void |
setUserComment(String comment)
v Sets the user defined comment string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaConfigImpl()
public SchemaConfigImpl(Object config)
| Method Detail |
|---|
public String getUserComment()
getUserComment in interface BaseConfigurationgetUserComment in class BaseConfigurationImplpublic void setUserComment(String comment)
BaseConfigurationImpl
setUserComment in interface BaseConfigurationsetUserComment in class BaseConfigurationImplpublic List getItemNames()
SchemaConfig
getItemNames in interface SchemaConfigpublic SchemaItemConfig getItem(Object name)
getItem in interface SchemaConfigname - The name of the item of the schema
public void removeItem(Object name)
removeItem in interface SchemaConfigname - The name of the item to remove
public void setItem(Object name,
SchemaItemConfig item)
setItem in interface SchemaConfigname - The name of the new itemitem - The SchemaConfig object to put in
public SchemaItemConfig newItem(Object name)
throws Exception
newItem in interface SchemaConfigname - The name of the item attribute
Exception - if the construction does not succeed or
there is an already existing item with such namepublic void setInheritsFrom(BaseConfiguration inheritFrom)
setInheritsFrom in interface BaseConfigurationsetInheritsFrom in class BaseConfigurationImplinheritFrom - The new inheritsFrom value
public boolean flatten(List excludedNS)
throws Exception
BaseConfigurationImpl
flatten in interface BaseConfigurationflatten in class BaseConfigurationImplexcludedNS - List of namespaces to exclude from flattening
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||