I
- the type of the entity identifierS
- the type of the entity statepublic interface Entity<I,S extends io.spine.base.EntityState> extends WithLifecycle
Modifier and Type | Interface and Description |
---|---|
static class |
Entity.GenericParameter
Enumeration of generic type parameters of this interface.
|
Modifier and Type | Method and Description |
---|---|
I |
id()
Obtains the identifier of the entity.
|
default java.lang.String |
idAsString()
Obtains string representation of the entity identifier.
|
boolean |
lifecycleFlagsChanged()
Tells whether lifecycle flags of the entity changed since its initialization.
|
S |
state()
Obtains the state of the entity.
|
io.spine.core.Version |
version()
Obtains the version of the entity.
|
getLifecycleFlags, isActive, isArchived, isDeleted, lifecycleFlags
I id()
default java.lang.String idAsString()
S state()
boolean lifecycleFlagsChanged()
io.spine.core.Version version()