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.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).static 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).static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
AllocatedStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllocatedFrom(Element element, Element value)
void
addAllocatedTo(Element element, Element value)
protected void
clear()
void
clearAllocatedFrom(Element element)
void
clearAllocatedTo(Element element)
java.util.List<Element>
getAllocatedFrom(Element element)
Property
getAllocatedFromProperty()
java.util.List<Element>
getAllocatedTo(Element element)
Property
getAllocatedToProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
removeAllocatedFrom(Element element, Element value)
void
removeAllocatedTo(Element element, Element value)
void
setAllocatedFrom(Element element, java.util.Collection<? extends Element> value)
void
setAllocatedTo(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.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in 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)
-
-