Interface ELAssociation

    • Method Detail

      • getAssociationEnd

        <T extends ELProperty> java.util.List<T> getAssociationEnd​(java.lang.Class<T> returnType,
                                                                   K_CONTROL_OPTION... behaviourFlags)
                                                            throws InoNetException,
                                                                   SrvErrorException
        All of this association's association ends. With @SORTING the list is sorted according to the role sort order.
        Parameters:
        returnType - Specifies the type of elements to be returned.
        behaviourFlags - An optional list of enum values to control the behaviour of the command.
        Throws:
        InoNetException
        SrvErrorException
      • getAssociationEnd

        <T extends ELProperty> java.util.List<T> getAssociationEnd​(java.lang.Class<T> returnType,
                                                                   MMStereotype stereotype,
                                                                   K_CONTROL_OPTION... behaviourFlags)
                                                            throws InoNetException,
                                                                   SrvErrorException
        The method calls getAssociationEnd 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
        behaviourFlags - An optional list of enum values to control the behaviour of the command.
        Throws:
        InoNetException
        SrvErrorException
      • getClassifierOfAssociationEnd

        <T extends ELClassifier> java.util.List<T> getClassifierOfAssociationEnd​(java.lang.Class<T> returnType,
                                                                                 K_CONTROL_OPTION... behaviourFlags)
                                                                          throws InoNetException,
                                                                                 SrvErrorException
        All classifiers of association ends connected to this association. With @SORTING the list is sorted according to the role sort order.
        Parameters:
        returnType - Specifies the type of elements to be returned.
        behaviourFlags - An optional list of enum values to control the behaviour of the command.
        Throws:
        InoNetException
        SrvErrorException
      • getClassifierOfAssociationEnd

        <T extends ELClassifier> java.util.List<T> getClassifierOfAssociationEnd​(java.lang.Class<T> returnType,
                                                                                 MMStereotype stereotype,
                                                                                 K_CONTROL_OPTION... behaviourFlags)
                                                                          throws InoNetException,
                                                                                 SrvErrorException
        The method calls getClassifierOfAssociationEnd 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
        behaviourFlags - An optional list of enum values to control the behaviour of the command.
        Throws:
        InoNetException
        SrvErrorException
      • getOwnedAssociationEnd

        <T extends ELProperty> java.util.List<T> getOwnedAssociationEnd​(java.lang.Class<T> returnType,
                                                                        K_CONTROL_OPTION... behaviourFlags)
                                                                 throws InoNetException,
                                                                        SrvErrorException
        All properties owned by this association which are an association end.
        Parameters:
        returnType - Specifies the type of elements to be returned.
        behaviourFlags - An optional list of enum values to control the behaviour of the command.
        Throws:
        InoNetException
        SrvErrorException
      • getOwnedAssociationEnd

        <T extends ELProperty> java.util.List<T> getOwnedAssociationEnd​(java.lang.Class<T> returnType,
                                                                        MMStereotype stereotype,
                                                                        K_CONTROL_OPTION... behaviourFlags)
                                                                 throws InoNetException,
                                                                        SrvErrorException
        The method calls getOwnedAssociationEnd 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
        behaviourFlags - An optional list of enum values to control the behaviour of the command.
        Throws:
        InoNetException
        SrvErrorException
      • getPropertyNotAssociationEnd

        <T extends ELProperty> java.util.List<T> getPropertyNotAssociationEnd​(java.lang.Class<T> returnType,
                                                                              K_CONTROL_OPTION... behaviourFlags)
                                                                       throws InoNetException,
                                                                              SrvErrorException
        All of this association's properties which are not an association end.
        Parameters:
        returnType - Specifies the type of elements to be returned.
        behaviourFlags - An optional list of enum values to control the behaviour of the command.
        Throws:
        InoNetException
        SrvErrorException
      • getPropertyNotAssociationEnd

        <T extends ELProperty> java.util.List<T> getPropertyNotAssociationEnd​(java.lang.Class<T> returnType,
                                                                              MMStereotype stereotype,
                                                                              K_CONTROL_OPTION... behaviourFlags)
                                                                       throws InoNetException,
                                                                              SrvErrorException
        The method calls getPropertyNotAssociationEnd 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
        behaviourFlags - An optional list of enum values to control the behaviour of the command.
        Throws:
        InoNetException
        SrvErrorException
      • getAssociationEndsOfEndType

        <T extends ELProperty> java.util.List<T> getAssociationEndsOfEndType​(java.lang.Class<T> returnType,
                                                                             ELType refObj,
                                                                             K_CONTROL_OPTION... behaviourFlags)
                                                                      throws InoNetException,
                                                                             SrvErrorException
        All of this association's association ends connected to the end type provided by argument refObj.
        Parameters:
        returnType - Specifies the type of elements to be returned.
        refObj - A further instance of type ELType which is used to control the behaviour of the method. (see description above)
        behaviourFlags - An optional list of enum values to control the behaviour of the command.
        Throws:
        InoNetException
        SrvErrorException
      • getAssociationEndsOfEndType

        <T extends ELProperty> java.util.List<T> getAssociationEndsOfEndType​(java.lang.Class<T> returnType,
                                                                             MMStereotype stereotype,
                                                                             ELType refObj,
                                                                             K_CONTROL_OPTION... behaviourFlags)
                                                                      throws InoNetException,
                                                                             SrvErrorException
        The method calls getAssociationEndsOfEndType 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 ELType which is used to control the behaviour of the method. (see description above)
        behaviourFlags - An optional list of enum values to control the behaviour of the command.
        Throws:
        InoNetException
        SrvErrorException
      • reconnectAssociation

        void reconnectAssociation​(ELElement ohNew,
                                  K_SIDE kSide)
                           throws InoNetException,
                                  SrvErrorException
        Assigns one this binary association's association ends to a new classifier. The side parameter specifies whether the first (source) or the second (target) association end is reconnected.
        Parameters:
        ohNew - the element to which the relationship is redirected
        kSide - specifies the role of the new element in the relationship
        Throws:
        InoNetException
        SrvErrorException