public EntityType getEntityType() {
        return type;
    }
Returns the type of object represented by the entity. Each entity may be
either a user or a user group.

@return
    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