|
||||||||||
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(java.lang.Object config)
|
Method Summary | |
---|---|
boolean |
detachFromParent()
This method removes this objects from its parent container. |
java.lang.String |
getAttributeName()
Gets the attributeName attribute of the SchemaItemConfig object |
ContainerConfig |
getChildSchemaList()
Returns the child schema |
java.lang.Object |
getClone()
Return self clone |
boolean |
getEnabled()
Gets the enabled attribute of this object. |
java.lang.String |
getExternalSyntax()
Gets the externalSyntax attribute of the SchemaItemConfig object |
java.lang.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. |
javax.naming.Name |
getName()
The object's full name |
java.lang.String |
getPresenceFlag()
Gets the presence flag of the SchemaItemConfig object. |
java.lang.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(java.lang.String name)
Sets the attributeName attribute of the SchemaItemConfig object |
void |
setExternalSyntax(java.lang.String syntax)
Sets the externalSyntax attribute of the SchemaItemConfig object |
void |
setJavaClass(java.lang.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(java.lang.String presence)
Sets the presence flag of the SchemaItemConfig object |
void |
setProperty(boolean property)
Sets the property flag for this item. |
void |
setSample(java.lang.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(java.lang.Object config)
Method Detail |
---|
public java.lang.String getAttributeName()
getAttributeName
in interface SchemaItemConfig
public void setAttributeName(java.lang.String name)
setAttributeName
in interface SchemaItemConfig
name
- The new attributeName valuepublic java.lang.String getJavaClass()
getJavaClass
in interface SchemaItemConfig
public void setJavaClass(java.lang.String className)
setJavaClass
in interface SchemaItemConfig
className
- The new java class valuepublic java.lang.String getExternalSyntax()
getExternalSyntax
in interface SchemaItemConfig
public void setExternalSyntax(java.lang.String syntax)
setExternalSyntax
in interface SchemaItemConfig
syntax
- The new externalSyntax valuepublic java.lang.String getPresenceFlag()
getPresenceFlag
in interface SchemaItemConfig
public void setPresenceFlag(java.lang.String presence)
setPresenceFlag
in interface SchemaItemConfig
presence
- The new presence valuepublic java.lang.Object getSample()
getSample
in interface SchemaItemConfig
public void setSample(java.lang.Object sample)
setSample
in interface SchemaItemConfig
public java.lang.Object getClone() throws java.lang.Exception
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
java.lang.Exception
public boolean detachFromParent()
BaseConfigurationImpl
detachFromParent
in interface BaseConfiguration
detachFromParent
in class BaseConfigurationImpl
true
if this object was removed;
false
if it could not be removed.public boolean reattachToParent(int position)
BaseConfigurationImpl
reattachToParent
in interface BaseConfiguration
reattachToParent
in class BaseConfigurationImpl
true
if this object was reattached;
false
if not;public boolean isRequired()
SchemaItemConfig
isRequired
in interface SchemaItemConfig
public ContainerConfig getChildSchemaList()
SchemaItemConfig
getChildSchemaList
in interface SchemaItemConfig
public int getMaxOccurrences()
SchemaItemConfig
getMaxOccurrences
in interface SchemaItemConfig
public int getMinOccurrences()
SchemaItemConfig
getMinOccurrences
in interface SchemaItemConfig
public void setMaxOccurrences(int max)
SchemaItemConfig
setMaxOccurrences
in interface SchemaItemConfig
public void setMinOccurrences(int min)
SchemaItemConfig
setMinOccurrences
in interface SchemaItemConfig
public boolean isProperty()
SchemaItemConfig
isProperty
in interface SchemaItemConfig
public void setProperty(boolean property)
SchemaItemConfig
setProperty
in interface SchemaItemConfig
public javax.naming.Name getName()
BaseConfiguration
getName
in interface BaseConfiguration
getName
in class BaseConfigurationImpl
public boolean isRepeatable()
SchemaItemConfig
isRepeatable
in interface SchemaItemConfig
public boolean isLeaf()
SchemaItemConfig
isLeaf
in interface SchemaItemConfig
public boolean getEnabled()
BaseConfigurationImpl
getEnabled
in interface BaseConfiguration
getEnabled
in class BaseConfigurationImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |