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.StringCRITERIONSpecifies the rationale for being member of the group.static java.lang.StringMEMBERSet specifying the members of the group.static java.lang.StringNAMEstatic java.lang.StringORDEREDMEMBEROrganize member according to an arbitrary order.static java.lang.StringSIZENumber of members in the group.static java.lang.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedElementGroupStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMember(Element element, Element value)voidaddOrderedMember(Element element, Element value)protected voidclear()voidclearCriterion(Element element)voidclearMember(Element element)voidclearName(Element element)voidclearOrderedMember(Element element)voidclearSize(Element element)java.lang.StringgetCriterion(Element element)PropertygetCriterionProperty()java.util.List<Element>getMember(Element element)PropertygetMemberProperty()java.lang.StringgetName(Element element)PropertygetNameProperty()java.util.List<Element>getOrderedMember(Element element)PropertygetOrderedMemberProperty()java.lang.IntegergetSize(Element element)PropertygetSizeProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)static booleanisInstance(Element element)voidremoveMember(Element element, Element value)voidremoveOrderedMember(Element element, Element value)voidsetCriterion(Element element, java.lang.String value)voidsetMember(Element element, java.util.Collection<? extends Element> value)voidsetName(Element element, java.lang.String value)voidsetOrderedMember(Element element, java.util.Collection<? extends Element> value)voidsetSize(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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein 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)
-
-