public class NFPropertyProvider extends java.lang.Object implements INFPropertyProvider
| Modifier and Type | Field and Description | 
|---|---|
| protected IInternalAccess | componentThe component. | 
| protected java.util.Map<java.lang.String,INFProperty<?,?>> | nfpropertiesNon-functional properties. | 
| protected IComponentIdentifier | parentThe parent. | 
| Constructor and Description | 
|---|
| NFPropertyProvider(IComponentIdentifier parent,
                  IInternalAccess component)Create a new provider. | 
| Modifier and Type | Method and Description | 
|---|---|
| IFuture<java.lang.Void> | addNFProperty(INFProperty<?,?> nfprop)Add a non-functional property. | 
| IInternalAccess | getInternalAccess()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. | 
| <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. | 
| IComponentIdentifier | getParentId()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. | 
protected IComponentIdentifier parent
protected IInternalAccess component
protected java.util.Map<java.lang.String,INFProperty<?,?>> nfproperties
public NFPropertyProvider(IComponentIdentifier parent, IInternalAccess component)
public IFuture<java.lang.String[]> getNFPropertyNames()
getNFPropertyNames in interface INFPropertyProviderpublic IFuture<java.lang.String[]> getNFAllPropertyNames()
getNFAllPropertyNames in interface INFPropertyProviderpublic IFuture<java.util.Map<java.lang.String,INFPropertyMetaInfo>> getNFPropertyMetaInfos()
getNFPropertyMetaInfos in interface INFPropertyProvidername - Name of the property.public IFuture<INFPropertyMetaInfo> getNFPropertyMetaInfo(java.lang.String name)
getNFPropertyMetaInfo in interface INFPropertyProvidername - Name of the property.public <T> IFuture<T> getNFPropertyValue(java.lang.String name)
getNFPropertyValue in interface INFPropertyProvidername - Name of the property.type - Type of the property value.public <T,U> IFuture<T> getNFPropertyValue(java.lang.String name, U unit)
getNFPropertyValue in interface INFPropertyProvidername - Name of the property.unit - Unit of the property value.public IFuture<java.lang.Void> addNFProperty(INFProperty<?,?> nfprop)
addNFProperty in interface INFPropertyProvidermetainfo - The metainfo.public IFuture<java.lang.Void> removeNFProperty(java.lang.String name)
removeNFProperty in interface INFPropertyProviderThe - name.public IComponentIdentifier getParentId()
public IFuture<java.lang.Void> shutdownNFPropertyProvider()
shutdownNFPropertyProvider in interface INFPropertyProviderpublic IInternalAccess getInternalAccess()