Package jadex.bridge.nonfunctional
Class AbstractNFProperty<T,U>
- java.lang.Object
- 
- jadex.bridge.nonfunctional.AbstractNFProperty<T,U>
 
- 
- All Implemented Interfaces:
- INFProperty<T,U>
 - Direct Known Subclasses:
- NFPropertyRef,- SimpleValueNFProperty,- TagProperty
 
 public abstract class AbstractNFProperty<T,U> extends java.lang.Object implements INFProperty<T,U> A non-functional property. NOTE: Implementing classes must implement a constructor with the signature INFProperty(String name) to allow the service to initialize the property during creation.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface jadex.bridge.nonfunctional.INFPropertyINFProperty.Target
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected NFPropertyMetaInfometainfoName of the property.
 - 
Constructor SummaryConstructors Constructor Description AbstractNFProperty(NFPropertyMetaInfo metainfo)Creates the property.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static INFProperty<?,?>createProperty(java.lang.Class<?> clazz, IInternalAccess comp, IService service, MethodInfo mi, java.util.List<UnparsedExpression> params)Create a property instance from its type.IFuture<java.lang.Void>dispose()Property was removed and should be disposed.NFPropertyMetaInfogetMetaInfo()Get the metainfo.java.lang.StringgetName()Gets the name of the property.IFuture<java.lang.String>getPrettyPrintValue()Returns the current value of the property in a human readable form.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.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface jadex.bridge.nonfunctional.INFPropertygetValue
 
- 
 
- 
- 
- 
Field Detail- 
metainfoprotected NFPropertyMetaInfo metainfo Name of the property.
 
- 
 - 
Constructor Detail- 
AbstractNFPropertypublic AbstractNFProperty(NFPropertyMetaInfo metainfo) Creates the property.- Parameters:
- name- Name of the property.
 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Gets the name of the property.- Specified by:
- getNamein interface- INFProperty<T,U>
- Returns:
- The name of the property.
 
 - 
getValuepublic IFuture<T> getValue() Returns the current value of the property.- Specified by:
- getValuein interface- INFProperty<T,U>
- Returns:
- The current value of the property.
 
 - 
getMetaInfopublic NFPropertyMetaInfo getMetaInfo() Get the metainfo.- Specified by:
- getMetaInfoin interface- INFProperty<T,U>
- Returns:
- The metainfo.
 
 - 
getPrettyPrintValuepublic IFuture<java.lang.String> getPrettyPrintValue() Returns the current value of the property in a human readable form.- Specified by:
- getPrettyPrintValuein interface- INFProperty<T,U>
- Returns:
- The current value of the property.
 
 - 
readNFPropertiespublic 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.
 - 
createPropertypublic static INFProperty<?,?> createProperty(java.lang.Class<?> clazz, IInternalAccess comp, IService service, MethodInfo mi, java.util.List<UnparsedExpression> params) Create a property instance from its type.
 - 
disposepublic IFuture<java.lang.Void> dispose() Property was removed and should be disposed.- Specified by:
- disposein interface- INFProperty<T,U>
 
 
- 
 
-