return ret;
}
private EObjectEventStamp createObjectEventStamp(ObjectReference objectReference)
{
EObjectEventStamp ret = new EObjectEventStamp();
ret.setObjectReference(createQueryObjectReference(objectReference));
ret.setObjectFieldValues(new HashSet<EFieldValueEventStamp>());
EFieldValueEventStamp fieldValue = null;
for(Field field : objectReference.referenceType().allFields())
{
if(field.isStatic())
continue;
fieldValue = new EFieldValueEventStamp();
fieldValue.setField(createQueryField(field));
fieldValue.setObjectEventStamp(ret);
fieldValue.setValue(getValue(objectReference.getValue(field)));
ret.getObjectFieldValues().add(fieldValue);
}
JPAManager.getJPAManager().getEntityManager().persist(ret);
//ret.setEvent(currentEEvent);