Interface Port

    • Method Detail

      • isBehavior

        boolean isBehavior()
        Returns the value of the 'Behavior' attribute. The default value is "false". Specifies whether requests arriving at this Port are sent to the classifier behavior of this EncapsulatedClassifier. Such a Port is referred to as a behavior Port. Any invocation of a BehavioralFeature targeted at a behavior Port will be handled by the instance of the owning EncapsulatedClassifier itself, rather than by any instances that it may contain.
        Returns:
        the value of the 'Behavior' attribute.
        See Also:
        setBehavior(boolean), com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getPort_Behavior()
        Model:
        default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
        Generated:
      • setBehavior

        void setBehavior​(boolean value)
        Sets the value of the 'Behavior' attribute.
        Parameters:
        value - the new value of the 'Behavior' attribute.
        See Also:
        isBehavior()
        Generated:
      • isConjugated

        boolean isConjugated()
        Returns the value of the 'Conjugated' attribute. The default value is "false". Specifies the way that the provided and required Interfaces are derived from the Port’s Type.
        Returns:
        the value of the 'Conjugated' attribute.
        See Also:
        setConjugated(boolean), com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getPort_Conjugated()
        Model:
        default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
        Generated:
      • setConjugated

        void setConjugated​(boolean value)
        Sets the value of the 'Conjugated' attribute.
        Parameters:
        value - the new value of the 'Conjugated' attribute.
        See Also:
        isConjugated()
        Generated:
      • isService

        boolean isService()
        Returns the value of the 'Service' attribute. The default value is "true". If true, indicates that this Port is used to provide the published functionality of an EncapsulatedClassifier. If false, this Port is used to implement the EncapsulatedClassifier but is not part of the essential externally-visible functionality of the EncapsulatedClassifier and can, therefore, be altered or deleted along with the internal implementation of the EncapsulatedClassifier and other properties that are considered part of its implementation.
        Returns:
        the value of the 'Service' attribute.
        See Also:
        setService(boolean), com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getPort_Service()
        Model:
        default="true" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
        Generated:
      • setService

        void setService​(boolean value)
        Sets the value of the 'Service' attribute.
        Parameters:
        value - the new value of the 'Service' attribute.
        See Also:
        isService()
        Generated:
      • getRequired

        java.util.Collection<Interface> getRequired()
        Returns the value of the 'Required' reference list. The list contents are of type Interface. It is bidirectional and its opposite is 'port Of Required'. The Interfaces specifying the set of Operations and Receptions that the EncapsulatedCassifier expects its environment to handle via this port. This association is derived according to the value of isConjugated. If isConjugated is false, required is derived as the union of the sets of Interfaces used by the type of the Port and its supertypes. If isConjugated is true, it is derived as the union of the sets of Interfaces realized by the type of the Port and its supertypes, or directly from the type of the Port if the Port is typed by an Interface.
        Returns:
        the value of the 'Required' reference list.
        See Also:
        UMLPackage.getPort_Required(), com.nomagic.uml2.ext.magicdraw.classes.mdinterfaces.Interface#get_portOfRequired
        Model:
        opposite="_portOfRequired" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
        Generated:
      • get_invocationActionOfOnPort

        java.util.Collection<InvocationAction> get_invocationActionOfOnPort()
        Returns the value of the 'invocation Action Of On Port' reference list. The list contents are of type InvocationAction. It is bidirectional and its opposite is 'On Port'.

        If the meaning of the 'invocation Action Of On Port' reference list isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'invocation Action Of On Port' reference list.
        See Also:
        UMLPackage.getPort__invocationActionOfOnPort(), InvocationAction.getOnPort()
        Model:
        opposite="onPort" ordered="false"
        Generated:
      • setProtocol

        void setProtocol​(@CheckForNull
                         ProtocolStateMachine value)
        Sets the value of the 'Protocol' reference.
        Parameters:
        value - the new value of the 'Protocol' reference.
        See Also:
        getProtocol()
        Generated:
      • getProvided

        java.util.Collection<Interface> getProvided()
        Returns the value of the 'Provided' reference list. The list contents are of type Interface. It is bidirectional and its opposite is 'port Of Provided'. The Interfaces specifying the set of Operations and Receptions that the EncapsulatedCclassifier offers to its environment via this Port, and which it will handle either directly or by forwarding it to a part of its internal structure. This association is derived according to the value of isConjugated. If isConjugated is false, provided is derived as the union of the sets of Interfaces realized by the type of the port and its supertypes, or directly from the type of the Port if the Port is typed by an Interface. If isConjugated is true, it is derived as the union of the sets of Interfaces used by the type of the Port and its supertypes.
        Returns:
        the value of the 'Provided' reference list.
        See Also:
        UMLPackage.getPort_Provided(), com.nomagic.uml2.ext.magicdraw.classes.mdinterfaces.Interface#get_portOfProvided
        Model:
        opposite="_portOfProvided" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
        Generated:
      • getRedefinedPort

        java.util.Collection<Port> getRedefinedPort()
        Returns the value of the 'Redefined Port' reference list. The list contents are of type Port. It is bidirectional and its opposite is 'port Of Redefined Port'. A Port may be redefined when its containing EncapsulatedClassifier is specialized. The redefining Port may have additional Interfaces to those that are associated with the redefined Port or it may replace an Interface by one of its subtypes.
        Returns:
        the value of the 'Redefined Port' reference list.
        See Also:
        UMLPackage.getPort_RedefinedPort(), get_portOfRedefinedPort()
        Model:
        opposite="_portOfRedefinedPort" ordered="false"
        Generated:
      • get_portOfRedefinedPort

        java.util.Collection<Port> get_portOfRedefinedPort()
        Returns the value of the 'port Of Redefined Port' reference list. The list contents are of type Port. It is bidirectional and its opposite is 'Redefined Port'.

        If the meaning of the 'port Of Redefined Port' reference list isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'port Of Redefined Port' reference list.
        See Also:
        UMLPackage.getPort__portOfRedefinedPort(), getRedefinedPort()
        Model:
        opposite="redefinedPort" ordered="false"
        Generated:
      • get_triggerOfPort

        java.util.Collection<Trigger> get_triggerOfPort()
        Returns the value of the 'trigger Of Port' reference list. The list contents are of type Trigger. It is bidirectional and its opposite is 'Port'.

        If the meaning of the 'trigger Of Port' reference list isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'trigger Of Port' reference list.
        See Also:
        UMLPackage.getPort__triggerOfPort(), Trigger.getPort()
        Model:
        opposite="port" ordered="false"
        Generated:
      • hasRequired

        boolean hasRequired()
                     throws javax.jmi.reflect.JmiException
        Throws:
        javax.jmi.reflect.JmiException
        Generated:
      • has_invocationActionOfOnPort

        boolean has_invocationActionOfOnPort()
                                      throws javax.jmi.reflect.JmiException
        Throws:
        javax.jmi.reflect.JmiException
        Generated:
      • hasProvided

        boolean hasProvided()
                     throws javax.jmi.reflect.JmiException
        Throws:
        javax.jmi.reflect.JmiException
        Generated:
      • hasRedefinedPort

        boolean hasRedefinedPort()
                          throws javax.jmi.reflect.JmiException
        Throws:
        javax.jmi.reflect.JmiException
        Generated:
      • has_portOfRedefinedPort

        boolean has_portOfRedefinedPort()
                                 throws javax.jmi.reflect.JmiException
        Throws:
        javax.jmi.reflect.JmiException
        Generated:
      • has_triggerOfPort

        boolean has_triggerOfPort()
                           throws javax.jmi.reflect.JmiException
        Throws:
        javax.jmi.reflect.JmiException
        Generated: