comparison src/main/java/org/mpi/openmind/cache/WrapperService.java @ 54:7f9033d44a87

small cleanup.
author casties
date Fri, 04 Nov 2016 18:16:04 +0100
parents 3a3362f78d48
children b7a8db041f68
comparison
equal deleted inserted replaced
53:3a3362f78d48 54:7f9033d44a87
981 981
982 return list; 982 return list;
983 } 983 }
984 984
985 /** 985 /**
986 * Load and attach the Attributes and Relations of the given Entity.
987 *
988 * Tries to loads from cache first and then from DB, saving to cache.
989 *
990 * Returns a cloned Entity.
991 *
986 * This method should not be used inside this Wrapper class, because it 992 * This method should not be used inside this Wrapper class, because it
987 * could throws an java.util.ConcurrentModificationException. 993 * could throw a java.util.ConcurrentModificationException.
988 * 994 *
989 * @param ent 995 * @param ent
990 * @return 996 * @return
991 */ 997 */
992 public Entity getEntityContent(Entity ent) { 998 public Entity getEntityContent(Entity ent) {