Package com.codingchili.core.storage
Interface NestedStorable
- All Superinterfaces:
Cloneable
,Comparable
,Serializable
,io.vertx.core.shareddata.Shareable
,Storable
- All Known Implementing Classes:
NestedObject
Must be implemented by objects that are nested into Storables.
Removes the need for implementing id() method.
-
Field Summary
-
Method Summary
Methods inherited from interface io.vertx.core.shareddata.Shareable
copy
Methods inherited from interface com.codingchili.core.storage.Storable
compareTo, compareToAttribute
-
Method Details
-
getId
Description copied from interface:Storable
Get the id of the storable item, used as a key to the map api. This field is not included when serializing to JSON. When serializing to json the id must be kept separately.instead of implementing this method, to avoid duplicate values in values as keys; implement hashCode based on an unique attribute combination.
-