Interface IAttributableElement

All Superinterfaces:
IAttributeAccess
All Known Implementing Classes:
ConstantDecisionVariableDeclaration, DecisionVariableDeclaration, ExplicitTypeVariableDeclaration, Project, ProjectDecisionVariableDeclaration

public interface IAttributableElement extends IAttributeAccess
Interface to mark attributable elements. Classes implementing this interface shall consider the implementation of IModelElement.propagateAttribute(Attribute).
Author:
Marcel Lueder, Holger Eichelberger
  • Method Details

    • getName

      String getName()
      Method to get the name of the element.
      Returns:
      name of the element
    • getQualifiedName

      String getQualifiedName()
      Returns the qualified name of this element.
      Returns:
      the qualified name
    • attribute

      boolean attribute(Attribute attribute)
      Attributes this element.
      Parameters:
      attribute - the attribute to be added
      Returns:
      true if the operation was successful, false if the element is about being attributed multiple times with the same attribute