Package com.tailf.maapi
Class MaapiSchemas.CSCase
Object
com.tailf.maapi.MaapiSchemas.CSCase
- Enclosing class:
- MaapiSchemas
Class representing a Case for a Choice
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget List of choices defined in this Case.getNodes()
get List of the nodes defined in this Case.getNS()
get namespace represented as stringint
get namespace represented as hash valueget the parent choice defining this case.get List of sibling cases for this case.getTag()
get case tag represented as stringint
get case tag represented as hash valuetoString()
Informative string representation of a CSCase instance
-
Constructor Details
-
CSCase
public CSCase()Constructor for CSCase class
-
-
Method Details
-
getTagHash
public int getTagHash()get case tag represented as hash value- Returns:
- int hashvalue for the tag
-
getTag
get case tag represented as string- Returns:
- string tag
-
getNSHash
public int getNSHash()get namespace represented as hash value- Returns:
- int hashvalue for the namespace
-
getNS
get namespace represented as string- Returns:
- String namespace
-
getNodes
get List of the nodes defined in this Case. The list is a list of CSNode objects.- Returns:
- List of nodes
-
getChoices
get List of choices defined in this Case. The list is a list of CSChoice objects.- Returns:
- List of nodes
-
getParentChoice
get the parent choice defining this case.- Returns:
- CSChoice parent choice
-
getSiblings
get List of sibling cases for this case. The List is a list of CSCase objects and current case is included.- Returns:
- List of sibling cases
-
toString
Informative string representation of a CSCase instance
-