Class SysMLProfile.TriggerOnNestedPortStereotype

  • Enclosing class:
    SysMLProfile

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

      Fields 
      Modifier and Type Field Description
      private SysMLProfile _p  
      private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property onNestedPort  
      static java.lang.String ONNESTEDPORT  
      static java.lang.String PROPERTYPATH
      The propertyPath list of the NestedConnectorEnd stereotype must identify a path of containing properties that identify the connected property in the context of the block that owns the connector.
      static java.lang.String STEREOTYPE_NAME  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addOnNestedPort​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)  
      void addPropertyPath​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)  
      protected void clear()  
      void clearOnNestedPort​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      void clearPropertyPath​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getOnNestedPort​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getOnNestedPortProperty()  
      java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getPropertyPath​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getPropertyPathProperty()  
      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 removeOnNestedPort​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)  
      void removePropertyPath​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)  
      void setOnNestedPort​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> value)  
      void setPropertyPath​(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

      • PROPERTYPATH

        public static final java.lang.String PROPERTYPATH
        The propertyPath list of the NestedConnectorEnd stereotype must identify a path of containing properties that identify the connected property in the context of the block that owns the connector. The ordering of properties is from a property of the block that owns the connector, through a property of each intermediate block that types the preceding property, until a property is reached that contains a connector end property within its type. The connector end property is not included in the propertyPath list, but instead is held by the role property of the UML ConnectorEnd metaclass.
        See Also:
        Constant Field Values
      • onNestedPort

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

      • TriggerOnNestedPortStereotype

        protected TriggerOnNestedPortStereotype​(SysMLProfile profile)
    • Method Detail

      • getStereotype

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

        @CheckForNull
        public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getOnNestedPortProperty()
      • getPropertyPathProperty

        @CheckForNull
        public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getPropertyPathProperty()
      • setOnNestedPort

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

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

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

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

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

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

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

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

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

        public java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getPropertyPath​(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)