Class AttributeSchema.UIType

  • Enclosing class:
    AttributeSchema

    public static class AttributeSchema.UIType
    extends Object
    The class UIType defines the UI types of schema attributes and provides static constants for these types. These types mainly will be used by the GUI to determine how to display the schema attributes. Currently defined schema attribute UI types are RADIO, LINK, BUTTON and NAME_VALUE_LIST
    • Field Detail

      • RADIO

        public static final AttributeSchema.UIType RADIO
        The RADIO attribute type specifies that the attribute should be display as radio button.
      • LINK

        public static final AttributeSchema.UIType LINK
        The LINK attribute type specifies that the attribute should be display as a link.
      • BUTTON

        public static final AttributeSchema.UIType BUTTON
        The BUTTON attribute type specifies that the attribute should be display as a button.
      • NAME_VALUE_LIST

        public static final AttributeSchema.UIType NAME_VALUE_LIST
        The NAME_VALUE_LIST attribute type specifies that the attribute should be display as a name value list widget.
      • UNORDEREDLIST

        public static final AttributeSchema.UIType UNORDEREDLIST
        The UNORDERED_LIST attribute type specifies that the attribute should be display as an unordered list widget.
      • ORDEREDLIST

        public static final AttributeSchema.UIType ORDEREDLIST
        The ORDERED_LIST attribute type specifies that the attribute should be display as an ordered list widget.
      • MAPLIST

        public static final AttributeSchema.UIType MAPLIST
        The MAP_LIST attribute type specifies that the attribute should be display as an map list widget.
      • GLOBALMAPLIST

        public static final AttributeSchema.UIType GLOBALMAPLIST
        The GLOBALMAP_LIST attribute type specifies that the attribute should be display as a global map list widget.
      • ADDREMOVELIST

        public static final AttributeSchema.UIType ADDREMOVELIST
        The ADDREMOVELIST attribute type specifies that the multiple choice attribute should be display as add remove list widget.
      • SCRIPTSELECT

        public static final AttributeSchema.UIType SCRIPTSELECT
        The SCRIPTSELECT attribute type specifies that the attribute should be display as drop down widget.
      • GLOBALSCRIPTSELECT

        public static final AttributeSchema.UIType GLOBALSCRIPTSELECT
        The GLOBALSCRIPTSELECT attribute type specifies that the attribute should be display as drop down widget with only global scripts.
    • Method Detail

      • toString

        public String toString()
        The method returns the string representation of the schema attribute UI type.
        Overrides:
        toString in class Object
        Returns:
        String string representation of schema attribute UI type
      • equals

        public boolean equals​(Object schemaAttrType)
        Method to check if two schema attribute UI types are equal.
        Overrides:
        equals in class Object
        Parameters:
        schemaAttrType - the reference object with which to compare
        Returns:
        true if the objects are same; false otherwise
      • hashCode

        public int hashCode()
        Returns a hash code value for the object.
        Overrides:
        hashCode in class Object
        Returns:
        a hash code value for the object