public static Results fromRef(EntityRef ref) { if (ref instanceof Entity) { return fromEntity((Entity) ref); } Results r = new Results(); r.setRef(ref); return r; }
public Results withRef(EntityRef ref) { setRef(ref); return this; }