public abstract class AbstractNFProperty<T,U> extends java.lang.Object implements INFProperty<T,U>
INFProperty.Target
Modifier and Type | Field and Description |
---|---|
protected NFPropertyMetaInfo |
metainfo
Name of the property.
|
Constructor and Description |
---|
AbstractNFProperty(NFPropertyMetaInfo metainfo)
Creates the property.
|
Modifier and Type | Method and Description |
---|---|
static INFProperty<?,?> |
createProperty(java.lang.Class<?> clazz,
IInternalAccess comp,
IService service,
MethodInfo mi)
Create a property instance from its type.
|
IFuture<java.lang.Void> |
dispose()
Property was removed and should be disposed.
|
NFPropertyMetaInfo |
getMetaInfo()
Get the metainfo.
|
java.lang.String |
getName()
Gets the name of the property.
|
IFuture<T> |
getValue()
Returns the current value of the property.
|
static java.util.List<INFProperty<?,?>> |
readNFProperties(java.lang.Class<?> type,
IInternalAccess comp,
IService ser,
MethodInfo mi)
Create nf properties form a class with nf annotations.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValue
protected NFPropertyMetaInfo metainfo
public AbstractNFProperty(NFPropertyMetaInfo metainfo)
name
- Name of the property.public java.lang.String getName()
getName
in interface INFProperty<T,U>
public IFuture<T> getValue()
getValue
in interface INFProperty<T,U>
public NFPropertyMetaInfo getMetaInfo()
getMetaInfo
in interface INFProperty<T,U>
public static java.util.List<INFProperty<?,?>> readNFProperties(java.lang.Class<?> type, IInternalAccess comp, IService ser, MethodInfo mi)
public static INFProperty<?,?> createProperty(java.lang.Class<?> clazz, IInternalAccess comp, IService service, MethodInfo mi)
public IFuture<java.lang.Void> dispose()
dispose
in interface INFProperty<T,U>