Пример #1
0
 public static Results fromRef(EntityRef ref) {
   if (ref instanceof Entity) {
     return fromEntity((Entity) ref);
   }
   Results r = new Results();
   r.setRef(ref);
   return r;
 }
Пример #2
0
 public Results withRef(EntityRef ref) {
   setRef(ref);
   return this;
 }