return ret;
}
public EObjectReference createObjectReference(ObjectReference objectReference)
{
EObjectReference ret=null;
if(!(objectReference instanceof StringReference))
ret=new EObjectReference();
else
{
ret=new EStringReference();
((EStringReference)ret).setStringValue(((StringReference)objectReference).value());
}
ret.setReferenceType(createQueryReferenceType(objectReference.referenceType()));
ret.setUniqueId(objectReference.uniqueID());
JPAManager.getJPAManager().getEntityManager().persist(ret);
return ret;
}