public class SimpleSerializableState extends SerializableState
SerializableState
representation that reads all ObjectInstance
and
Value
objects stored in a State
and represents their information
with SimpleSerializedObjectInstance
and SimpleSerializedValue
instances. Deserialized State
objects are MutableState
instances.Modifier and Type | Field and Description |
---|---|
java.util.List<SimpleSerializedObjectInstance> |
objects |
Constructor and Description |
---|
SimpleSerializableState() |
SimpleSerializableState(State s) |
Modifier and Type | Method and Description |
---|---|
State |
deserialize(Domain domain)
Unpacks this
SerializableState into an actual State
in which the ObjectClass , Attribute and other Domain
information refers to the provided Domain . |
void |
serialize(State s)
Causes this object to be a serializable representation of the input
State |
deserializeStates
public java.util.List<SimpleSerializedObjectInstance> objects
public SimpleSerializableState()
public SimpleSerializableState(State s)
public void serialize(State s)
SerializableState
State
serialize
in class SerializableState
s
- the State
to be represented by this object.public State deserialize(Domain domain)
SerializableState
SerializableState
into an actual State
in which the ObjectClass
, Attribute
and other Domain
information refers to the provided Domain
.deserialize
in class SerializableState
domain
- The Domain
specifying ObjectClass
and Attribute
information.State
corresponding to this SerializableState