Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.ElementGroupStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.sysml.util.SysMLProfile.ElementGroupStereotype
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.ElementGroupStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Specifies the rationale for being member of the group.static final String
Set specifying the members of the group.static final String
static final String
Organize member according to an arbitrary order.static final String
Number of members in the group.static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addOrderedMember
(Element element, Element value) protected void
clear()
void
clearCriterion
(Element element) void
clearMember
(Element element) void
void
clearOrderedMember
(Element element) void
getCriterion
(Element element) getOrderedMember
(Element element) Returns stereotype for this wrapper.boolean
static boolean
isInstance
(Element element) void
removeMember
(Element element, Element value) void
removeOrderedMember
(Element element, Element value) void
setCriterion
(Element element, String value) void
setMember
(Element element, Collection<? extends Element> value) void
void
setOrderedMember
(Element element, Collection<? extends Element> value) void
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
CRITERION
Specifies the rationale for being member of the group. Adding an element to the group asserts that the criterion applies to this element. Derived from Comment::body.- See Also:
-
MEMBER
Set specifying the members of the group. Derived from Comment::annotatedElement.- See Also:
-
NAME
- See Also:
-
ORDEREDMEMBER
Organize member according to an arbitrary order. Optional.- See Also:
-
SIZE
Number of members in the group. Derived.- See Also:
-
-
Constructor Details
-
ElementGroupStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getCriterionProperty
-
getMemberProperty
-
getNameProperty
-
getOrderedMemberProperty
-
getSizeProperty
-
setCriterion
-
clearCriterion
-
getCriterion
-
setMember
-
clearMember
-
addMember
-
removeMember
-
getMember
-
setName
-
clearName
-
getName
-
setOrderedMember
-
clearOrderedMember
-
addOrderedMember
-
removeOrderedMember
-
getOrderedMember
-
setSize
-
clearSize
-
getSize
-
clear
protected void clear() -
is
-
isInstance
-