Interface MMLabelAble

    • Method Detail

      • getLabelBoolValue

        boolean getLabelBoolValue​(MMLabel refObj,
                                  java.lang.String pattern)
                           throws InoNetException,
                                  SrvErrorException
        Returns the Boolean label value of the current object given by argument pattern or argument refObj.
        Parameters:
        refObj - A further instance of type MMLabel which is used to control the behaviour of the method. (see description above) This parameter is optional. (Its value can be given as null.)
        pattern - A string pattern. This parameter is optional. (Its value can be given as null.)
        Throws:
        InoNetException
        SrvErrorException
      • getLabelLongValue

        int getLabelLongValue​(MMLabel refObj,
                              java.lang.String pattern)
                       throws InoNetException,
                              SrvErrorException
        Returns the long label value of the current object given by argument pattern or argument refObj.
        Parameters:
        refObj - A further instance of type MMLabel which is used to control the behaviour of the method. (see description above) This parameter is optional. (Its value can be given as null.)
        pattern - A string pattern. This parameter is optional. (Its value can be given as null.)
        Throws:
        InoNetException
        SrvErrorException
      • getLabelStringValue

        java.lang.String getLabelStringValue​(MMLabel refObj,
                                             java.lang.String pattern)
                                      throws InoNetException,
                                             SrvErrorException
        Returns the label value of the current object given by argument pattern or argument refObj.
        Parameters:
        refObj - A further instance of type MMLabel which is used to control the behaviour of the method. (see description above) This parameter is optional. (Its value can be given as null.)
        pattern - A string pattern. This parameter is optional. (Its value can be given as null.)
        Throws:
        InoNetException
        SrvErrorException
      • getLabelValueList

        java.util.List<java.lang.String> getLabelValueList​(boolean mode)
                                                    throws InoNetException,
                                                           SrvErrorException
        Calculates all labels which are configured for the classification of the selected element and returns a list of multistrings each made up of label name and label value. The list may be reduced by boolean argument mode to labels visible in clients and documentation.
        Parameters:
        mode - A value of type TBoolean that controls the behaviour of the underlying method. (see description)This parameter is optional. (Its value can be given as null.)
        Throws:
        InoNetException
        SrvErrorException
      • getLabelValueByPattern

        <T extends ELValueReUseAble> java.util.List<T> getLabelValueByPattern​(java.lang.Class<T> returnType,
                                                                              java.lang.String pattern,
                                                                              K_CONTROL_OPTION... behaviourFlags)
                                                                       throws InoNetException,
                                                                              SrvErrorException
        All label values owned by this element. The list may be restricted to values with names that match the argument pattern.
        Parameters:
        returnType - Specifies the type of elements to be returned.
        pattern - A string pattern. This parameter is optional. (Its value can be given as null.)
        behaviourFlags - An optional list of enum values to control the behaviour of the command.
        Throws:
        InoNetException
        SrvErrorException
      • getLabelValueByPattern

        <T extends ELValueReUseAble> java.util.List<T> getLabelValueByPattern​(java.lang.Class<T> returnType,
                                                                              MMStereotype stereotype,
                                                                              java.lang.String pattern,
                                                                              K_CONTROL_OPTION... behaviourFlags)
                                                                       throws InoNetException,
                                                                              SrvErrorException
        The method calls getLabelValueByPattern 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
        pattern - A string pattern. This parameter is optional. (Its value can be given as null.)
        behaviourFlags - An optional list of enum values to control the behaviour of the command.
        Throws:
        InoNetException
        SrvErrorException
      • modifyLabelValuesByName

        void modifyLabelValuesByName​(java.util.List<java.lang.String> seqName,
                                     java.util.List<java.lang.String> seqValue,
                                     java.util.List<java.lang.Boolean> seqDefault,
                                     boolean checkCnstr)
                              throws InoNetException,
                                     SrvErrorException
        Modifies the labels of the element by the given name-value pairs. Boolean values are specified by 'isTrue' and 'isFalse'.
        Parameters:
        seqName - name of the typed element
        seqValue - value of the typed element
        seqDefault - is default flag of the typed element or empty
        checkCnstr - isTrue, if the value constraints should be checked
        Throws:
        InoNetException
        SrvErrorException