Class MaapiSchemas.CSCase

Object
com.tailf.maapi.MaapiSchemas.CSCase
Enclosing class:
MaapiSchemas

public class MaapiSchemas.CSCase extends Object
Class representing a Case for a Choice
  • 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

      public String 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

      public String getNS()
      get namespace represented as string
      Returns:
      String namespace
    • getNodes

      public List<MaapiSchemas.CSNode> getNodes()
      get List of the nodes defined in this Case. The list is a list of CSNode objects.
      Returns:
      List of nodes
    • getChoices

      public List<MaapiSchemas.CSChoice> getChoices()
      get List of choices defined in this Case. The list is a list of CSChoice objects.
      Returns:
      List of nodes
    • getParentChoice

      public MaapiSchemas.CSChoice getParentChoice()
      get the parent choice defining this case.
      Returns:
      CSChoice parent choice
    • getSiblings

      public List<MaapiSchemas.CSCase> 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

      public String toString()
      Informative string representation of a CSCase instance
      Overrides:
      toString in class Object
      Returns:
      String