com.ibm.tivoli.maximo.skd.model

Class MXGanttPropertyInfo

  • java.lang.Object
    • com.ibm.tivoli.maximo.skd.model.MXGanttPropertyInfo
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean canBeGrouped()
      Flag to indicate if the property can be grouped.
      boolean canBeSorted()
      Flag to indicate if property is sorted or not
      boolean canEdit()
      Returns true if the property is editable in the Gantt
      java.util.HashMap getApplinkAppList(java.lang.String objectName)
      Return the map of application and description for the object associated with property
      java.lang.String getApplinkObject(java.lang.String objectName)
      Returns the applink object name for the object associated with property
      java.lang.String getAttrName(java.lang.String objectName)
      Get the attribute associated with the property for an object
      int getDataType()
      Get the datatype of the property
      int getLength()
      Get the length of the property
      int getOrder()
      Get the display order of the property
      java.lang.String getPropertyName()
      Get the property Name
      int getScale()
      Get the scale of the property
      java.lang.String getTextDirection()
      Get the text direction of the property
      java.lang.String getTitle()
      Get the title of the property
      int getWidth()
      get the column width
      boolean hasApplink()
      Flag to indicate if property has applink or not
      boolean isAlwaysVisible()
      Get the falg to indicate if property is always visible or not.
      boolean isFilterable()
      Flag to indicate if property is filterable or not
      boolean isInternal()
      Get the flag if property is internal or not.
      boolean isNumeric()
      Flag to indicate if property is numeric or not
      void setAlwaysVisible(boolean alwaysVisible)
      Sets the flag that property is always visible
      void setApplink(boolean hasApplink)
      Sets the flag to indicate if property has applink or not
      void setApplinkAppList(java.lang.String objectName, java.util.HashMap applinkAppMap)
      Sets the map of application and description for the object associated with property
      void setApplinkObject(java.lang.String objectName, java.lang.String applinkObject)
      Sets the applink object name for the object associated with property
      void setAttrName(java.lang.String objectName, java.lang.String attrName)
      Set the attribute name for object and attribute
      void setCanBeGrouped(boolean canBeGrouped)
      Set flag to indicate if the property can be grouped or not.
      void setCanBeSorted(boolean canBeSorted)
      Sets the flag to indicate if property is canBeSorted or not
      void setCanEdit(boolean b)
      Set's whether or not the property can be editable in the gantt
      void setDataType(int dataType)
      Sets the datatype of the property
      void setFilterable(boolean filterable)
      Sets flag to indicate if property is filterable or not
      void setInternal(boolean isInternal)
      Sets flag for property is internal or not.
      void setLength(int length)
      Sets the length of the proerty
      void setNumeric(boolean isNumeric)
      Sets the flag to indicate if property is numeric or not
      void setOrder(int order)
      Sets the display order of the property
      void setPropertyName(java.lang.String propertyName)
      Sets the property Name
      void setScale(int scale)
      Set the scale of the property
      void setShowTable(boolean showTable)
      Sets flag to indicate if property need to be shown or not
      void setTextDirection(java.lang.String dir)
      Sets text direction of the property
      void setTitle(java.lang.String title)
      Sets the title of the property
      void setWidth(int width)
      set the column width
      boolean showTable()
      Flag to indicate if property need to be shown or not
      • Methods inherited from class java.lang.Object

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

      • MXGanttPropertyInfo

        public MXGanttPropertyInfo()
    • Method Detail

      • setPropertyName

        public void setPropertyName(java.lang.String propertyName)
        Sets the property Name
        Parameters:
        propertyName -
      • getTitle

        public java.lang.String getTitle()
        Get the title of the property
        Specified by:
        getTitle in interface IMXGanttPropertyInfo
        Returns:
        property title
      • setTitle

        public void setTitle(java.lang.String title)
        Sets the title of the property
        Specified by:
        setTitle in interface IMXGanttPropertyInfo
      • getAttrName

        public java.lang.String getAttrName(java.lang.String objectName)
        Get the attribute associated with the property for an object
        Specified by:
        getAttrName in interface IMXGanttPropertyInfo
        Returns:
        attribute name
      • setAttrName

        public void setAttrName(java.lang.String objectName,
                                java.lang.String attrName)
        Set the attribute name for object and attribute
        Parameters:
        objectName -
        attrName -
      • getLength

        public int getLength()
        Get the length of the property
        Specified by:
        getLength in interface IMXGanttPropertyInfo
        Returns:
        length of the property
      • setLength

        public void setLength(int length)
        Sets the length of the proerty
        Parameters:
        length -
      • getScale

        public int getScale()
        Get the scale of the property
        Specified by:
        getScale in interface IMXGanttPropertyInfo
        Returns:
        scale of the property
      • setScale

        public void setScale(int scale)
        Set the scale of the property
        Parameters:
        scale -
      • getDataType

        public int getDataType()
        Get the datatype of the property
        Specified by:
        getDataType in interface IMXGanttPropertyInfo
        Returns:
        data type as integer
      • setDataType

        public void setDataType(int dataType)
        Sets the datatype of the property
        Parameters:
        dataType -
      • isNumeric

        public boolean isNumeric()
        Flag to indicate if property is numeric or not
        Specified by:
        isNumeric in interface IMXGanttPropertyInfo
        Returns:
        true if numeric else false
      • setNumeric

        public void setNumeric(boolean isNumeric)
        Sets the flag to indicate if property is numeric or not
        Parameters:
        isNumeric -
      • hasApplink

        public boolean hasApplink()
        Flag to indicate if property has applink or not
        Specified by:
        hasApplink in interface IMXGanttPropertyInfo
        Returns:
        true if property has applink else false
      • setApplink

        public void setApplink(boolean hasApplink)
        Sets the flag to indicate if property has applink or not
        Parameters:
        hasApplink -
      • showTable

        public boolean showTable()
        Flag to indicate if property need to be shown or not
        Specified by:
        showTable in interface IMXGanttPropertyInfo
        Returns:
        true if property need to be shown else false
      • setShowTable

        public void setShowTable(boolean showTable)
        Sets flag to indicate if property need to be shown or not
        Parameters:
        showTable -
      • isFilterable

        public boolean isFilterable()
        Flag to indicate if property is filterable or not
        Specified by:
        isFilterable in interface IMXGanttPropertyInfo
        Returns:
        true property is filterable else false
      • setFilterable

        public void setFilterable(boolean filterable)
        Sets flag to indicate if property is filterable or not
        Parameters:
        filterable -
      • getApplinkAppList

        public java.util.HashMap getApplinkAppList(java.lang.String objectName)
        Return the map of application and description for the object associated with property
        Specified by:
        getApplinkAppList in interface IMXGanttPropertyInfo
        Returns:
        Hashmap
      • setApplinkAppList

        public void setApplinkAppList(java.lang.String objectName,
                                      java.util.HashMap applinkAppMap)
        Sets the map of application and description for the object associated with property
        Parameters:
        objectName -
        applinkAppMap - Hashmap
      • getApplinkObject

        public java.lang.String getApplinkObject(java.lang.String objectName)
        Returns the applink object name for the object associated with property
        Specified by:
        getApplinkObject in interface IMXGanttPropertyInfo
        Returns:
        object name
      • setApplinkObject

        public void setApplinkObject(java.lang.String objectName,
                                     java.lang.String applinkObject)
        Sets the applink object name for the object associated with property
        Parameters:
        objectName -
        applinkObject -
      • isInternal

        public boolean isInternal()
        Get the flag if property is internal or not.
        Specified by:
        isInternal in interface IMXGanttPropertyInfo
        Returns:
        true if internal else false
      • setInternal

        public void setInternal(boolean isInternal)
        Sets flag for property is internal or not.
        Parameters:
        isInternal -
      • isAlwaysVisible

        public boolean isAlwaysVisible()
        Get the falg to indicate if property is always visible or not.
        Specified by:
        isAlwaysVisible in interface IMXGanttPropertyInfo
        Returns:
        true if always visible else false.
      • setAlwaysVisible

        public void setAlwaysVisible(boolean alwaysVisible)
        Sets the flag that property is always visible
        Parameters:
        alwaysVisible -
      • getOrder

        public int getOrder()
        Get the display order of the property
        Returns:
        property display order
      • setOrder

        public void setOrder(int order)
        Sets the display order of the property
        Parameters:
        order -
      • getTextDirection

        public java.lang.String getTextDirection()
        Get the text direction of the property
        Specified by:
        getTextDirection in interface IMXGanttPropertyInfo
        Returns:
        text direction
      • setTextDirection

        public void setTextDirection(java.lang.String dir)
        Sets text direction of the property
        Parameters:
        text - direction
      • canBeSorted

        public boolean canBeSorted()
        Flag to indicate if property is sorted or not
        Specified by:
        canBeSorted in interface IMXGanttPropertyInfo
        Returns:
        true if sorted else false
      • setCanBeSorted

        public void setCanBeSorted(boolean canBeSorted)
        Sets the flag to indicate if property is canBeSorted or not
        Parameters:
        canBeSorted -
      • canBeGrouped

        public boolean canBeGrouped()
        Flag to indicate if the property can be grouped.
        Specified by:
        canBeGrouped in interface IMXGanttPropertyInfo
        Returns:
      • setCanBeGrouped

        public void setCanBeGrouped(boolean canBeGrouped)
        Set flag to indicate if the property can be grouped or not.
        Parameters:
        canBeGrouped -
      • setWidth

        public void setWidth(int width)
        set the column width
        Specified by:
        setWidth in interface IMXGanttPropertyInfo
        Parameters:
        width -