Interface IRelatedData
public interface IRelatedData
-
Method Summary
Modifier and TypeMethodDescriptionreturns a map of all related data useful for copy/serialization the key is a Long that represents the thingid of the related objectget base thingIDwill result in a DB call unless object is loadedint
get the relation IDvoid
useful to re-initialize object will unload any mapsvoid
setBaseThingID
(IThingID thingID) set the base thingID that data operations will run against will clear out any loaded datavoid
creates a relationship From baseThingID To thingID, and sets this datavoid
setRelation
(int relation) set the relation ID will clear out any loaded data
-
Method Details
-
getBaseThingID
IThingID getBaseThingID()get base thingID -
setBaseThingID
set the base thingID that data operations will run against will clear out any loaded data -
getRelation
int getRelation()get the relation ID -
setRelation
void setRelation(int relation) set the relation ID will clear out any loaded data -
init
useful to re-initialize object will unload any maps -
getData
will result in a DB call unless object is loaded- Throws:
MetaException
-
setData
creates a relationship From baseThingID To thingID, and sets this data- Throws:
MetaException
-
getAllRelated
returns a map of all related data useful for copy/serialization the key is a Long that represents the thingid of the related object- Throws:
MetaException
-