Interface ANPin

    • Method Detail

      • getCorrespondingPin

        <T extends ANPin> java.util.List<T> getCorrespondingPin​(java.lang.Class<T> returnType,
                                                                ANAction refObj,
                                                                K_CONTASGN kind,
                                                                int mode,
                                                                K_CONTROL_OPTION... behaviourFlags)
                                                         throws InoNetException,
                                                                SrvErrorException
        Searches for an ANPin assigned to argument refObj that corresponds to the source pin. Properties compared are the kind of the pin (input, output), its name and type. If a argument kind is specified, only pins assigned with this kind will be compared. If argument mode is specified, the kind of the corresponding pin must not equal to the ocl of the incoming pin but to the ocl given in the view interface.
        Parameters:
        returnType - Specifies the type of elements to be returned.
        refObj - A further instance of type ANAction which is used to control the behaviour of the method. (see description above)
        kind - A value of type K_CONTASGN that controls the behaviour of the underlying method. (see description)
        mode - A value of type TInteger that controls the behaviour of the underlying method. (see description)
        behaviourFlags - An optional list of enum values to control the behaviour of the command.
        Throws:
        InoNetException
        SrvErrorException
      • getCorrespondingPin

        <T extends ANPin> java.util.List<T> getCorrespondingPin​(java.lang.Class<T> returnType,
                                                                MMStereotype stereotype,
                                                                ANAction refObj,
                                                                K_CONTASGN kind,
                                                                int mode,
                                                                K_CONTROL_OPTION... behaviourFlags)
                                                         throws InoNetException,
                                                                SrvErrorException
        The method calls getCorrespondingPin and filters its return values according to the given stereotype value.
        Parameters:
        returnType - Specifies the type of elements to be returned.
        stereotype - The stereotype used to filter the result list
        refObj - A further instance of type ANAction which is used to control the behaviour of the method. (see description above)
        kind - A value of type K_CONTASGN that controls the behaviour of the underlying method. (see description)
        mode - A value of type TInteger that controls the behaviour of the underlying method. (see description)
        behaviourFlags - An optional list of enum values to control the behaviour of the command.
        Throws:
        InoNetException
        SrvErrorException
      • getParameter

        CLParameter getParameter​(java.lang.Class<? extends ELObject> kind,
                                 int mode)
                          throws InoNetException,
                                 SrvErrorException
        Finds the CLParameter that corresponds to the ANPin. If the pin is named, the parameter equally named will be returned, otherwise the ordering of the pin decides. Normally for an ANInputPin, all parameters with In/In-Out direction and for an ANOutputPin all parameters with Out/In-Out/Return direction will be checked. If e.g. an input pin does not correspond to the input direction of the parameter but to the output direction, it is possible to specify a argument kind 'VOCL_ANOutputPin' which will decide the parameter direction. The parameter is normally searched for by name and type. To suppress the type test, argument mode must be set.
        Parameters:
        kind - A value of type K_VOCL that controls the behaviour of the underlying method. (see description)
        mode - A value of type TInteger that controls the behaviour of the underlying method. (see description)
        Throws:
        InoNetException
        SrvErrorException