public class NFMethodPropertyProvider extends NFPropertyProvider implements INFMixedPropertyProvider
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<jadex.commons.MethodInfo,java.util.Map<java.lang.String,INFProperty<?,?>>> |
methodnfproperties
Non-functional properties of methods.
|
component, nfproperties, parent
Constructor and Description |
---|
NFMethodPropertyProvider(IComponentIdentifier parent,
IInternalAccess component)
Create a new provider.
|
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IFuture<java.lang.Void> |
addMethodNFProperty(jadex.commons.MethodInfo method,
INFProperty<?,?> nfprop)
Add a non-functional property.
|
jadex.commons.future.IFuture<java.lang.String[]> |
getMethodNFAllPropertyNames(jadex.commons.MethodInfo method)
Returns the names of all non-functional properties of this method.
|
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.
|
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.
|
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.
|
jadex.commons.future.IFuture<java.lang.String[]> |
getMethodNFPropertyNames(jadex.commons.MethodInfo method)
Returns the names of all non-functional properties of the specified method.
|
<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.
|
<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.
|
jadex.commons.future.IFuture<java.lang.Void> |
removeMethodNFProperty(jadex.commons.MethodInfo method,
java.lang.String name)
Remove a non-functional property.
|
jadex.commons.future.IFuture<java.lang.Void> |
shutdownNFPropertyProvider()
Shutdown the provider.
|
addNFProperty, getInternalAccess, getNFAllPropertyNames, getNFPropertyMetaInfo, getNFPropertyMetaInfos, getNFPropertyNames, getNFPropertyValue, getNFPropertyValue, getParentId, removeNFProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addNFProperty, getNFAllPropertyNames, getNFPropertyMetaInfo, getNFPropertyMetaInfos, getNFPropertyNames, getNFPropertyValue, getNFPropertyValue, removeNFProperty
protected java.util.Map<jadex.commons.MethodInfo,java.util.Map<java.lang.String,INFProperty<?,?>>> methodnfproperties
public NFMethodPropertyProvider(IComponentIdentifier parent, IInternalAccess component)
public jadex.commons.future.IFuture<java.util.Map<jadex.commons.MethodInfo,java.util.Map<java.lang.String,INFPropertyMetaInfo>>> getMethodNFPropertyMetaInfos()
getMethodNFPropertyMetaInfos
in interface INFMethodPropertyProvider
public jadex.commons.future.IFuture<java.util.Map<java.lang.String,INFPropertyMetaInfo>> getMethodNFPropertyMetaInfos(jadex.commons.MethodInfo method)
getMethodNFPropertyMetaInfos
in interface INFMethodPropertyProvider
public jadex.commons.future.IFuture<java.lang.String[]> getMethodNFPropertyNames(jadex.commons.MethodInfo method)
getMethodNFPropertyNames
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.public jadex.commons.future.IFuture<java.lang.String[]> getMethodNFAllPropertyNames(jadex.commons.MethodInfo method)
getMethodNFAllPropertyNames
in interface INFMethodPropertyProvider
public jadex.commons.future.IFuture<INFPropertyMetaInfo> getMethodNFPropertyMetaInfo(jadex.commons.MethodInfo method, java.lang.String name)
getMethodNFPropertyMetaInfo
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.name
- Name of the property.public <T> jadex.commons.future.IFuture<T> getMethodNFPropertyValue(jadex.commons.MethodInfo method, java.lang.String name)
getMethodNFPropertyValue
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.name
- Name of the property.type
- Type of the property value.public <T,U> jadex.commons.future.IFuture<T> getMethodNFPropertyValue(jadex.commons.MethodInfo method, java.lang.String name, U unit)
getMethodNFPropertyValue
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.name
- Name of the property.type
- Type of the property value.unit
- Unit of the property value.public jadex.commons.future.IFuture<java.lang.Void> addMethodNFProperty(jadex.commons.MethodInfo method, INFProperty<?,?> nfprop)
addMethodNFProperty
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.nfprop
- The property.public jadex.commons.future.IFuture<java.lang.Void> removeMethodNFProperty(jadex.commons.MethodInfo method, java.lang.String name)
removeMethodNFProperty
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.The
- name.public jadex.commons.future.IFuture<java.lang.Void> shutdownNFPropertyProvider()
shutdownNFPropertyProvider
in interface INFMethodPropertyProvider
shutdownNFPropertyProvider
in interface INFPropertyProvider
shutdownNFPropertyProvider
in class NFPropertyProvider