Package com.tailf.maapi
Class MaapiSchemas.CSNodeInfo
Object
com.tailf.maapi.MaapiSchemas.CSNodeInfo
- Enclosing class:
- MaapiSchemas
Class representing node information for a Schema node
-
Constructor Summary
ConstructorDescriptionConstructor for CSNodeInfo classCSNodeInfo
(int[] keys, int minOccurs, int maxOccurs, int shallowType, MaapiSchemas.CSType type, ConfObject defval, MaapiSchemas.CSChoice choice0, int flags, HashMap<String, String> metaData) -
Method Summary
Modifier and TypeMethodDescriptionget List object of choices for this node.get default value represented as a subclass to ConfObjectint
getFlags()
get flags for this node.int[]
getKeys()
get keys for the node.int
get MaxOccurs for the nodeget meta data for this node.int
get MinOccurs for the nodeint
get shallowtype represented as final static int inConfObject
getType()
get type for the nodetoString()
Informative string representation of a CSNodeInfo instance
-
Constructor Details
-
CSNodeInfo
public CSNodeInfo(int[] keys, int minOccurs, int maxOccurs, int shallowType, MaapiSchemas.CSType type, ConfObject defval, MaapiSchemas.CSChoice choice0, int flags, HashMap<String, String> metaData) -
CSNodeInfo
public CSNodeInfo()Constructor for CSNodeInfo class
-
-
Method Details
-
getKeys
public int[] getKeys()get keys for the node. keys are represented as a int array of hashvalues. Key names can be retrieved usingMaapiSchemas.hashToStringTab
- Returns:
- int[] array of keys or null if not exists
-
getMinOccurs
public int getMinOccurs()get MinOccurs for the node- Returns:
- int minOccurs
-
getMaxOccurs
public int getMaxOccurs()get MaxOccurs for the node- Returns:
- int maxOccurs
-
getShallowType
public int getShallowType()get shallowtype represented as final static int inConfObject
- Returns:
- int shallow type
-
getType
get type for the node- Returns:
- CSType type for the node
-
getDefval
get default value represented as a subclass to ConfObject- Returns:
- ConfObject
-
getChoices
get List object of choices for this node. A Choice is represented by the CSChoice class, this is a List of CSChoice accordingly- Returns:
- List of Choices
-
getFlags
public int getFlags()get flags for this node. Currently not used- Returns:
- int flags
-
getMetaData
get meta data for this node. Value could be either null or String.- Returns:
- HashMap<String, String>
-
getMountId
-
toString
Informative string representation of a CSNodeInfo instance
-