Package jadex.bridge.nonfunctional
Class NFPropertyRef<T,U>
- java.lang.Object
- 
- jadex.bridge.nonfunctional.AbstractNFProperty<T,U>
- 
- jadex.bridge.nonfunctional.NFPropertyRef<T,U>
 
 
- 
- All Implemented Interfaces:
- INFProperty<T,U>
 
 public class NFPropertyRef<T,U> extends AbstractNFProperty<T,U> Property reference. Delegates calls to the real property source.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface jadex.bridge.nonfunctional.INFPropertyINFProperty.Target
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected IExternalAccesscompThe component of the ref.protected MethodInfomethodThe method.protected IServiceIdentifiersidThe service identifier.- 
Fields inherited from class jadex.bridge.nonfunctional.AbstractNFPropertymetainfo
 
- 
 - 
Constructor SummaryConstructors Constructor Description NFPropertyRef(IExternalAccess comp, NFPropertyMetaInfo mi, IServiceIdentifier sid, MethodInfo method)Create a new property ref.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.String>getPrettyPrintValue()Returns the current value of the property in a human readable form.IFuture<T>getValue(U unit)Returns the current value of the property, performs unit conversion if necessary.- 
Methods inherited from class jadex.bridge.nonfunctional.AbstractNFPropertycreateProperty, dispose, getMetaInfo, getName, getValue, readNFProperties
 
- 
 
- 
- 
- 
Field Detail- 
compprotected IExternalAccess comp The component of the ref.
 - 
sidprotected IServiceIdentifier sid The service identifier.
 - 
methodprotected MethodInfo method The method.
 
- 
 - 
Constructor Detail- 
NFPropertyRefpublic NFPropertyRef(IExternalAccess comp, NFPropertyMetaInfo mi, IServiceIdentifier sid, MethodInfo method) Create a new property ref.
 
- 
 - 
Method Detail- 
getValuepublic IFuture<T> getValue(U unit) Returns the current value of the property, performs unit conversion if necessary.- Parameters:
- type- Type of the value.
- unit- Unit of the returned value.
- Returns:
- The current value of the property.
 
 - 
getPrettyPrintValuepublic IFuture<java.lang.String> getPrettyPrintValue() Description copied from class:AbstractNFPropertyReturns the current value of the property in a human readable form.- Specified by:
- getPrettyPrintValuein interface- INFProperty<T,U>
- Overrides:
- getPrettyPrintValuein class- AbstractNFProperty<T,U>
- Returns:
- The current value of the property.
 
 
- 
 
-