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