Class MagicDrawProfile.DerivedPropertySpecificationStereotype

java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.uml2.MagicDrawProfile.DerivedPropertySpecificationStereotype
Enclosing class:
MagicDrawProfile

public static class MagicDrawProfile.DerivedPropertySpecificationStereotype extends ProfileImplementation.StereotypeWrapper
  • Field Details

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • EXPRESSION

      public static final String EXPRESSION
      List of different types of criteria how to gather dependent elements: Simple (UML Relation, Property or Tag); Meta Chain, OCL and Binary. If several criterion are defined results is union of all of them.

      Expression can be used in Derived Property Specification, Dependency Matrix, Dependency Map.

      See Also:
    • ISREADONLY

      public static final String ISREADONLY
      If True, property is read only without ability to create target element. If False Property is read / write with ability to create value according to defined expressions.
      See Also:
    • VALUESETTER

      public static final String VALUESETTER
      See Also:
  • Constructor Details

    • DerivedPropertySpecificationStereotype

      protected DerivedPropertySpecificationStereotype(MagicDrawProfile profile)
  • Method Details

    • getStereotype

      public Stereotype getStereotype()
      Description copied from class: ProfileImplementation.StereotypeWrapper
      Returns stereotype for this wrapper.
      Specified by:
      getStereotype in class ProfileImplementation.StereotypeWrapper
      Returns:
      stereotype
    • getExpressionProperty

      @CheckForNull public Property getExpressionProperty()
    • getIsReadOnlyProperty

      @CheckForNull public Property getIsReadOnlyProperty()
    • getValueSetterProperty

      @CheckForNull public Property getValueSetterProperty()
    • setExpression

      public void setExpression(Element element, @CheckForNull Collection<Object> value)
    • clearExpression

      public void clearExpression(Element element)
    • addExpression

      public void addExpression(Element element, Object value)
    • removeExpression

      public void removeExpression(Element element, Object value)
    • getExpression

      public List<Object> getExpression(Element element)
    • setIsReadOnly

      public void setIsReadOnly(Element element, @CheckForNull Boolean value)
    • clearIsReadOnly

      public void clearIsReadOnly(Element element)
    • isIsReadOnly

      @CheckForNull public Boolean isIsReadOnly(Element element)
    • setValueSetter

      public void setValueSetter(Element element, @CheckForNull String value)
    • clearValueSetter

      public void clearValueSetter(Element element)
    • getValueSetter

      @CheckForNull public String getValueSetter(Element element)
    • clear

      protected void clear()
    • is

      public boolean is(@CheckForNull Element element)
    • isInstance

      public static boolean isInstance(@CheckForNull Element element)