EnumVARIANT<OCDocumentNumeratorMetadataObject> enumV = new EnumVARIANT<OCDocumentNumeratorMetadataObject>(this) {
@Override
protected OCDocumentNumeratorMetadataObject castToGeneric(JIVariant variant) {
try {
return new OCDocumentNumeratorMetadataObject(variant);
} catch (JIException e) {
throw new RuntimeException(e);
}
}
};