Package jadex.bridge.nonfunctional
Class NFPropertyProvider
- java.lang.Object
- 
- jadex.bridge.nonfunctional.NFPropertyProvider
 
- 
- All Implemented Interfaces:
- INFPropertyProvider
 - Direct Known Subclasses:
- NFMethodPropertyProvider
 
 public class NFPropertyProvider extends java.lang.Object implements INFPropertyProvider Base impl for nf property property provider.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IInternalAccesscomponentThe component.protected java.util.Map<java.lang.String,INFProperty<?,?>>nfpropertiesNon-functional properties.protected IComponentIdentifierparentThe parent.
 - 
Constructor SummaryConstructors Constructor Description NFPropertyProvider(IComponentIdentifier parent, IInternalAccess component)Create a new provider.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>addNFProperty(INFProperty<?,?> nfprop)Add a non-functional property.IInternalAccessgetInternalAccess()Get the internal access.IFuture<java.lang.String[]>getNFAllPropertyNames()Returns the names of all non-functional properties of this service.IFuture<INFPropertyMetaInfo>getNFPropertyMetaInfo(java.lang.String name)Returns the meta information about a non-functional property of this service.IFuture<java.util.Map<java.lang.String,INFPropertyMetaInfo>>getNFPropertyMetaInfos()Returns the meta information about a non-functional property of this service.IFuture<java.lang.String[]>getNFPropertyNames()Returns the names of all non-functional properties of this service.IFuture<java.lang.String>getNFPropertyPrettyPrintValue(java.lang.String name)Returns the current value of a non-functional property of this service.<T> IFuture<T>getNFPropertyValue(java.lang.String name)Returns the current value of a non-functional property of this service, performs unit conversion.<T,U>
 IFuture<T>getNFPropertyValue(java.lang.String name, U unit)Returns the current value of a non-functional property of this service, performs unit conversion.IComponentIdentifiergetParentId()Get the parent.IFuture<java.lang.Void>removeNFProperty(java.lang.String name)Remove a non-functional property.IFuture<java.lang.Void>shutdownNFPropertyProvider()Shutdown the provider.
 
- 
- 
- 
Field Detail- 
parentprotected IComponentIdentifier parent The parent.
 - 
componentprotected IInternalAccess component The component.
 - 
nfpropertiesprotected java.util.Map<java.lang.String,INFProperty<?,?>> nfproperties Non-functional properties.
 
- 
 - 
Constructor Detail- 
NFPropertyProviderpublic NFPropertyProvider(IComponentIdentifier parent, IInternalAccess component) Create a new provider.
 
- 
 - 
Method Detail- 
getNFPropertyNamespublic IFuture<java.lang.String[]> getNFPropertyNames() Returns the names of all non-functional properties of this service.- Specified by:
- getNFPropertyNamesin interface- INFPropertyProvider
- Returns:
- The names of the non-functional properties of this service.
 
 - 
getNFAllPropertyNamespublic IFuture<java.lang.String[]> getNFAllPropertyNames() Returns the names of all non-functional properties of this service.- Specified by:
- getNFAllPropertyNamesin interface- INFPropertyProvider
- Returns:
- The names of the non-functional properties of this service.
 
 - 
getNFPropertyMetaInfospublic IFuture<java.util.Map<java.lang.String,INFPropertyMetaInfo>> getNFPropertyMetaInfos() Returns the meta information about a non-functional property of this service.- Specified by:
- getNFPropertyMetaInfosin interface- INFPropertyProvider
- Parameters:
- name- Name of the property.
- Returns:
- The meta information about a non-functional property of this service.
 
 - 
getNFPropertyMetaInfopublic IFuture<INFPropertyMetaInfo> getNFPropertyMetaInfo(java.lang.String name) Returns the meta information about a non-functional property of this service.- Specified by:
- getNFPropertyMetaInfoin interface- INFPropertyProvider
- Parameters:
- name- Name of the property.
- Returns:
- The meta information about a non-functional property of this service.
 
 - 
getNFPropertyValuepublic <T> IFuture<T> getNFPropertyValue(java.lang.String name) Returns the current value of a non-functional property of this service, performs unit conversion.- Specified by:
- getNFPropertyValuein interface- INFPropertyProvider
- Parameters:
- name- Name of the property.
- type- Type of the property value.
- Returns:
- The current value of a non-functional property of this service.
 
 - 
getNFPropertyValuepublic <T,U> IFuture<T> getNFPropertyValue(java.lang.String name, U unit) Returns the current value of a non-functional property of this service, performs unit conversion.- Specified by:
- getNFPropertyValuein interface- INFPropertyProvider
- Parameters:
- name- Name of the property.
- unit- Unit of the property value.
- Returns:
- The current value of a non-functional property of this service.
 
 - 
getNFPropertyPrettyPrintValuepublic IFuture<java.lang.String> getNFPropertyPrettyPrintValue(java.lang.String name) Returns the current value of a non-functional property of this service.- Specified by:
- getNFPropertyPrettyPrintValuein interface- INFPropertyProvider
- Parameters:
- name- Name of the property.
- type- Type of the property value.
- Returns:
- The current value of a non-functional property of this service.
 
 - 
addNFPropertypublic IFuture<java.lang.Void> addNFProperty(INFProperty<?,?> nfprop) Add a non-functional property.- Specified by:
- addNFPropertyin interface- INFPropertyProvider
- Parameters:
- metainfo- The metainfo.
 
 - 
removeNFPropertypublic IFuture<java.lang.Void> removeNFProperty(java.lang.String name) Remove a non-functional property.- Specified by:
- removeNFPropertyin interface- INFPropertyProvider
- Parameters:
- The- name.
 
 - 
getParentIdpublic IComponentIdentifier getParentId() Get the parent. return The parent.
 - 
shutdownNFPropertyProviderpublic IFuture<java.lang.Void> shutdownNFPropertyProvider() Shutdown the provider.- Specified by:
- shutdownNFPropertyProviderin interface- INFPropertyProvider
 
 - 
getInternalAccesspublic IInternalAccess getInternalAccess() Get the internal access.
 
- 
 
-