Package systems.dmx.core.model.topicmaps
Interface ViewProps
-
- All Superinterfaces:
Iterable<String>
,JSONEnabled
public interface ViewProps extends Iterable<String>, JSONEnabled
A mapping of prop URIs (strings) to prop values (objects). Used to hold and transport view properties. There are (de)serialzation and store-to-DB facilities.Note: ViewTopic/ViewAssoc extends a core model class. Core model classes can only be instantiated through the model factory. The newViewTopic/Assoc calls expect a ViewProps object. That's why ViewProps is specified in the Core as well despite ViewProps does not extend a core model class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
get(String propUri)
Returns the prop value mapped to the given prop URI, ornull
if no value is mapped.boolean
getBoolean(String propUri)
Convenience getter.int
getInt(String propUri)
Convenience getter.String
getString(String propUri)
Convenience getter.ViewProps
set(String propUri, Object value)
void
store(DMXObject object)
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface systems.dmx.core.JSONEnabled
dump, toJSON
-
-