Interface ObjectModelAttribute

    • Method Detail

      • isAggregate

        boolean isAggregate()
        Returns whether this attribute is an aggregate or not.
        Returns:
        true if this attribute is an aggregate or not.
      • isComposite

        boolean isComposite()
        Returns whether this attribute is a composite or not.
        Returns:
        true if this attribute is a composite or not.
      • getVisibility

        String getVisibility()
        Returns the visibility of this attribute. Possible values includes public, protected and private.
        Returns:
        the visibility of this attribute.
      • referenceClassifier

        boolean referenceClassifier()
        Returns whether this attribute reference a model classifier or not.
        Returns:
        a boolean indicating whether this attribute reference a model classifier or not.
      • getClassifier

        ObjectModelClassifier getClassifier()
        Returns the classifier referenced by this attribute or null if it does not reference a model classifier.
        Returns:
        the ObjectModelClassfifier referenced by this attribute or null if it does not reference a model classifier.
      • getReverseAttribute

        ObjectModelAttribute getReverseAttribute()
        Returns the attribute used to reference this class at the other end of the association or null if this is not an association, or if it is not bi-directionnal.
        Returns:
        the ObjectModelAttribute used to reference this class at the other end of the association or null if this is not an association, or if it is not bi-directionnal.
        See Also:
        getClassifier()
      • getReverseAttributeName

        String getReverseAttributeName()
        Return attribute reserver attribute name.
        Returns:
        reverse attribute name or null
      • getReverseMaxMultiplicity

        int getReverseMaxMultiplicity()
        max multiplicity of the reverse attribute
        Returns:
        max multiplicity of the reverse attribute
      • getAssociationClass

        ObjectModelClass getAssociationClass()
        Returns:
        a ObjectModelClass corresponding to the association class associated with this association, or null if there is none.
      • hasAssociationClass

        boolean hasAssociationClass()
        Returns:
        true if this association has an associated association class, ot not.
      • isStatic

        boolean isStatic()
        Description copied from interface: ObjectModelElement
        Return if this element has static declaration, only valid when getDeclaringElement is classifier. Not possible for the moment to have static innerClass (from XMI 1.2 and 2.1).
        Specified by:
        isStatic in interface ObjectModelElement
        Returns:
        true if this attribute is static or not.
      • isFinal

        boolean isFinal()
        Returns:
        true if this attribute is final or not.
      • isTransient

        boolean isTransient()
        Returns:
        true if this attribute is transient.
      • isNavigable

        boolean isNavigable()
        Returns:
        true if this attribute is navigable.