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

    public EntityReference getChild()
    {
        return this.child;
    }

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

}