Class SysMLProfile.FlowPortStereotype

  • Enclosing class:
    SysMLProfile

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

      Fields 
      Modifier and Type Field Description
      private SysMLProfile _p  
      private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property direction  
      static java.lang.String DIRECTION
      Indicates the direction in which an atomic flow port relays its items.
      private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property isAtomic  
      static java.lang.String ISATOMIC
      This is a derived attribute (derived from the flow port s type).
      static java.lang.String STEREOTYPE_NAME  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void clear()  
      void clearDirection​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      void clearIsAtomic​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      SysMLProfile.FlowDirectionKindEnum getDirection​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getDirectionProperty()  
      com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getIsAtomicProperty()  
      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)  
      java.lang.Boolean isIsAtomic​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      void setDirection​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, SysMLProfile.FlowDirectionKindEnum value)  
      void setIsAtomic​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.lang.Boolean value)  
      • Methods inherited from class java.lang.Object

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

      • DIRECTION

        public static final java.lang.String DIRECTION
        Indicates the direction in which an atomic flow port relays its items. If the direction is set to in, then the items are relayed from an external connector via the flow port into the flow port s owner (or one of its parts). If the direction is set to out, then the items are relayed from the flow port s owner, via the flow port, through an external connector attached to the flow port. If the direction is set to inout, then items can flow both ways. By default, the value is inout.
        See Also:
        Constant Field Values
      • ISATOMIC

        public static final java.lang.String ISATOMIC
        This is a derived attribute (derived from the flow port s type). For a flow port typed by a flow specification the value of this attribute is False, otherwise the value is True.
        See Also:
        Constant Field Values
      • direction

        @CheckForNull
        private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property direction
      • isAtomic

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

      • FlowPortStereotype

        protected FlowPortStereotype​(SysMLProfile profile)
    • Method Detail

      • getStereotype

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

        @CheckForNull
        public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getDirectionProperty()
      • getIsAtomicProperty

        @CheckForNull
        public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getIsAtomicProperty()
      • clearDirection

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

        public void setIsAtomic​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element,
                                @CheckForNull
                                java.lang.Boolean value)
      • clearIsAtomic

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

        @CheckForNull
        public java.lang.Boolean isIsAtomic​(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)