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 final String
    Constant property name for "guards" for internal storage and queries.
    static final String
    Constant property name for "id" for internal storage and queries.
    static final String
    Constant property name for "key" for internal storage and queries.
    static final String
    Constant property name for "name" for internal storage and queries.
    static final String
    Constant property name for "subattributes" for internal storage and queries.
    static final String
    Constant property name for "value" for internal storage and queries.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a new element to the list.
    void
    Adds a new element to the list.
    Returns the value of the guards attribute.
    getGuardsElement(int index)
    Returns the element at the position index in the list.
    int
    Returns the number of elements in the "guards" container
    Returns the value of the key attribute.
    Returns the value of the name attribute.
    Returns the value of the subattributes attribute.
    Returns the element at the position index in the list.
    int
    Returns the number of elements in the "subattributes" container
    Returns the value of the value attribute.
    void
    Removes the element at position index from the list.
    void
    Removes the element at position index from the list.
    void
    Sets the value of the guards attribute.
    void
    setKey(String value)
    Sets the value of the key attribute.
    void
    setName(String value)
    Sets the value of the name attribute.
    void
    Sets the value of the subattributes attribute.
    void
    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 Details

    • PROP_ID

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

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

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

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

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

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

    • 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.