|
|||||||||||
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 String |
PRESENCE_OPTIONAL
|
static 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 | |
---|---|
String |
getAttributeName()
Gets the attributeName attribute of the SchemaItemConfig object |
ContainerConfig |
getChildSchemaList()
Returns the child schema |
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. |
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 |
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 |
Field Detail |
---|
static final String PRESENCE_REQUIRED
static final String PRESENCE_OPTIONAL
Method Detail |
---|
String getAttributeName()
void setAttributeName(String name)
name
- The new attributeName valueString getJavaClass()
void setJavaClass(String className)
className
- The new java class valueString getExternalSyntax()
void setExternalSyntax(String syntax)
syntax
- The new externalSyntax valueString getPresenceFlag()
void setPresenceFlag(String presence)
presence
- The new presence valueObject getSample()
void setSample(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 |