public override void update() { CswNbtMetaDataObjectClass RegListOC = _CswNbtSchemaModTrnsctn.MetaData.getObjectClass( CswEnumNbtObjectClass.RegulatoryListClass ); CswNbtMetaDataObjectClassProp RegionsOCP = _CswNbtSchemaModTrnsctn.createObjectClassProp( RegListOC, new CswNbtWcfMetaDataModel.ObjectClassProp { PropName = CswNbtObjClassRegulatoryList.PropertyName.Regions, FieldType = CswEnumNbtFieldType.MultiList } ); // Update ListModeOCP options CswNbtMetaDataObjectClassProp ListModeOCP = RegListOC.getObjectClassProp( CswNbtObjClassRegulatoryList.PropertyName.ListMode ); _CswNbtSchemaModTrnsctn.MetaData.UpdateObjectClassProp( ListModeOCP, CswEnumNbtObjectClassPropAttributes.listoptions, CswNbtObjClassRegulatoryList.CswEnumRegulatoryListListModes.Options.ToString() ); // Set conditional filter RegionsOCP.setFilterDeprecated( FilterProp: ListModeOCP, SubField: ListModeOCP.getFieldTypeRule().SubFields.Default, FilterMode: CswEnumNbtFilterMode.Equals, FilterValue: CswNbtObjClassRegulatoryList.CswEnumRegulatoryListListModes.ArielManaged ); } // update()