Package com.nomagic.uml2
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringList of different types of criteria how to gather dependent elements: Simple (UML Relation, Property or Tag); Meta Chain, OCL and Binary.static final StringIf True, property is read only without ability to create target element.static final Stringstatic final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExpression(Element element, Object value) protected voidclear()voidclearExpression(Element element) voidclearIsReadOnly(Element element) voidclearValueSetter(Element element) getExpression(Element element) Returns stereotype for this wrapper.getValueSetter(Element element) booleanstatic booleanisInstance(Element element) isIsReadOnly(Element element) voidremoveExpression(Element element, Object value) voidsetExpression(Element element, Collection<Object> value) voidsetIsReadOnly(Element element, Boolean value) voidsetValueSetter(Element element, String value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
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
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
- See Also:
-
-
Constructor Details
-
DerivedPropertySpecificationStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getExpressionProperty
-
getIsReadOnlyProperty
-
getValueSetterProperty
-
setExpression
-
clearExpression
-
addExpression
-
removeExpression
-
getExpression
-
setIsReadOnly
-
clearIsReadOnly
-
isIsReadOnly
-
setValueSetter
-
clearValueSetter
-
getValueSetter
-
clear
protected void clear() -
is
-
isInstance
-