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
Modifier and TypeFieldDescriptionstatic final String
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).static final String
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).static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAllocatedFrom
(Element element, Element value) void
addAllocatedTo
(Element element, Element value) protected void
clear()
void
clearAllocatedFrom
(Element element) void
clearAllocatedTo
(Element element) getAllocatedFrom
(Element element) getAllocatedTo
(Element element) Returns stereotype for this wrapper.boolean
static boolean
isInstance
(Element element) void
removeAllocatedFrom
(Element element, Element value) void
removeAllocatedTo
(Element element, Element value) void
setAllocatedFrom
(Element element, Collection<? extends Element> value) void
setAllocatedTo
(Element element, Collection<? extends Element> value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
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:
-
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:
-
-
Constructor Details
-
AllocatedStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getAllocatedFromProperty
-
getAllocatedToProperty
-
setAllocatedFrom
-
clearAllocatedFrom
-
addAllocatedFrom
-
removeAllocatedFrom
-
getAllocatedFrom
-
setAllocatedTo
-
clearAllocatedTo
-
addAllocatedTo
-
removeAllocatedTo
-
getAllocatedTo
-
clear
protected void clear() -
is
-
isInstance
-