-
- All Known Subinterfaces:
Observable,SharedGraphNode
- All Known Implementing Classes:
AbstractSharedGraphNode,Command,InsertElement,ListUpdate,RemoveElement,SetProperty
public interface ReflectiveDataObjectAn object with generically accessible properties.- Author:
- Bernhard Haumacher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Objectget(String field)Retrieves value of the field with the given name.StringjsonType()The type identifier for this concrete sub-type.default List<String>properties()All properties that are supported by this object.default voidset(String field, Object value)Sets the value of the property with the given name.
-
-
-
Method Detail
-
jsonType
String jsonType()
The type identifier for this concrete sub-type.
-
properties
default List<String> properties()
All properties that are supported by this object.- See Also:
get(String)
-
get
default Object get(String field)
Retrieves value of the field with the given name.- Parameters:
field- The name of the property.- Returns:
- The value of the property with the given name.
- See Also:
properties()
-
set
default void set(String field, Object value)
Sets the value of the property with the given name.- Parameters:
field- The name of the property to update.value- The new value of the property.- See Also:
get(String)
-
-