Class MaapiSchemas.CSNodeInfo

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

public class MaapiSchemas.CSNodeInfo extends Object
Class representing node information for a Schema node
  • Constructor Details

  • 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 using MaapiSchemas.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 in ConfObject
      Returns:
      int shallow type
    • getType

      public MaapiSchemas.CSType getType()
      get type for the node
      Returns:
      CSType type for the node
    • getDefval

      public ConfObject getDefval()
      get default value represented as a subclass to ConfObject
      Returns:
      ConfObject
    • getChoices

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

      public HashMap<String,String> getMetaData()
      get meta data for this node. Value could be either null or String.
      Returns:
      HashMap<String, String>
    • getMountId

      public List<String> getMountId()
    • toString

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