Package jadex.common
Interface IPropertyObject
public interface IPropertyObject
Interface for property-holding objects.
-
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String name) Returns a property.Returns all of the properties.booleanhasProperty(String name) Tests if the given property name exists If an property isnullit existsvoidsetProperty(String name, Object value) Sets a property
-
Method Details
-
getProperty
Returns a property.- Parameters:
name- name of the property- Returns:
- the property
-
getPropertyNames
Set getPropertyNames()Returns all of the properties.- Returns:
- the properties
-
setProperty
Sets a property- Parameters:
name- name of the propertyvalue- value of the property
-
hasProperty
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
-