public Entity newEntity(Entity e) {
	Entity res = newEntity(e.getId());
	res.getOther().addAll(e.getOther());
	res.getType().addAll(e.getType());
	res.getLabel().addAll(e.getLabel());
	res.getLocation().addAll(e.getLocation());
	return res;
    }
public Entity newEntity ( Entity e ) { Entity res = newEntity ( e . getId ( ) ) ; res . getOther ( ) . addAll ( e . getOther ( ) ) ; res . getType ( ) . addAll ( e . getType ( ) ) ; res . getLabel ( ) . addAll ( e . getLabel ( ) ) ; res . getLocation ( ) . addAll ( e . getLocation ( ) ) ; return res ; }
Creates a copy of an entity. The copy is shallow in the sense that the new Entity shares the same attributes as the original Entity.
@param e an {@link Entity} to copy
@return a copy of the input {@link Entity}