Package jadex.bridge.nonfunctional
Class NFPropertyMetaInfo
- java.lang.Object
- 
- jadex.bridge.nonfunctional.NFPropertyMetaInfo
 
- 
- All Implemented Interfaces:
- INFPropertyMetaInfo
 
 public class NFPropertyMetaInfo extends java.lang.Object implements INFPropertyMetaInfo Meta information about a non-functional property.
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleandynamicFlag indicating if the property is dynamic.protected java.lang.StringnameName of the property.protected booleanrealtimeFlag indicating if the update rate is real time.protected INFProperty.TargettargetThe target.protected ClassInfotypeType of the property.protected ClassInfounitUnit of the property value.protected longupdaterateThe update rate.
 - 
Constructor SummaryConstructors Constructor Description NFPropertyMetaInfo()Creates an empty meta info.NFPropertyMetaInfo(java.lang.String name, ClassInfo type)Creates a meta info.NFPropertyMetaInfo(java.lang.String name, ClassInfo type, ClassInfo unit, boolean dynamic)Creates a meta info.NFPropertyMetaInfo(java.lang.String name, ClassInfo type, ClassInfo unit, boolean dynamic, long updaterate, boolean realtime, INFProperty.Target target)Creates a meta info.NFPropertyMetaInfo(java.lang.String name, java.lang.Class<?> type, java.lang.Class<?> unit, boolean dynamic)Creates a meta info.NFPropertyMetaInfo(java.lang.String name, java.lang.Class<?> type, java.lang.Class<?> unit, boolean dynamic, long updaterate, boolean realtime, INFProperty.Target target)Creates a meta info.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Gets the name of the property.INFProperty.TargetgetTarget()Get the target.ClassInfogetType()Gets the type of the property.ClassInfogetUnit()Gets the unit of the property.longgetUpdateRate()Gets the update rate of the property, if it exists, for dynamic properties.booleanisDynamic()Checks if the property is dynamic.booleanisRealtime()Checks if the property is real time.voidsetDynamic(boolean dynamic)Sets the dynamic flag of the property.voidsetName(java.lang.String name)Sets the name of the property.voidsetRealtime(boolean realtime)Sets the real time flag of the property.voidsetTarget(INFProperty.Target target)Set the target.voidsetType(ClassInfo type)Sets the type of the property.voidsetUnit(ClassInfo unit)Sets the unit of the property.voidsetUpdateRate(long updaterate)Sets the update rate of the property for dynamic properties.
 
- 
- 
- 
Field Detail- 
nameprotected java.lang.String name Name of the property.
 - 
typeprotected ClassInfo type Type of the property.
 - 
unitprotected ClassInfo unit Unit of the property value.
 - 
dynamicprotected boolean dynamic Flag indicating if the property is dynamic.
 - 
updaterateprotected long updaterate The update rate.
 - 
realtimeprotected boolean realtime Flag indicating if the update rate is real time.
 - 
targetprotected INFProperty.Target target The target.
 
- 
 - 
Constructor Detail- 
NFPropertyMetaInfopublic NFPropertyMetaInfo() Creates an empty meta info.
 - 
NFPropertyMetaInfopublic NFPropertyMetaInfo(java.lang.String name, ClassInfo type)Creates a meta info.- Parameters:
- name- Name of the property.
 
 - 
NFPropertyMetaInfopublic NFPropertyMetaInfo(java.lang.String name, java.lang.Class<?> type, java.lang.Class<?> unit, boolean dynamic)Creates a meta info.- Parameters:
- name- Name of the property.
 
 - 
NFPropertyMetaInfopublic NFPropertyMetaInfo(java.lang.String name, ClassInfo type, ClassInfo unit, boolean dynamic)Creates a meta info.- Parameters:
- name- Name of the property.
 
 - 
NFPropertyMetaInfopublic NFPropertyMetaInfo(java.lang.String name, java.lang.Class<?> type, java.lang.Class<?> unit, boolean dynamic, long updaterate, boolean realtime, INFProperty.Target target)Creates a meta info.- Parameters:
- name- Name of the property.
 
 - 
NFPropertyMetaInfopublic NFPropertyMetaInfo(java.lang.String name, ClassInfo type, ClassInfo unit, boolean dynamic, long updaterate, boolean realtime, INFProperty.Target target)Creates a meta info.- Parameters:
- name- Name of the property.
- type- Type of the property.
- unit- Unit of the property.
- dynamic- Flag if the property is dynamic.
- updaterate- Update rate of the property.
- target- Target of the property.
 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Gets the name of the property.- Specified by:
- getNamein interface- INFPropertyMetaInfo
- Returns:
- The name of the property.
 
 - 
getTypepublic ClassInfo getType() Gets the type of the property.- Specified by:
- getTypein interface- INFPropertyMetaInfo
- Returns:
- The type of the property.
 
 - 
getUnitpublic ClassInfo getUnit() Gets the unit of the property.- Specified by:
- getUnitin interface- INFPropertyMetaInfo
- Returns:
- The unit of the property.
 
 - 
isDynamicpublic boolean isDynamic() Checks if the property is dynamic.- Specified by:
- isDynamicin interface- INFPropertyMetaInfo
- Returns:
- The dynamic.
 
 - 
getUpdateRatepublic long getUpdateRate() Gets the update rate of the property, if it exists, for dynamic properties.- Specified by:
- getUpdateRatein interface- INFPropertyMetaInfo
- Returns:
- The update rate.
 
 - 
isRealtimepublic boolean isRealtime() Checks if the property is real time.- Specified by:
- isRealtimein interface- INFPropertyMetaInfo
- Returns:
- The real time flag.
 
 - 
setNamepublic void setName(java.lang.String name) Sets the name of the property.- Parameters:
- name- The name of the property.
 
 - 
setTypepublic void setType(ClassInfo type) Sets the type of the property.- Parameters:
- type- The type.
 
 - 
setUnitpublic void setUnit(ClassInfo unit) Sets the unit of the property.- Parameters:
- unit- The unit of the property.
 
 - 
setDynamicpublic void setDynamic(boolean dynamic) Sets the dynamic flag of the property.- Parameters:
- dynamic- The dynamic flag value.
 
 - 
setUpdateRatepublic void setUpdateRate(long updaterate) Sets the update rate of the property for dynamic properties.- Parameters:
- updaterate- The update rate.
 
 - 
setRealtimepublic void setRealtime(boolean realtime) Sets the real time flag of the property.- Parameters:
- realtime- The real time flag value.
 
 - 
getTargetpublic INFProperty.Target getTarget() Get the target.- Specified by:
- getTargetin interface- INFPropertyMetaInfo
- Returns:
- The target.
 
 - 
setTargetpublic void setTarget(INFProperty.Target target) Set the target.- Parameters:
- target- The target to set.
 
 
- 
 
-