Entities abstract class to implement common things about all groups of entities.
Entities can be added, removed, updated, and retrieved.
781782783784785786787
public static Entities convertToENTITIES(String s) { if ((s == null) || s.equals("")){ return null; } return new Entities(s); }
786787788789790791792
822823824825826827828
787788789790791792793
461462463464465466467
public static Entity convertToENTITY(String s) { return new Entity(s); } public static Entities convertToENTITIES(String s) { return new Entities(s); }
6465666768697071727374757677787980
private void deleteEntities(final Entities[] entitiesTab) throws ActionException { for (int i = 0; i < entitiesTab.length; i++) { final Entities entities = entitiesTab[i]; final Collection entitiesCollection = new Vector(entities.getCollection()); for (final Iterator iter = entitiesCollection.iterator(); iter .hasNext();) { final Entity entity = (Entity) iter.next(); entities.remove(entity); } } }