class EntityReference implements Serializable, Cloneable, Comparable<EntityReference> {

    @Override
    public int hashCode()
    {
        return toString().hashCode();
    }

    public  EntityReference(String name, EntityType type);
    public  EntityReference(String name, EntityType type, EntityReference parent);

}