public abstract class NFPropertyProvider extends Object implements INFPropertyProvider
Constructor and Description |
---|
NFPropertyProvider()
Create a new provider.
|
NFPropertyProvider(INFPropertyProvider parent)
Create a new provider.
|
Modifier and Type | Method and Description |
---|---|
IFuture<Void> |
addNFProperty(INFProperty<?,?> nfprop)
Add a non-functional property.
|
abstract IInternalAccess |
getInternalAccess()
Get the internal access.
|
IFuture<String[]> |
getNFAllPropertyNames()
Returns the names of all non-functional properties of this service.
|
IFuture<INFPropertyMetaInfo> |
getNFPropertyMetaInfo(String name)
Returns the meta information about a non-functional property of this service.
|
IFuture<Map<String,INFPropertyMetaInfo>> |
getNFPropertyMetaInfos()
Returns the meta information about a non-functional property of this service.
|
IFuture<String[]> |
getNFPropertyNames()
Returns the names of all non-functional properties of this service.
|
<T> IFuture<T> |
getNFPropertyValue(String name)
Returns the current value of a non-functional property of this service, performs unit conversion.
|
<T,U> IFuture<T> |
getNFPropertyValue(String name,
U unit)
Returns the current value of a non-functional property of this service, performs unit conversion.
|
INFPropertyProvider |
getParent()
Get the parent.
|
IFuture<Void> |
removeNFProperty(String name)
Remove a non-functional property.
|
void |
setParent(INFPropertyProvider parent)
Set the parent.
|
IFuture<Void> |
shutdownNFPropertyProvider()
Shutdown the provider.
|
public NFPropertyProvider()
public NFPropertyProvider(INFPropertyProvider parent)
public IFuture<String[]> getNFPropertyNames()
getNFPropertyNames
in interface INFPropertyProvider
public IFuture<String[]> getNFAllPropertyNames()
getNFAllPropertyNames
in interface INFPropertyProvider
public IFuture<Map<String,INFPropertyMetaInfo>> getNFPropertyMetaInfos()
getNFPropertyMetaInfos
in interface INFPropertyProvider
name
- Name of the property.public IFuture<INFPropertyMetaInfo> getNFPropertyMetaInfo(String name)
getNFPropertyMetaInfo
in interface INFPropertyProvider
name
- Name of the property.public <T> IFuture<T> getNFPropertyValue(String name)
getNFPropertyValue
in interface INFPropertyProvider
name
- Name of the property.type
- Type of the property value.public <T,U> IFuture<T> getNFPropertyValue(String name, U unit)
getNFPropertyValue
in interface INFPropertyProvider
name
- Name of the property.unit
- Unit of the property value.public IFuture<Void> addNFProperty(INFProperty<?,?> nfprop)
addNFProperty
in interface INFPropertyProvider
metainfo
- The metainfo.public IFuture<Void> removeNFProperty(String name)
removeNFProperty
in interface INFPropertyProvider
The
- name.public INFPropertyProvider getParent()
public void setParent(INFPropertyProvider parent)
parent
- The parent to set.public IFuture<Void> shutdownNFPropertyProvider()
shutdownNFPropertyProvider
in interface INFPropertyProvider
public abstract IInternalAccess getInternalAccess()
Copyright © 2013. All Rights Reserved.