code: public <T extends ListValue> Collection<T> listTypeValues(
              Class<T> valuesClass) {
          IAssetType typeToGet = instance.getMetaModel().getAssetType(
                  V1Instance.getAssetTypeToken(valuesClass));
          Query query = new Query(typeToGet);
          FilterTerm assetStateTerm = new FilterTerm(typeToGet
                  .getAttributeDefinition("AssetState"));
  
          assetStateTerm.notEqual(AssetState.Closed);
          query.setFilter(new AndFilterTerm(
                  new IFilterTerm[]{assetStateTerm}));
          return instance.queryToEntityEnum(valuesClass, query);
      }
docs: Gets the active values of a standard list type.
  
  @param <T>         The type of Entity that represents the V1 List Type.
  @param valuesClass T Class.
  @return A list of active values for this list type.