Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.ViewStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.ViewStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.ViewStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private SysMLProfile_pprivate Propertystakeholderstatic java.lang.StringSTAKEHOLDERstatic java.lang.StringSTEREOTYPE_NAMEprivate PropertyviewPointstatic java.lang.StringVIEWPOINTThe viewpoint for this View, derived from the supplier of the conform dependency whose client is this View.
-
Constructor Summary
Constructors Modifier Constructor Description protectedViewStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStakeholder(Element element, Element value)protected voidclear()voidclearStakeholder(Element element)voidclearViewPoint(Element element)java.util.List<Element>getStakeholder(Element element)PropertygetStakeholderProperty()StereotypegetStereotype()Returns stereotype for this wrapper.ElementgetViewPoint(Element element)PropertygetViewPointProperty()booleanis(Element element)static booleanisInstance(Element element)voidremoveStakeholder(Element element, Element value)voidsetStakeholder(Element element, java.util.Collection<? extends Element> value)voidsetViewPoint(Element element, Element value)-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
STAKEHOLDER
public static final java.lang.String STAKEHOLDER
- See Also:
- Constant Field Values
-
VIEWPOINT
public static final java.lang.String VIEWPOINT
The viewpoint for this View, derived from the supplier of the conform dependency whose client is this View.- See Also:
- Constant Field Values
-
_p
private final SysMLProfile _p
-
stakeholder
@CheckForNull private Property stakeholder
-
viewPoint
@CheckForNull private Property viewPoint
-
-
Constructor Detail
-
ViewStereotype
protected ViewStereotype(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
-
getStakeholderProperty
@CheckForNull public Property getStakeholderProperty()
-
getViewPointProperty
@CheckForNull public Property getViewPointProperty()
-
setStakeholder
public void setStakeholder(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearStakeholder
public void clearStakeholder(Element element)
-
clearViewPoint
public void clearViewPoint(Element element)
-
clear
protected void clear()
- Overrides:
clearin classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-