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
Modifier and TypeFieldDescriptionstatic final String
List of different types of criteria how to gather dependent elements: Simple (UML Relation, Property or Tag); Meta Chain, OCL and Binary.static final String
If True, property is read only without ability to create target element.static final String
static final String
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExpression
(Element element, Object value) protected void
clear()
void
clearExpression
(Element element) void
clearIsReadOnly
(Element element) void
clearValueSetter
(Element element) getExpression
(Element element) Returns stereotype for this wrapper.getValueSetter
(Element element) boolean
static boolean
isInstance
(Element element) isIsReadOnly
(Element element) void
removeExpression
(Element element, Object value) void
setExpression
(Element element, Collection<Object> value) void
setIsReadOnly
(Element element, Boolean value) void
setValueSetter
(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.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getExpressionProperty
-
getIsReadOnlyProperty
-
getValueSetterProperty
-
setExpression
-
clearExpression
-
addExpression
-
removeExpression
-
getExpression
-
setIsReadOnly
-
clearIsReadOnly
-
isIsReadOnly
-
setValueSetter
-
clearValueSetter
-
getValueSetter
-
clear
protected void clear() -
is
-
isInstance
-