T
- entity typepublic interface CopyingSystemState<T>
Object
.
Some framework mechanisms copy entity instances by copying the state of all properties known to metadata (let's
call it "main" state). If you want the "system" state to be copied along with the main state, implement this
interface and copy the state in the copyFrom(Object)
method.
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(T source)
Invoked by the framework when copying the entity instance.
|
void copyFrom(T source)
source
- source entity