package entity
- Alphabetic
- Public
- Protected
Type Members
- class AssigningGUIDException extends GUIDException
The general complaint for an instance where an entity can not be assigned the given global unique identifier number.
- abstract class GUIDException extends RuntimeException
The base for all complaints that can be raised regarding the management of global unique identifier numbers.
- trait Identifiable extends AnyRef
Identifiable represents anything that has its own globally unique identifier (GUID).
- abstract class IdentifiableEntity extends Identifiable
Represent any entity that must have its own valid global unique identifier (GUID) to be functional.
The basic design philosophy of the workflow of a GUID at this stage is a deterministic state machine.Represent any entity that must have its own valid global unique identifier (GUID) to be functional.
The basic design philosophy of the workflow of a GUID at this stage is a deterministic state machine. At the start, anException
will be thrown while the default conditions of the accessor and mutator are maintained. ("The ability to set a new valid GUID".) Only a valid GUID may be set and, once it does, that changes the conditions of the accessor and mutator to one where it will return the valid GUID and one where it will no longer accept a new GUID (valid or invalid). That GUID will continue being the GUID reported by the object, even if another valid GUID tries to be set. (No error or exception will be thrown.) To set a new GUID, the current one must be invalidated with the appropriate function, and this turns both the object and any object reference that can be acquired from the object "stale." Doing this prior to setting the initial valid GUID is fruitless as it restores the object to its default mutation option ("the ability to set a new valid GUID"). Access to the GUID is retained. This can be done as many times as is necessary by following the same order of actions.
The "staleness" of the object and the "staleness" of the GUID are related. The condition in general indicates that the object has somehow become externally disconnected from its GUID reference though the two still share something similar to their prior relationship internally. Do not expect a "stale" GUID to refer to the same object through some mapping mechanism. Do not expect a "stale" object to give you a GUID that will map back to itself.- Exceptions thrown
`NoGUIDException`
if a GUID has not yet been assigned
- class NoGUIDException extends GUIDException
The specific complaint for an instance where an entity does not possess a global unique identifier number but the said number is requested.
The specific complaint for an instance where an entity does not possess a global unique identifier number but the said number is requested. In general, this
Exception
is only thrown if the entity has never been registered, or provided the bare minimum or registration benefits. - class SimpleWorldEntity extends WorldEntity
- trait WorldEntity extends AnyRef
Value Members
- object AssigningGUIDException extends Serializable
- object IdentifiableEntity
- object NoGUIDException extends Serializable
- object SimpleWorldEntity
- object WorldEntity