
com.evento.common.modeling.state.SerializedAggregateState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of evento-common Show documentation
Show all versions of evento-common Show documentation
Common Library of Object and Algorithms for Evento Framework
The newest version!
package com.evento.common.modeling.state;
import com.evento.common.modeling.common.SerializedObject;
/**
* Represents a serialized aggregate state that can be converted to and from a string representation.
* The serialized aggregate state is a subclass of the SerializedObject class.
*
* @param the type of the serialized aggregate state, which must extend the AggregateState class
*/
public class SerializedAggregateState extends SerializedObject {
/**
* Creates a new SerializedAggregateState object with the specified object.
*
* @param object the object to be serialized
*/
public SerializedAggregateState(T object) {
super(object);
}
/**
* Represents a serialized aggregate state that can be converted to and from a string representation.
* The serialized aggregate state is a subclass of the SerializedObject class.
*
*/
public SerializedAggregateState() {
}
/**
* Retrieves the aggregate state from the serialized aggregate state.
*
* @return the aggregate state
*/
public T getAggregateState() {
return getObject();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy