Class NFMethodPropertyProvider

    • Field Detail

      • methodnfproperties

        protected java.util.Map<jadex.commons.MethodInfo,​java.util.Map<java.lang.String,​INFProperty<?,​?>>> methodnfproperties
        Non-functional properties of methods.
    • Method Detail

      • getMethodNFPropertyMetaInfos

        public jadex.commons.future.IFuture<java.util.Map<jadex.commons.MethodInfo,​java.util.Map<java.lang.String,​INFPropertyMetaInfo>>> getMethodNFPropertyMetaInfos()
        Returns meta information about a non-functional properties of all methods.
        Specified by:
        getMethodNFPropertyMetaInfos in interface INFMethodPropertyProvider
        Returns:
        The meta information about a non-functional properties.
      • getMethodNFPropertyMetaInfos

        public jadex.commons.future.IFuture<java.util.Map<java.lang.String,​INFPropertyMetaInfo>> getMethodNFPropertyMetaInfos​(jadex.commons.MethodInfo method)
        Returns meta information about a non-functional properties of a method.
        Specified by:
        getMethodNFPropertyMetaInfos in interface INFMethodPropertyProvider
        Returns:
        The meta information about a non-functional properties.
      • getMethodNFPropertyNames

        public jadex.commons.future.IFuture<java.lang.String[]> getMethodNFPropertyNames​(jadex.commons.MethodInfo method)
        Returns the names of all non-functional properties of the specified method.
        Specified by:
        getMethodNFPropertyNames in interface INFMethodPropertyProvider
        Parameters:
        method - The method targeted by this operation.
        Returns:
        The names of the non-functional properties of the specified method.
      • getMethodNFAllPropertyNames

        public jadex.commons.future.IFuture<java.lang.String[]> getMethodNFAllPropertyNames​(jadex.commons.MethodInfo method)
        Returns the names of all non-functional properties of this method.
        Specified by:
        getMethodNFAllPropertyNames in interface INFMethodPropertyProvider
        Returns:
        The names of the non-functional properties of this method.
      • getMethodNFPropertyMetaInfo

        public jadex.commons.future.IFuture<INFPropertyMetaInfo> getMethodNFPropertyMetaInfo​(jadex.commons.MethodInfo method,
                                                                                             java.lang.String name)
        Returns the meta information about a non-functional property of the specified method.
        Specified by:
        getMethodNFPropertyMetaInfo in interface INFMethodPropertyProvider
        Parameters:
        method - The method targeted by this operation.
        name - Name of the property.
        Returns:
        The meta information about a non-functional property of the specified method.
      • getMethodNFPropertyValue

        public <T> jadex.commons.future.IFuture<T> getMethodNFPropertyValue​(jadex.commons.MethodInfo method,
                                                                            java.lang.String name)
        Returns the current value of a non-functional property of the specified method.
        Specified by:
        getMethodNFPropertyValue in interface INFMethodPropertyProvider
        Parameters:
        method - The method targeted by this operation.
        name - Name of the property.
        type - Type of the property value.
        Returns:
        The current value of a non-functional property of the specified method.
      • getMethodNFPropertyValue

        public <T,​U> jadex.commons.future.IFuture<T> getMethodNFPropertyValue​(jadex.commons.MethodInfo method,
                                                                                    java.lang.String name,
                                                                                    U unit)
        Returns the current value of a non-functional property of the specified method, performs unit conversion.
        Specified by:
        getMethodNFPropertyValue in interface INFMethodPropertyProvider
        Parameters:
        method - The method targeted by this operation.
        name - Name of the property.
        type - Type of the property value.
        unit - Unit of the property value.
        Returns:
        The current value of a non-functional property of the specified method.
      • getMethodNFPropertyPrettyPrintValue

        public jadex.commons.future.IFuture<java.lang.String> getMethodNFPropertyPrettyPrintValue​(jadex.commons.MethodInfo method,
                                                                                                  java.lang.String name)
        Returns the current value of a non-functional property of this service method.
        Specified by:
        getMethodNFPropertyPrettyPrintValue in interface INFMethodPropertyProvider
        Parameters:
        name - Name of the property.
        type - Type of the property value.
        Returns:
        The current value of a non-functional property of this service method.
      • addMethodNFProperty

        public jadex.commons.future.IFuture<java.lang.Void> addMethodNFProperty​(jadex.commons.MethodInfo method,
                                                                                INFProperty<?,​?> nfprop)
        Add a non-functional property.
        Specified by:
        addMethodNFProperty in interface INFMethodPropertyProvider
        Parameters:
        method - The method targeted by this operation.
        nfprop - The property.
      • removeMethodNFProperty

        public jadex.commons.future.IFuture<java.lang.Void> removeMethodNFProperty​(jadex.commons.MethodInfo method,
                                                                                   java.lang.String name)
        Remove a non-functional property.
        Specified by:
        removeMethodNFProperty in interface INFMethodPropertyProvider
        Parameters:
        method - The method targeted by this operation.
        The - name.