state

public final S state()

Obtains the state of the entity.

If the state of the entity was not initialized, it is set to default value and returned.

Return

the current state or default state value