|
|||||||||||
| 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.SchemaItemConfigImpl
public class SchemaItemConfigImpl
Describes the configuration of an item from a schema
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
|---|
NAME |
| Fields inherited from interface com.ibm.di.config.interfaces.SchemaItemConfig |
|---|
PRESENCE_OPTIONAL, PRESENCE_REQUIRED |
| Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration |
|---|
CHILD_PATH_SEPARATOR, 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, SEARCH_SUBSTRING, SUBTREE |
| Constructor Summary | |
|---|---|
SchemaItemConfigImpl()
|
|
SchemaItemConfigImpl(Object config)
|
|
| Method Summary | |
|---|---|
boolean |
detachFromParent()
This method removes this objects from its parent container. |
String |
getAttributeName()
Gets the attributeName attribute of the SchemaItemConfig object |
ContainerConfig |
getChildSchemaList()
Returns the child schema |
Object |
getClone()
Return self clone |
boolean |
getEnabled()
Gets the enabled attribute of this object. |
String |
getExternalSyntax()
Gets the externalSyntax attribute of the SchemaItemConfig object |
String |
getJavaClass()
Gets the java class used internally for the value |
int |
getMaxOccurrences()
Returns the minimum occurrences for this item. |
int |
getMinOccurrences()
Returns the minimum occurrences for this item. |
Name |
getName()
The object's full name |
String |
getPresenceFlag()
Gets the presence flag of the SchemaItemConfig object. |
Object |
getSample()
Returns the sample value |
boolean |
isLeaf()
Returns true if this item is a leaf node |
boolean |
isProperty()
Returns true if this item is a property (e.g XML Element attribute) |
boolean |
isRepeatable()
Returns true if this item is repeatable (e.g. |
boolean |
isRequired()
Returns the required setting for this schema item |
boolean |
reattachToParent(int position)
This method reattaches this object to its former parent. |
void |
setAttributeName(String name)
Sets the attributeName attribute of the SchemaItemConfig object |
void |
setExternalSyntax(String syntax)
Sets the externalSyntax attribute of the SchemaItemConfig object |
void |
setJavaClass(String className)
Sets the java class name of the SchemaItemConfig object |
void |
setMaxOccurrences(int max)
Sets the max occurence for this schema item. |
void |
setMinOccurrences(int min)
Sets the minimum occurrence for this item. |
void |
setPresenceFlag(String presence)
Sets the presence flag of the SchemaItemConfig object |
void |
setProperty(boolean property)
Sets the property flag for this item. |
void |
setSample(Object sample)
Sets the sample value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaItemConfigImpl()
public SchemaItemConfigImpl(Object config)
| Method Detail |
|---|
public String getAttributeName()
getAttributeName in interface SchemaItemConfigpublic void setAttributeName(String name)
setAttributeName in interface SchemaItemConfigname - The new attributeName valuepublic String getJavaClass()
getJavaClass in interface SchemaItemConfigpublic void setJavaClass(String className)
setJavaClass in interface SchemaItemConfigclassName - The new java class valuepublic String getExternalSyntax()
getExternalSyntax in interface SchemaItemConfigpublic void setExternalSyntax(String syntax)
setExternalSyntax in interface SchemaItemConfigsyntax - The new externalSyntax valuepublic String getPresenceFlag()
getPresenceFlag in interface SchemaItemConfigpublic void setPresenceFlag(String presence)
setPresenceFlag in interface SchemaItemConfigpresence - The new presence valuepublic Object getSample()
getSample in interface SchemaItemConfigpublic void setSample(Object sample)
setSample in interface SchemaItemConfig
public Object getClone()
throws Exception
getClone in interface BaseConfigurationgetClone in class BaseConfigurationImplExceptionpublic boolean detachFromParent()
BaseConfigurationImpl
detachFromParent in interface BaseConfigurationdetachFromParent in class BaseConfigurationImpltrue if this object was removed;
false if it could not be removed.public boolean reattachToParent(int position)
BaseConfigurationImpl
reattachToParent in interface BaseConfigurationreattachToParent in class BaseConfigurationImpltrue if this object was reattached;
false if not;public boolean isRequired()
SchemaItemConfig
isRequired in interface SchemaItemConfigpublic ContainerConfig getChildSchemaList()
SchemaItemConfig
getChildSchemaList in interface SchemaItemConfigpublic int getMaxOccurrences()
SchemaItemConfig
getMaxOccurrences in interface SchemaItemConfigpublic int getMinOccurrences()
SchemaItemConfig
getMinOccurrences in interface SchemaItemConfigpublic void setMaxOccurrences(int max)
SchemaItemConfig
setMaxOccurrences in interface SchemaItemConfigpublic void setMinOccurrences(int min)
SchemaItemConfig
setMinOccurrences in interface SchemaItemConfigpublic boolean isProperty()
SchemaItemConfig
isProperty in interface SchemaItemConfigpublic void setProperty(boolean property)
SchemaItemConfig
setProperty in interface SchemaItemConfigpublic Name getName()
BaseConfiguration
getName in interface BaseConfigurationgetName in class BaseConfigurationImplpublic boolean isRepeatable()
SchemaItemConfig
isRepeatable in interface SchemaItemConfigpublic boolean isLeaf()
SchemaItemConfig
isLeaf in interface SchemaItemConfigpublic boolean getEnabled()
BaseConfigurationImpl
getEnabled in interface BaseConfigurationgetEnabled in class BaseConfigurationImpl
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||