Package jadex.bridge.nonfunctional
Class NFMethodPropertyProvider
- java.lang.Object
- 
- jadex.bridge.nonfunctional.NFPropertyProvider
- 
- jadex.bridge.nonfunctional.NFMethodPropertyProvider
 
 
- 
- All Implemented Interfaces:
- INFMethodPropertyProvider,- INFMixedPropertyProvider,- INFPropertyProvider
 
 public class NFMethodPropertyProvider extends NFPropertyProvider implements INFMixedPropertyProvider Default implementation for a method property provider.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.Map<MethodInfo,java.util.Map<java.lang.String,INFProperty<?,?>>>methodnfpropertiesNon-functional properties of methods.- 
Fields inherited from class jadex.bridge.nonfunctional.NFPropertyProvidercomponent, nfproperties, parent
 
- 
 - 
Constructor SummaryConstructors Constructor Description NFMethodPropertyProvider(IComponentIdentifier parent, IInternalAccess component)Create a new provider.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>addMethodNFProperty(MethodInfo method, INFProperty<?,?> nfprop)Add a non-functional property.IFuture<java.lang.String[]>getMethodNFAllPropertyNames(MethodInfo method)Returns the names of all non-functional properties of this method.IFuture<INFPropertyMetaInfo>getMethodNFPropertyMetaInfo(MethodInfo method, java.lang.String name)Returns the meta information about a non-functional property of the specified method.IFuture<java.util.Map<MethodInfo,java.util.Map<java.lang.String,INFPropertyMetaInfo>>>getMethodNFPropertyMetaInfos()Returns meta information about a non-functional properties of all methods.IFuture<java.util.Map<java.lang.String,INFPropertyMetaInfo>>getMethodNFPropertyMetaInfos(MethodInfo method)Returns meta information about a non-functional properties of a method.IFuture<java.lang.String[]>getMethodNFPropertyNames(MethodInfo method)Returns the names of all non-functional properties of the specified method.IFuture<java.lang.String>getMethodNFPropertyPrettyPrintValue(MethodInfo method, java.lang.String name)Returns the current value of a non-functional property of this service method.<T> IFuture<T>getMethodNFPropertyValue(MethodInfo method, java.lang.String name)Returns the current value of a non-functional property of the specified method.<T,U>
 IFuture<T>getMethodNFPropertyValue(MethodInfo method, java.lang.String name, U unit)Returns the current value of a non-functional property of the specified method, performs unit conversion.IFuture<java.lang.Void>removeMethodNFProperty(MethodInfo method, java.lang.String name)Remove a non-functional property.IFuture<java.lang.Void>shutdownNFPropertyProvider()Shutdown the provider.- 
Methods inherited from class jadex.bridge.nonfunctional.NFPropertyProvideraddNFProperty, getInternalAccess, getNFAllPropertyNames, getNFPropertyMetaInfo, getNFPropertyMetaInfos, getNFPropertyNames, getNFPropertyPrettyPrintValue, getNFPropertyValue, getNFPropertyValue, getParentId, removeNFProperty
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface jadex.bridge.nonfunctional.INFPropertyProvideraddNFProperty, getNFAllPropertyNames, getNFPropertyMetaInfo, getNFPropertyMetaInfos, getNFPropertyNames, getNFPropertyPrettyPrintValue, getNFPropertyValue, getNFPropertyValue, removeNFProperty
 
- 
 
- 
- 
- 
Field Detail- 
methodnfpropertiesprotected java.util.Map<MethodInfo,java.util.Map<java.lang.String,INFProperty<?,?>>> methodnfproperties Non-functional properties of methods.
 
- 
 - 
Constructor Detail- 
NFMethodPropertyProviderpublic NFMethodPropertyProvider(IComponentIdentifier parent, IInternalAccess component) Create a new provider.
 
- 
 - 
Method Detail- 
getMethodNFPropertyMetaInfospublic IFuture<java.util.Map<MethodInfo,java.util.Map<java.lang.String,INFPropertyMetaInfo>>> getMethodNFPropertyMetaInfos() Returns meta information about a non-functional properties of all methods.- Specified by:
- getMethodNFPropertyMetaInfosin interface- INFMethodPropertyProvider
- Returns:
- The meta information about a non-functional properties.
 
 - 
getMethodNFPropertyMetaInfospublic IFuture<java.util.Map<java.lang.String,INFPropertyMetaInfo>> getMethodNFPropertyMetaInfos(MethodInfo method) Returns meta information about a non-functional properties of a method.- Specified by:
- getMethodNFPropertyMetaInfosin interface- INFMethodPropertyProvider
- Returns:
- The meta information about a non-functional properties.
 
 - 
getMethodNFPropertyNamespublic IFuture<java.lang.String[]> getMethodNFPropertyNames(MethodInfo method) Returns the names of all non-functional properties of the specified method.- Specified by:
- getMethodNFPropertyNamesin interface- INFMethodPropertyProvider
- Parameters:
- method- The method targeted by this operation.
- Returns:
- The names of the non-functional properties of the specified method.
 
 - 
getMethodNFAllPropertyNamespublic IFuture<java.lang.String[]> getMethodNFAllPropertyNames(MethodInfo method) Returns the names of all non-functional properties of this method.- Specified by:
- getMethodNFAllPropertyNamesin interface- INFMethodPropertyProvider
- Returns:
- The names of the non-functional properties of this method.
 
 - 
getMethodNFPropertyMetaInfopublic IFuture<INFPropertyMetaInfo> getMethodNFPropertyMetaInfo(MethodInfo method, java.lang.String name) Returns the meta information about a non-functional property of the specified method.- Specified by:
- getMethodNFPropertyMetaInfoin 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.
 
 - 
getMethodNFPropertyValuepublic <T> IFuture<T> getMethodNFPropertyValue(MethodInfo method, java.lang.String name) Returns the current value of a non-functional property of the specified method.- Specified by:
- getMethodNFPropertyValuein 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.
 
 - 
getMethodNFPropertyValuepublic <T,U> IFuture<T> getMethodNFPropertyValue(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:
- getMethodNFPropertyValuein 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.
 
 - 
getMethodNFPropertyPrettyPrintValuepublic IFuture<java.lang.String> getMethodNFPropertyPrettyPrintValue(MethodInfo method, java.lang.String name) Returns the current value of a non-functional property of this service method.- Specified by:
- getMethodNFPropertyPrettyPrintValuein 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.
 
 - 
addMethodNFPropertypublic IFuture<java.lang.Void> addMethodNFProperty(MethodInfo method, INFProperty<?,?> nfprop) Add a non-functional property.- Specified by:
- addMethodNFPropertyin interface- INFMethodPropertyProvider
- Parameters:
- method- The method targeted by this operation.
- nfprop- The property.
 
 - 
removeMethodNFPropertypublic IFuture<java.lang.Void> removeMethodNFProperty(MethodInfo method, java.lang.String name) Remove a non-functional property.- Specified by:
- removeMethodNFPropertyin interface- INFMethodPropertyProvider
- Parameters:
- method- The method targeted by this operation.
- The- name.
 
 - 
shutdownNFPropertyProviderpublic IFuture<java.lang.Void> shutdownNFPropertyProvider() Shutdown the provider.- Specified by:
- shutdownNFPropertyProviderin interface- INFMethodPropertyProvider
- Specified by:
- shutdownNFPropertyProviderin interface- INFPropertyProvider
- Overrides:
- shutdownNFPropertyProviderin class- NFPropertyProvider
 
 
- 
 
-