asnSet.getValueType().setAnalyzePriorToIndexing(false);
asnSet.getValueType().setRequired(true);
asnSet.getValueType().setRdfPredicate(asnSet.getURNPrefix());
asnSet.getValueType().setRdfValueField("rdf.rating.value");
asnSet.getValueType().setValueTypeName(AsnValueType.VALUE_TYPENAME_CONSTRAINED);
AsnSupportedValues supported = new AsnSupportedValues();
supported.add("urn:esri:geoportal:rating:value:up");
supported.add("urn:esri:geoportal:rating:value:down");
asnSet.getValueType().setSupportedValues(supported);
// value
AsnValue asnValue = new AsnValue();
asnValue.setValueType(asnSet.getValueType().duplicate());