Interface Attribute

  • All Superinterfaces:
    Cloneable, net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
    All Known Implementing Classes:
    AttributeDocument

    public interface Attribute
    extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String PROP_GUARDS
      Constant property name for "guards" for internal storage and queries.
      static String PROP_ID
      Constant property name for "id" for internal storage and queries.
      static String PROP_KEY
      Constant property name for "key" for internal storage and queries.
      static String PROP_NAME
      Constant property name for "name" for internal storage and queries.
      static String PROP_SUBATTRIBUTES
      Constant property name for "subattributes" for internal storage and queries.
      static String PROP_VALUE
      Constant property name for "value" for internal storage and queries.
    • Field Detail

      • PROP_ID

        static final String PROP_ID
        Constant property name for "id" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_NAME

        static final String PROP_NAME
        Constant property name for "name" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_KEY

        static final String PROP_KEY
        Constant property name for "key" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_VALUE

        static final String PROP_VALUE
        Constant property name for "value" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_SUBATTRIBUTES

        static final String PROP_SUBATTRIBUTES
        Constant property name for "subattributes" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_GUARDS

        static final String PROP_GUARDS
        Constant property name for "guards" for internal storage and queries.
        See Also:
        Constant Field Values
    • Method Detail

      • getName

        String getName()
        Returns the value of the name attribute.
      • setName

        void setName​(String value)
        Sets the value of the name attribute.
      • getKey

        String getKey()
        Returns the value of the key attribute.
      • setKey

        void setKey​(String value)
        Sets the value of the key attribute.
      • getValue

        String getValue()
        Returns the value of the value attribute.
      • setValue

        void setValue​(String value)
        Sets the value of the value attribute.
      • getSubattributes

        List<String> getSubattributes()
        Returns the value of the subattributes attribute.
      • setSubattributes

        void setSubattributes​(List<String> value)
        Sets the value of the subattributes attribute.
      • getGuards

        List<String> getGuards()
        Returns the value of the guards attribute.
      • setGuards

        void setGuards​(List<String> value)
        Sets the value of the guards attribute.
      • getSubattributesSize

        int getSubattributesSize()
        Returns the number of elements in the "subattributes" container
      • addSubattributesElement

        void addSubattributesElement​(String type)
        Adds a new element to the list.
      • removeSubattributesElement

        void removeSubattributesElement​(int index)
        Removes the element at position index from the list.
      • swapSubattributesElement

        void swapSubattributesElement​(int index1,
                                      int index2)
        Swaps elements at positions index1 and index2 in the list.
      • getSubattributesElement

        String getSubattributesElement​(int index)
        Returns the element at the position index in the list.
      • getGuardsSize

        int getGuardsSize()
        Returns the number of elements in the "guards" container
      • addGuardsElement

        void addGuardsElement​(String guard)
        Adds a new element to the list.
      • removeGuardsElement

        void removeGuardsElement​(int index)
        Removes the element at position index from the list.
      • swapGuardsElement

        void swapGuardsElement​(int index1,
                               int index2)
        Swaps elements at positions index1 and index2 in the list.
      • getGuardsElement

        String getGuardsElement​(int index)
        Returns the element at the position index in the list.