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 Objectget(String propUri)Returns the prop value mapped to the given prop URI, ornullif no value is mapped.booleangetBoolean(String propUri)Convenience getter.intgetInt(String propUri)Convenience getter.StringgetString(String propUri)Convenience getter.ViewPropsset(String propUri, Object value)voidstore(DMXObject object)-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface systems.dmx.core.JSONEnabled
dump, toJSON
-
-