Package jadex.commons
Interface IPropertyObject
-
- All Known Subinterfaces:
IEnvironmentSpace,IObjectTask,IPerceptGenerator,IPerceptProcessor,IPerspective,ISpaceAction,ISpaceExecutor,ISpaceObject,ISpaceProcess,ITableDataConsumer,ITypedPropertyObject
- All Known Implementing Classes:
AbstractChartDataConsumer,AbstractEnvironmentSpace,AbstractInteractionPlugin,AbstractTask,CategoryChartDataConsumer,ContinuousSpace2D,ContinuousSpace3D,CSVFileDataConsumer,DefaultBDIVisionProcessor,DefaultObjectCreationProcess,DefaultVisionGenerator,DefaultVisionGenerator,DeltaTimeExecutor,DrawableCombiner,DrawableCombiner3d,EvaluationPlugin,GetPosition,GetPosition,Grid2D,Grid3D,HistogramDataConsumer,InteractionTestPlugin,Perspective2D,Perspective3D,RoundBasedExecutor,ServiceVisionProcessor,SetPosition,SetPosition,SimplePropertyObject,Space2D,Space2D.KdTreeProcess,Space3D,SpaceObject,SynchronizedPropertyObject,TimeChartDataConsumer,TypedPropertyObject,XYChartDataConsumer
public interface IPropertyObjectInterface for property-holding objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetProperty(java.lang.String name)Returns a property.java.util.SetgetPropertyNames()Returns all of the properties.booleanhasProperty(java.lang.String name)Tests if the given property name exists If an property isnullit existsvoidsetProperty(java.lang.String name, java.lang.Object value)Sets a property
-
-
-
Method Detail
-
getProperty
java.lang.Object getProperty(java.lang.String name)
Returns a property.- Parameters:
name- name of the property- Returns:
- the property
-
getPropertyNames
java.util.Set getPropertyNames()
Returns all of the properties.- Returns:
- the properties
-
setProperty
void setProperty(java.lang.String name, java.lang.Object value)Sets a property- Parameters:
name- name of the propertyvalue- value of the property
-
hasProperty
boolean hasProperty(java.lang.String name)
Tests if the given property name exists If an property isnullit exists- Parameters:
name- the name of the property to test- Returns:
trueif and only if the property exists
-
-