com.ibm.tivoli.maximo.fdmbo.map

Class JSONMapDetailInfo

  • java.lang.Object
    • com.ibm.tivoli.maximo.fdmbo.map.JSONMapDetailInfo
  • All Implemented Interfaces:
    java.io.Serializable


    public final class JSONMapDetailInfo
    extends java.lang.Object
    implements java.io.Serializable
    Holds information for a given JSONMapDetailInfo object
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      JSONMapDetailInfo(java.lang.String mapName, java.lang.String objectName, java.lang.String objectPath, java.lang.String relpropPath, java.lang.String parentpropPath, java.lang.String relpropName, int objectId, int parentObjId, int processOrder, java.lang.String condition, java.lang.String relation, boolean isArray, int relPropIndex)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List getChildren()
      Returns a List of JSONMapDetailInfo objects which are children to the current JSONMapDetailInfo object
      java.lang.String getCondition()
      Return condition.
      java.lang.String getMapName()
      Get the map name
      int getObjectId()
      Returns object Id
      java.lang.String getObjectName()
      Returns object name
      java.lang.String getObjectPath()
      Return full object/hierarchy Path
      JSONMapDetailInfo getParentInfo()
      Returns a List of JSONMapDetailInfo objects which are children to the current JSONMapDetailInfo object
      int getParentObjId()
      Return parent object Id
      java.lang.String getParentPropPath()
      Get relation property name
      int getProcessOrder()
      Return process order
      java.util.List getProperties()
      Get the list of properties
      int getPropertyIndex()
      Returns index of element on the array
      java.lang.String getRelation()
      Return condition.
      java.lang.String getRelpropName()
      Get relation property name
      java.lang.String getRelpropPath()
      Get relation property path
      java.util.List getSiblingsHier()
      Returns a List of JSONMapDetailInfo objects which are children to the current JSONMapDetailInfo object
      boolean isArray()
      Is array or not
      boolean isPrimary()
      Return process order
      void setIsPrimary(boolean o)
      Return process order
      void setParentInfo(JSONMapDetailInfo parent)
      Returns a List of JSONMapDetailInfo objects which are children to the current JSONMapDetailInfo object
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JSONMapDetailInfo

        public JSONMapDetailInfo(java.lang.String mapName,
                                 java.lang.String objectName,
                                 java.lang.String objectPath,
                                 java.lang.String relpropPath,
                                 java.lang.String parentpropPath,
                                 java.lang.String relpropName,
                                 int objectId,
                                 int parentObjId,
                                 int processOrder,
                                 java.lang.String condition,
                                 java.lang.String relation,
                                 boolean isArray,
                                 int relPropIndex)
        Constructor
        Parameters:
        mapName - map name
        objectName - object name
        objectPath - hierarchy path
        relpropPath - JSON relation property path
        relpropName - JSON property name
        objectId - object id
        parentObjId - parent object id
        processOrder - processing order
        condition - condition expression
        isArray - is level array or not
    • Method Detail

      • getMapName

        public java.lang.String getMapName()
        Get the map name
        Returns:
        map name
      • getRelpropPath

        public java.lang.String getRelpropPath()
        Get relation property path
        Returns:
        relation property path
      • getRelpropName

        public java.lang.String getRelpropName()
        Get relation property name
        Returns:
        relation property name
      • getParentPropPath

        public java.lang.String getParentPropPath()
        Get relation property name
        Returns:
        relation property name
      • getObjectName

        public java.lang.String getObjectName()
        Returns object name
        Returns:
        object name
      • getChildren

        public java.util.List getChildren()
        Returns a List of JSONMapDetailInfo objects which are children to the current JSONMapDetailInfo object
        Returns:
        List of child JSONMapDetailInfo objects
      • getSiblingsHier

        public java.util.List getSiblingsHier()
        Returns a List of JSONMapDetailInfo objects which are children to the current JSONMapDetailInfo object
        Returns:
        List of child JSONMapDetailInfo objects
      • getParentInfo

        public JSONMapDetailInfo getParentInfo()
        Returns a List of JSONMapDetailInfo objects which are children to the current JSONMapDetailInfo object
        Returns:
        List of child JSONMapDetailInfo objects
      • setParentInfo

        public void setParentInfo(JSONMapDetailInfo parent)
        Returns a List of JSONMapDetailInfo objects which are children to the current JSONMapDetailInfo object
      • getObjectId

        public int getObjectId()
        Returns object Id
        Returns:
        object Id
      • getPropertyIndex

        public int getPropertyIndex()
        Returns index of element on the array
        Returns:
        index of element on the array
      • getParentObjId

        public int getParentObjId()
        Return parent object Id
        Returns:
        parent object Id
      • getProcessOrder

        public int getProcessOrder()
        Return process order
        Returns:
        process order
      • setIsPrimary

        public void setIsPrimary(boolean o)
        Return process order
      • isPrimary

        public boolean isPrimary()
        Return process order
        Returns:
        process order
      • getObjectPath

        public java.lang.String getObjectPath()
        Return full object/hierarchy Path
        Returns:
        objectPath
      • isArray

        public boolean isArray()
        Is array or not
        Returns:
        is array
      • getCondition

        public java.lang.String getCondition()
        Return condition.
        Returns:
        condition
      • getRelation

        public java.lang.String getRelation()
        Return condition.
        Returns:
        condition
      • getProperties

        public java.util.List getProperties()
        Get the list of properties
        Returns:
        list of properties (list of JSONMapPropertyInfo)