Interface IAttributeAccess

    • Method Detail

      • getAttributesCount

        int getAttributesCount()
        Returns the number of (declared) attributes.
        Returns:
        the number of attributes
      • getAttribute

        Attribute getAttribute​(java.lang.String name)
        Returns a specific (declared) attribute.
        Parameters:
        name - the name of the attribute
        Returns:
        the attribute (or null if not found)
      • getAttribute

        Attribute getAttribute​(int index)
        Returns a specific attribute.
        Parameters:
        index - the index of the attribute
        Returns:
        the attribute
        Throws:
        java.lang.IndexOutOfBoundsException - if index<0 || index>=getAttributesCount()
      • getParent

        IModelElement getParent()
        Returns the parent model element.
        Returns:
        the parent model element (may be null)