Class ContextFreezeDryer
java.lang.Object
repast.simphony.freezedry.AbstractFreezeDryer<DefaultContext<?>>
repast.simphony.freezedry.freezedryers.ContextFreezeDryer
- All Implemented Interfaces:
FreezeDryer<DefaultContext<?>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class repast.simphony.freezedry.AbstractFreezeDryer
registry
Fields inherited from interface repast.simphony.freezedry.FreezeDryer
CLASS_MARKER, ID_MARKER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfreezeDry
(String id, DefaultContext<?> context) protected Iterable
getIterable
(FreezeDryedObject fdo, String key) protected Projection
getProjection
(Object obj, String key) boolean
protected DefaultContext
protected void
loadChildren
(FreezeDryedObject fdo, DefaultContext context) protected void
loadNormalProjections
(FreezeDryedObject fdo, Context context) protected void
loadProjections
(FreezeDryedObject fdo, Context context) protected void
loadPropertyProjections
(FreezeDryedObject fdo, Context context) protected void
storeChildren
(FreezeDryedObject fdo, Context context) protected void
storeMetaData
(FreezeDryedObject fdo, DefaultContext<?> context) protected void
storeProjections
(FreezeDryedObject fdo, Context<?> context) Methods inherited from class repast.simphony.freezedry.AbstractFreezeDryer
getChild, getString, getVal, getVal
-
Field Details
-
VALUE_LAYERS_KEY
- See Also:
-
CONTEXT_TYPE_ID_KEY
- See Also:
-
CONTEXT_ID_KEY
- See Also:
-
PROPERTY_PROJECTIONS_KEY
- See Also:
-
NORMAL_PROJECTIONS_KEY
- See Also:
-
PROJECTION_TYPE_KEY
- See Also:
-
-
Constructor Details
-
ContextFreezeDryer
-
-
Method Details
-
freezeDry
public FreezeDryedObject freezeDry(String id, DefaultContext<?> context) throws FreezeDryingException - Throws:
FreezeDryingException
-
storeMetaData
-
storeChildren
- Throws:
FreezeDryingException
-
storeProjections
protected void storeProjections(FreezeDryedObject fdo, Context<?> context) throws FreezeDryingException - Throws:
FreezeDryingException
-
rehydrate
- Throws:
FreezeDryingException
-
getIterable
- Throws:
FreezeDryingException
-
getProjection
- Throws:
FreezeDryingException
-
instantiate
- Throws:
FreezeDryingException
-
loadChildren
protected void loadChildren(FreezeDryedObject fdo, DefaultContext context) throws FreezeDryingException - Throws:
FreezeDryingException
-
loadPropertyProjections
protected void loadPropertyProjections(FreezeDryedObject fdo, Context context) throws FreezeDryingException - Throws:
FreezeDryingException
-
loadNormalProjections
protected void loadNormalProjections(FreezeDryedObject fdo, Context context) throws FreezeDryingException - Throws:
FreezeDryingException
-
loadProjections
- Throws:
FreezeDryingException
-
handles
-