Interface Attribute

  • All Superinterfaces:
    java.lang.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 java.lang.String PROP_GUARDS
      Constant property name for "guards" for internal storage and queries.
      static java.lang.String PROP_ID
      Constant property name for "id" for internal storage and queries.
      static java.lang.String PROP_KEY
      Constant property name for "key" for internal storage and queries.
      static java.lang.String PROP_NAME
      Constant property name for "name" for internal storage and queries.
      static java.lang.String PROP_SUBATTRIBUTES
      Constant property name for "subattributes" for internal storage and queries.
      static java.lang.String PROP_VALUE
      Constant property name for "value" for internal storage and queries.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addGuardsElement​(java.lang.String guard)
      Adds a new element to the list.
      void addSubattributesElement​(java.lang.String type)
      Adds a new element to the list.
      java.util.List<java.lang.String> getGuards()
      Returns the value of the guards attribute.
      java.lang.String getGuardsElement​(int index)
      Returns the element at the position index in the list.
      int getGuardsSize()
      Returns the number of elements in the "guards" container
      java.lang.String getKey()
      Returns the value of the key attribute.
      java.lang.String getName()
      Returns the value of the name attribute.
      java.util.List<java.lang.String> getSubattributes()
      Returns the value of the subattributes attribute.
      java.lang.String getSubattributesElement​(int index)
      Returns the element at the position index in the list.
      int getSubattributesSize()
      Returns the number of elements in the "subattributes" container
      java.lang.String getValue()
      Returns the value of the value attribute.
      void removeGuardsElement​(int index)
      Removes the element at position index from the list.
      void removeSubattributesElement​(int index)
      Removes the element at position index from the list.
      void setGuards​(java.util.List<java.lang.String> value)
      Sets the value of the guards attribute.
      void setKey​(java.lang.String value)
      Sets the value of the key attribute.
      void setName​(java.lang.String value)
      Sets the value of the name attribute.
      void setSubattributes​(java.util.List<java.lang.String> value)
      Sets the value of the subattributes attribute.
      void setValue​(java.lang.String value)
      Sets the value of the value attribute.
      void swapGuardsElement​(int index1, int index2)
      Swaps elements at positions index1 and index2 in the list.
      void swapSubattributesElement​(int index1, int index2)
      Swaps elements at positions index1 and index2 in the list.
      • Methods inherited from interface net.anotheria.asg.data.DataObject

        clone, getDefinedName, getDefinedParentName, getFootprint, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
      • Methods inherited from interface net.anotheria.util.sorter.IComparable

        compareTo
    • Field Detail

      • PROP_ID

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

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

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

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

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

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

      • getName

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

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

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

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

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

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

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

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

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

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

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

        void addSubattributesElement​(java.lang.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

        java.lang.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​(java.lang.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

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