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