Class SysMLProfile.AllocatedStereotype

  • Enclosing class:
    SysMLProfile

    public static class SysMLProfile.AllocatedStereotype
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private SysMLProfile _p  
      private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property allocatedFrom  
      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).
      private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property allocatedTo  
      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  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addAllocatedFrom​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)  
      void addAllocatedTo​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)  
      protected void clear()  
      void clearAllocatedFrom​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      void clearAllocatedTo​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getAllocatedFrom​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getAllocatedFromProperty()  
      java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getAllocatedTo​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getAllocatedToProperty()  
      com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype getStereotype()  
      boolean is​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      static boolean isInstance​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      void removeAllocatedFrom​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)  
      void removeAllocatedTo​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)  
      void setAllocatedFrom​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> value)  
      void setAllocatedTo​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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
      • allocatedFrom

        @CheckForNull
        private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property allocatedFrom
      • allocatedTo

        @CheckForNull
        private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property allocatedTo
    • Constructor Detail

      • AllocatedStereotype

        protected AllocatedStereotype​(SysMLProfile profile)
    • Method Detail

      • getStereotype

        public com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype getStereotype()
      • getAllocatedFromProperty

        @CheckForNull
        public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getAllocatedFromProperty()
      • getAllocatedToProperty

        @CheckForNull
        public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getAllocatedToProperty()
      • setAllocatedFrom

        public void setAllocatedFrom​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element,
                                     @CheckForNull
                                     java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> value)
      • clearAllocatedFrom

        public void clearAllocatedFrom​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
      • addAllocatedFrom

        public void addAllocatedFrom​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element,
                                     com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
      • removeAllocatedFrom

        public void removeAllocatedFrom​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element,
                                        com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
      • getAllocatedFrom

        public java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getAllocatedFrom​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
      • setAllocatedTo

        public void setAllocatedTo​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element,
                                   @CheckForNull
                                   java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> value)
      • clearAllocatedTo

        public void clearAllocatedTo​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
      • addAllocatedTo

        public void addAllocatedTo​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element,
                                   com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
      • removeAllocatedTo

        public void removeAllocatedTo​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element,
                                      com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
      • getAllocatedTo

        public java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getAllocatedTo​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
      • clear

        protected void clear()
      • is

        public boolean is​(@CheckForNull
                          com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
      • isInstance

        public static boolean isInstance​(@CheckForNull
                                         com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)