|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchemaItemConfig
Describes an item from the schema
SchemaConfig
Field Summary | |
---|---|
static java.lang.String |
PRESENCE_OPTIONAL
|
static java.lang.String |
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 |
Method Summary | |
---|---|
java.lang.String |
getAttributeName()
Gets the attributeName attribute of the SchemaItemConfig object |
ContainerConfig |
getChildSchemaList()
Returns the child schema |
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. |
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 |
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 |
Field Detail |
---|
static final java.lang.String PRESENCE_REQUIRED
static final java.lang.String PRESENCE_OPTIONAL
Method Detail |
---|
java.lang.String getAttributeName()
void setAttributeName(java.lang.String name)
name
- The new attributeName valuejava.lang.String getJavaClass()
void setJavaClass(java.lang.String className)
className
- The new java class valuejava.lang.String getExternalSyntax()
void setExternalSyntax(java.lang.String syntax)
syntax
- The new externalSyntax valuejava.lang.String getPresenceFlag()
void setPresenceFlag(java.lang.String presence)
presence
- The new presence valuejava.lang.Object getSample()
void setSample(java.lang.Object sample)
boolean isRequired()
ContainerConfig getChildSchemaList()
int getMinOccurrences()
void setMinOccurrences(int min)
min
- int getMaxOccurrences()
void setMaxOccurrences(int max)
max
- boolean isProperty()
void setProperty(boolean property)
boolean isRepeatable()
boolean isLeaf()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |