EntityID

public class EntityID implements Serializable

EntityID

This class is an abstraction layer for the entity id.

It also allows to link entities together, e.g. an Entity’s Property with the corresponding abstract Property, even when the abstract Property does not have a valid ID yet (during bulk inserts).

Author:

Timm Fitschen

Fields

DEFAULT_DOMAIN

public static final EntityID DEFAULT_DOMAIN

Constructors

EntityID

public EntityID()

EntityID

public EntityID(String id)

Methods

equals

public boolean equals(Object obj)

hasId

public boolean hasId()

hashCode

public int hashCode()

isReserved

public static boolean isReserved(EntityID id)

isTemporary

public boolean isTemporary()

link

public void link(EntityID entityId)

setId

public void setId(String id)

toString

public String toString()