Class ObjectModelAttributeImpl

    • Constructor Detail

      • ObjectModelAttributeImpl

        public ObjectModelAttributeImpl()
    • Method Detail

      • setReverseAttributeName

        public void setReverseAttributeName​(String reverseAttributeName)
      • setAssociationType

        public void setAssociationType​(String associationType)
      • setReverseMaxMultiplicity

        public void setReverseMaxMultiplicity​(int reverseMaxMultiplicity)
      • setVisibility

        public void setVisibility​(String visibility)
      • setFinal

        public void setFinal​(boolean isFinal)
      • setTransient

        public void setTransient​(boolean isTransient)
      • setNavigable

        public void setNavigable​(boolean navigable)
      • isAggregate

        public boolean isAggregate()
        Returns whether this attribute is an aggregate or not.
        Specified by:
        isAggregate in interface ObjectModelAttribute
        Returns:
        a boolean indicating whether this attribute is an aggregate or not.
      • isComposite

        public boolean isComposite()
        Returns whether this attribute is an composite or not.
        Specified by:
        isComposite in interface ObjectModelAttribute
        Returns:
        a boolean indicating whether this attribute is an composite or not.
      • getVisibility

        public String getVisibility()
        Description copied from interface: ObjectModelAttribute
        Returns the visibility of this attribute. Possible values includes public, protected and private.
        Specified by:
        getVisibility in interface ObjectModelAttribute
        Returns:
        the visibility of this attribute.
      • setAssociationClassName

        public void setAssociationClassName​(String associationClassName)
      • referenceClassifier

        public boolean referenceClassifier()
        Returns whether this attribute reference a model classifier or not.
        Specified by:
        referenceClassifier in interface ObjectModelAttribute
        Returns:
        a boolean indicating whether this attribute reference a model classifier or not.
      • getClassifier

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

        public 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. @ see #getClassifier()
        Specified by:
        getReverseAttribute in interface ObjectModelAttribute
        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:
        ObjectModelAttribute.getClassifier()
      • getAssociationClass

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

        public boolean hasAssociationClass()
        Returns whether this association has an associated association class, ot not.
        Specified by:
        hasAssociationClass in interface ObjectModelAttribute
        Returns:
        a boolean indicating whether this association has an associated association class, ot not.
      • isFinal

        public boolean isFinal()
        Returns whether this attribute is final or not.
        Specified by:
        isFinal in interface ObjectModelAttribute
        Returns:
        a boolean indicating whether this attribute is final or not.