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 Details

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • ALLOCATEDFROM

      public static final 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:
    • ALLOCATEDTO

      public static final 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:
  • Constructor Details

    • AllocatedStereotype

      protected AllocatedStereotype(SysMLProfile profile)
  • Method Details

    • getStereotype

      public Stereotype getStereotype()
      Description copied from class: ProfileImplementation.StereotypeWrapper
      Returns stereotype for this wrapper.
      Specified by:
      getStereotype in class ProfileImplementation.StereotypeWrapper
      Returns:
      stereotype
    • getAllocatedFromProperty

      @CheckForNull public Property getAllocatedFromProperty()
    • getAllocatedToProperty

      @CheckForNull public Property getAllocatedToProperty()
    • setAllocatedFrom

      public void setAllocatedFrom(Element element, @CheckForNull Collection<? extends Element> value)
    • clearAllocatedFrom

      public void clearAllocatedFrom(Element element)
    • addAllocatedFrom

      public void addAllocatedFrom(Element element, Element value)
    • removeAllocatedFrom

      public void removeAllocatedFrom(Element element, Element value)
    • getAllocatedFrom

      public List<Element> getAllocatedFrom(Element element)
    • setAllocatedTo

      public void setAllocatedTo(Element element, @CheckForNull Collection<? extends Element> value)
    • clearAllocatedTo

      public void clearAllocatedTo(Element element)
    • addAllocatedTo

      public void addAllocatedTo(Element element, Element value)
    • removeAllocatedTo

      public void removeAllocatedTo(Element element, Element value)
    • getAllocatedTo

      public List<Element> getAllocatedTo(Element element)
    • clear

      protected void clear()
    • is

      public boolean is(@CheckForNull Element element)
    • isInstance

      public static boolean isInstance(@CheckForNull Element element)