public static class SysMLProfile.AllocatedStereotype extends ProfileImplementation.StereotypeWrapper
| Modifier and Type | Field and 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 |
| Modifier | Constructor and Description |
|---|---|
protected |
AllocatedStereotype(SysMLProfile profile) |
| Modifier and Type | Method and 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)
Checks if stereotype of this wrapper is applied to given 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) |
apply, unApplygetElement, getElementByNamepublic static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String ALLOCATEDFROM
public static final java.lang.String ALLOCATEDTO
protected AllocatedStereotype(SysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrappergetStereotype in class ProfileImplementation.StereotypeWrapper@CheckForNull public Property getAllocatedFromProperty()
@CheckForNull public Property getAllocatedToProperty()
public void setAllocatedFrom(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearAllocatedFrom(Element element)
public void setAllocatedTo(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearAllocatedTo(Element element)
protected void clear()
clear in class ProfileImplementation.ProfileElementWrapper<Stereotype>public boolean is(@CheckForNull
Element element)
ProfileImplementation.StereotypeWrapperis in class ProfileImplementation.StereotypeWrapperelement - elementpublic static boolean isInstance(@CheckForNull
Element element)