private ILockableEntityGroup lockableInstanceFromResultSet(ResultSet rs)
            throws SQLException, GroupsException {
        ILockableEntityGroup eg = null;

        String key = rs.getString(1);
        String creatorID = rs.getString(2);
        Integer entityTypeID = rs.getInt(3);
        Class entityType = EntityTypesLocator.getEntityTypes().getEntityTypeFromID(entityTypeID);
        String groupName = rs.getString(4);
        String description = rs.getString(5);

        if (key != null) {
            eg = newLockableInstance(key, entityType, creatorID, groupName, description);
        }

        return eg;
    }
private ILockableEntityGroup lockableInstanceFromResultSet ( ResultSet rs ) throws SQLException , GroupsException { ILockableEntityGroup eg = null ; String key = rs . getString ( 1 ) ; String creatorID = rs . getString ( 2 ) ; Integer entityTypeID = rs . getInt ( 3 ) ; Class entityType = EntityTypesLocator . getEntityTypes ( ) . getEntityTypeFromID ( entityTypeID ) ; String groupName = rs . getString ( 4 ) ; String description = rs . getString ( 5 ) ; if ( key != null ) { eg = newLockableInstance ( key , entityType , creatorID , groupName , description ) ; } return eg ; }
Find and return an instance of the group.

@param rs the SQL result set
@return ILockableEntityGroup