public void setEntityType(EntityType type) {
        this.type = type;
    }
Sets the type of object represented by the entity. Each entity may be
either a user or a user group.

@param type
    The type of object represented by the entity.
extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/base/EntityModel.java