Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.AllocatedStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.AllocatedStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.AllocatedStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringALLOCATEDFROMReverse of allocatedTo: the element types and names of the set of elements that are clients (from) of an allocate whose supplier is extended by this stereotype (instance).static java.lang.StringALLOCATEDTOThe element types and names of the set of elements that are suppliers ( to end of the concrete syntax) of an allocate whose client is extended by this stereotype (instance).static java.lang.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedAllocatedStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAllocatedFrom(Element element, Element value)voidaddAllocatedTo(Element element, Element value)protected voidclear()voidclearAllocatedFrom(Element element)voidclearAllocatedTo(Element element)java.util.List<Element>getAllocatedFrom(Element element)PropertygetAllocatedFromProperty()java.util.List<Element>getAllocatedTo(Element element)PropertygetAllocatedToProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)static booleanisInstance(Element element)voidremoveAllocatedFrom(Element element, Element value)voidremoveAllocatedTo(Element element, Element value)voidsetAllocatedFrom(Element element, java.util.Collection<? extends Element> value)voidsetAllocatedTo(Element element, java.util.Collection<? extends Element> 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
-
ALLOCATEDFROM
public static final java.lang.String ALLOCATEDFROM
Reverse of allocatedTo: the element types and names of the set of elements that are clients (from) of an allocate whose supplier is extended by this stereotype (instance). The same characteristics apply as to /allocatedTo. Each allocatedFrom property will be expressed as elementType ElementName.- See Also:
- Constant Field Values
-
ALLOCATEDTO
public static final java.lang.String ALLOCATEDTO
The element types and names of the set of elements that are suppliers ( to end of the concrete syntax) of an allocate whose client is extended by this stereotype (instance). This property is the union of all suppliers to which this instance is the client, i.e., there may be more than one /allocatedTo property per allocated model element. Each allocatedTo property will be expressed as elementType ElementName.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AllocatedStereotype
protected AllocatedStereotype(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
-
getAllocatedFromProperty
@CheckForNull public Property getAllocatedFromProperty()
-
getAllocatedToProperty
@CheckForNull public Property getAllocatedToProperty()
-
setAllocatedFrom
public void setAllocatedFrom(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearAllocatedFrom
public void clearAllocatedFrom(Element element)
-
setAllocatedTo
public void setAllocatedTo(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearAllocatedTo
public void clearAllocatedTo(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-