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
Fields Modifier and Type Field Description static java.lang.String
CRITERION
Specifies the rationale for being member of the group.static java.lang.String
MEMBER
Set specifying the members of the group.static java.lang.String
NAME
static java.lang.String
ORDEREDMEMBER
Organize member according to an arbitrary order.static java.lang.String
SIZE
Number of members in the group.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ElementGroupStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMember(Element element, Element value)
void
addOrderedMember(Element element, Element value)
protected void
clear()
void
clearCriterion(Element element)
void
clearMember(Element element)
void
clearName(Element element)
void
clearOrderedMember(Element element)
void
clearSize(Element element)
java.lang.String
getCriterion(Element element)
Property
getCriterionProperty()
java.util.List<Element>
getMember(Element element)
Property
getMemberProperty()
java.lang.String
getName(Element element)
Property
getNameProperty()
java.util.List<Element>
getOrderedMember(Element element)
Property
getOrderedMemberProperty()
java.lang.Integer
getSize(Element element)
Property
getSizeProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
removeMember(Element element, Element value)
void
removeOrderedMember(Element element, Element value)
void
setCriterion(Element element, java.lang.String value)
void
setMember(Element element, java.util.Collection<? extends Element> value)
void
setName(Element element, java.lang.String value)
void
setOrderedMember(Element element, java.util.Collection<? extends Element> value)
void
setSize(Element element, java.lang.Integer value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
CRITERION
public static final java.lang.String 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:
- Constant Field Values
-
MEMBER
public static final java.lang.String MEMBER
Set specifying the members of the group. Derived from Comment::annotatedElement.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
ORDEREDMEMBER
public static final java.lang.String ORDEREDMEMBER
Organize member according to an arbitrary order. Optional.- See Also:
- Constant Field Values
-
SIZE
public static final java.lang.String SIZE
Number of members in the group. Derived.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ElementGroupStereotype
protected ElementGroupStereotype(SysMLProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getCriterionProperty
@CheckForNull public Property getCriterionProperty()
-
getMemberProperty
@CheckForNull public Property getMemberProperty()
-
getNameProperty
@CheckForNull public Property getNameProperty()
-
getOrderedMemberProperty
@CheckForNull public Property getOrderedMemberProperty()
-
getSizeProperty
@CheckForNull public Property getSizeProperty()
-
setCriterion
public void setCriterion(Element element, @CheckForNull java.lang.String value)
-
clearCriterion
public void clearCriterion(Element element)
-
getCriterion
@CheckForNull public java.lang.String getCriterion(Element element)
-
setMember
public void setMember(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearMember
public void clearMember(Element element)
-
setName
public void setName(Element element, @CheckForNull java.lang.String value)
-
clearName
public void clearName(Element element)
-
getName
@CheckForNull public java.lang.String getName(Element element)
-
setOrderedMember
public void setOrderedMember(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearOrderedMember
public void clearOrderedMember(Element element)
-
setSize
public void setSize(Element element, @CheckForNull java.lang.Integer value)
-
clearSize
public void clearSize(Element element)
-
getSize
@CheckForNull public java.lang.Integer getSize(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-