当前位置: 首页>>代码示例>>C#>>正文


C# IElementDef.DefineVersionInfo方法代码示例

本文整理汇总了C#中IElementDef.DefineVersionInfo方法的典型用法代码示例。如果您正苦于以下问题:C# IElementDef.DefineVersionInfo方法的具体用法?C# IElementDef.DefineVersionInfo怎么用?C# IElementDef.DefineVersionInfo使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IElementDef的用法示例。


在下文中一共展示了IElementDef.DefineVersionInfo方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Load

        public override void Load()
        {
            //  Objects defined by this SDO Library...

            BUS = new ElementDefImpl( null, "Bus", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF11, SifVersion.SIF11 );
            BUSDRIVER = new ElementDefImpl( null, "BusDriver", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            BUSEQUIPMENT = new ElementDefImpl( null, "BusEquipment", null, 0, SifDtd.TRANS, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF26 );
            BUSINFO = new ElementDefImpl( null, "BusInfo", null, 0, SifDtd.TRANS, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF26 );
            BUSPOSITIONINFO = new ElementDefImpl( null, "BusPositionInfo", null, 0, SifDtd.TRANS, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF26 );
            BUSROUTEDETAIL = new ElementDefImpl( null, "BusRouteDetail", null, 0, SifDtd.TRANS, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF26 );
            BUSROUTEINFO = new ElementDefImpl( null, "BusRouteInfo", null, 0, SifDtd.TRANS, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF26 );
            BUSSTAFF = new ElementDefImpl( null, "BusStaff", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            BUSSTAFFLIST = new ElementDefImpl( null, "BusStaffList", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF20, SifVersion.SIF26 );
            BUSSTOP = new ElementDefImpl( null, "BusStop", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF11, SifVersion.SIF11 );
            BUSSTOPINFO = new ElementDefImpl( null, "BusStopInfo", null, 0, SifDtd.TRANS, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF26 );
            DESTINATIONPOINT = new ElementDefImpl( null, "DestinationPoint", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF22, SifVersion.SIF26 );
            DISEMBARKBUSROUTEDETAIL = new ElementDefImpl( null, "DisembarkBusRouteDetail", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.STRING );
            DISTANCE = new ElementDefImpl( null, "Distance", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.DECIMAL );
            EMBARKBUSROUTEDETAIL = new ElementDefImpl( null, "EmbarkBusRouteDetail", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.STRING );
            EMPLINK = new ElementDefImpl( null, "EmpLink", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            EQUIPMENT = new ElementDefImpl( null, "Equipment", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF11, SifVersion.SIF26 );
            EQUIPMENTLIST = new ElementDefImpl( null, "EquipmentList", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF11, SifVersion.SIF26 );
            HOMEBUSROUTEDETAIL = new ElementDefImpl( null, "HomeBusRouteDetail", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.STRING );
            HOMEBUSROUTEDETAIL.DefineVersionInfo(SifVersion.SIF15r1, "~HomeBusRouteDetail/@BusRouteDetailRefId", 0, (0)); // (Sif 15r1 alias)
            ODOMETER = new ElementDefImpl( null, "Odometer", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.DECIMAL );
            ORIGINPOINT = new ElementDefImpl( null, "OriginPoint", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF22, SifVersion.SIF26 );
            ROUTESTATUS = new ElementDefImpl( null, "RouteStatus", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            SCHOOLBUSROUTEDETAIL = new ElementDefImpl( null, "SchoolBusRouteDetail", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.STRING );
            SPEEDOMETER = new ElementDefImpl( null, "Speedometer", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.DECIMAL );
            STUDENTTRANSPORTINFO = new ElementDefImpl( null, "StudentTransportInfo", null, 0, SifDtd.TRANS, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF26 );
            TELEMETRY = new ElementDefImpl( null, "Telemetry", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            TELEMETRYLIST = new ElementDefImpl( null, "TelemetryList", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            TRANSFERPOINT = new ElementDefImpl( null, "TransferPoint", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF11, SifVersion.SIF26 );
            TRANSFERPOINTS = new ElementDefImpl( null, "TransferPoints", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF11, SifVersion.SIF26 );
            TRANSSTUDENT = new ElementDefImpl( null, "TransStudent", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            TRANSSTUDENTS = new ElementDefImpl( null, "TransStudents", null, 0, SifDtd.TRANS, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );

            // <Bus> fields (1 entries)
            TransDTD.BUS_BUSINFOREFID = new ElementDefImpl( BUS, "BusInfoRefId", null, 1, SifDtd.TRANS, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF11, SifVersion.SIF11, SifTypeConverters.STRING );

            // <BusDriver> fields (3 entries)
            TransDTD.BUSDRIVER_STATUS = new ElementDefImpl( BUSDRIVER, "Status", null, 1, SifDtd.TRANS, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            TransDTD.BUSDRIVER_STATUS.DefineVersionInfo(SifVersion.SIF20, "Status", 3, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            TransDTD.BUSDRIVER_NAME = new ElementDefImpl( BUSDRIVER, "Name", null, 2, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            TransDTD.BUSDRIVER_NAME.DefineVersionInfo(SifVersion.SIF20, "Name", 1, 0); // (Sif 20 alias)
            TransDTD.BUSDRIVER_EMPLOYEEPERSONALREFID = new ElementDefImpl( BUSDRIVER, "EmployeePersonalRefId", "~XPathSurrogate{EmpLink/@EmployeePersonalRefId=.}EmpLink", 3, SifDtd.TRANS, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            TransDTD.BUSDRIVER_EMPLOYEEPERSONALREFID.DefineVersionInfo(SifVersion.SIF20, "EmployeePersonalRefId", 2, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)

            // <BusEquipment> fields (2 entries)
            TransDTD.BUSEQUIPMENT_REFID = new ElementDefImpl( BUSEQUIPMENT, "RefId", null, 1, SifDtd.TRANS, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.STRING );
            TransDTD.BUSEQUIPMENT_DESCRIPTION = new ElementDefImpl( BUSEQUIPMENT, "Description", null, 2, SifDtd.TRANS, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.STRING );
            BUSEQUIPMENT_SIF_EXTENDEDELEMENTS = new ElementDefImpl( BUSEQUIPMENT, "SIF_ExtendedElements", null, 127, SifDtd.GLOBAL, null, (0), SifVersion.SIF15r1, SifVersion.SIF26 );
            BUSEQUIPMENT_SIF_METADATA = new ElementDefImpl( BUSEQUIPMENT, "SIF_Metadata", null, 128, SifDtd.DATAMODEL, "us", (0), SifVersion.SIF20, SifVersion.SIF26 );

            // <BusInfo> fields (8 entries)
            TransDTD.BUSINFO_REFID = new ElementDefImpl( BUSINFO, "RefId", null, 1, SifDtd.TRANS, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.STRING );
            TransDTD.BUSINFO_VEHICLENUMBER = new ElementDefImpl( BUSINFO, "VehicleNumber", null, 2, SifDtd.TRANS, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.STRING );
            TransDTD.BUSINFO_VEHICLENUMBER.DefineVersionInfo(SifVersion.SIF20, "VehicleNumber", 2, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            TransDTD.BUSINFO_SEATINGCAPACITY = new ElementDefImpl( BUSINFO, "SeatingCapacity", null, 3, SifDtd.TRANS, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.INT );
            TransDTD.BUSINFO_CONTRACTOR = new ElementDefImpl( BUSINFO, "Contractor", null, 4, SifDtd.TRANS, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.STRING );
            TransDTD.BUSINFO_EQUIPMENTLIST = new ElementDefImpl( BUSINFO, "EquipmentList", null, 5, SifDtd.TRANS, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF11, SifVersion.SIF26 );
            TransDTD.BUSINFO_EQUIPMENTLIST.DefineVersionInfo(SifVersion.SIF20, "EquipmentList", 5, 0); // (Sif 20 alias)
            TransDTD.BUSINFO_MANUFACTUREYEAR = new ElementDefImpl( BUSINFO, "ManufactureYear", null, 6, SifDtd.TRANS, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF21, SifVersion.SIF26, SifTypeConverters.INT );
            TransDTD.BUSINFO_VEHICLEIDENTIFICATIONNUMBER = new ElementDefImpl( BUSINFO, "VehicleIdentificationNumber", null, 7, SifDtd.TRANS, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF21, SifVersion.SIF26, SifTypeConverters.STRING );
            TransDTD.BUSINFO_LICENSEPLATENUMBER = new ElementDefImpl( BUSINFO, "LicensePlateNumber", null, 8, SifDtd.TRANS, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF21, SifVersion.SIF26, SifTypeConverters.STRING );
            BUSINFO_SIF_EXTENDEDELEMENTS = new ElementDefImpl( BUSINFO, "SIF_ExtendedElements", null, 127, SifDtd.GLOBAL, null, (0), SifVersion.SIF15r1, SifVersion.SIF26 );
            BUSINFO_SIF_METADATA = new ElementDefImpl( BUSINFO, "SIF_Metadata", null, 128, SifDtd.DATAMODEL, "us", (0), SifVersion.SIF20, SifVersion.SIF26 );

            // <BusPositionInfo> fields (13 entries)
            TransDTD.BUSPOSITIONINFO_BUSINFOREFID = new ElementDefImpl( BUSPOSITIONINFO, "BusInfoRefId", null, 1, SifDtd.TRANS, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            TransDTD.BUSPOSITIONINFO_DATE = new ElementDefImpl( BUSPOSITIONINFO, "Date", null, 2, SifDtd.TRANS, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.DATE );
            TransDTD.BUSPOSITIONINFO_DATE.DefineVersionInfo(SifVersion.SIF20, "Date", 2, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            TransDTD.BUSPOSITIONINFO_TIME = new ElementDefImpl( BUSPOSITIONINFO, "Time", "~SIFTimeSurrogate{}", 3, SifDtd.TRANS, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.TIME );
            TransDTD.BUSPOSITIONINFO_TIME.DefineVersionInfo(SifVersion.SIF20, "Time", 3, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            TransDTD.BUSPOSITIONINFO_GRIDLOCATION = new ElementDefImpl( BUSPOSITIONINFO, "GridLocation", null, 4, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            TransDTD.BUSPOSITIONINFO_GRIDLOCATION.DefineVersionInfo(SifVersion.SIF20, "GridLocation", 4, 0); // (Sif 20 alias)
            TransDTD.BUSPOSITIONINFO_TELEMATICSID = new ElementDefImpl( BUSPOSITIONINFO, "TelematicsId", null, 5, SifDtd.TRANS, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            TransDTD.BUSPOSITIONINFO_TELEMETRYLIST = new ElementDefImpl( BUSPOSITIONINFO, "TelemetryList", null, 6, SifDtd.TRANS, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF15r1, SifVersion.SIF26 );
            TransDTD.BUSPOSITIONINFO_TELEMETRYLIST.DefineVersionInfo(SifVersion.SIF20, "TelemetryList", 6, 0); // (Sif 20 alias)
            TransDTD.BUSPOSITIONINFO_BUSDRIVER = new ElementDefImpl( BUSPOSITIONINFO, "BusDriver", null, 7, SifDtd.TRANS, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            TransDTD.BUSPOSITIONINFO_BUSSTAFFLIST = new ElementDefImpl( BUSPOSITIONINFO, "BusStaffList", null, 8, SifDtd.TRANS, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF15r1, SifVersion.SIF26 );
            TransDTD.BUSPOSITIONINFO_BUSSTAFFLIST.DefineVersionInfo(SifVersion.SIF20, "BusStaffList", 8, 0); // (Sif 20 alias)
            TransDTD.BUSPOSITIONINFO_ROUTESTATUS = new ElementDefImpl( BUSPOSITIONINFO, "RouteStatus", null, 9, SifDtd.TRANS, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            TransDTD.BUSPOSITIONINFO_ROUTESTATUS.DefineVersionInfo(SifVersion.SIF20, "RouteStatus", 9, 0); // (Sif 20 alias)
            TransDTD.BUSPOSITIONINFO_OTHERSTATUS = new ElementDefImpl( BUSPOSITIONINFO, "OtherStatus", null, 10, SifDtd.TRANS, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            TransDTD.BUSPOSITIONINFO_OTHERSTATUS.DefineVersionInfo(SifVersion.SIF20, "OtherStatus", 10, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            TransDTD.BUSPOSITIONINFO_ODOMETER = new ElementDefImpl( BUSPOSITIONINFO, "Odometer", null, 11, SifDtd.TRANS, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.DECIMAL );
            TransDTD.BUSPOSITIONINFO_SPEEDOMETER = new ElementDefImpl( BUSPOSITIONINFO, "Speedometer", null, 12, SifDtd.TRANS, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.DECIMAL );
            TransDTD.BUSPOSITIONINFO_STUDENTS = new ElementDefAlias( BUSPOSITIONINFO, "Students", null, "TransStudents", 13, SifDtd.TRANS, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF15r1, SifVersion.SIF26 );
            TransDTD.BUSPOSITIONINFO_STUDENTS.DefineVersionInfo(SifVersion.SIF20, "Students", 13, 0); // (Sif 20 alias)
            BUSPOSITIONINFO_SIF_EXTENDEDELEMENTS = new ElementDefImpl( BUSPOSITIONINFO, "SIF_ExtendedElements", null, 127, SifDtd.GLOBAL, null, (0), SifVersion.SIF15r1, SifVersion.SIF26 );
            BUSPOSITIONINFO_SIF_METADATA = new ElementDefImpl( BUSPOSITIONINFO, "SIF_Metadata", null, 128, SifDtd.DATAMODEL, "us", (0), SifVersion.SIF20, SifVersion.SIF26 );

            // <BusRouteDetail> fields (4 entries)
            TransDTD.BUSROUTEDETAIL_REFID = new ElementDefImpl( BUSROUTEDETAIL, "RefId", null, 1, SifDtd.TRANS, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.STRING );
            TransDTD.BUSROUTEDETAIL_BUSROUTEINFOREFID = new ElementDefImpl( BUSROUTEDETAIL, "BusRouteInfoRefId", null, 2, SifDtd.TRANS, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.STRING );
            TransDTD.BUSROUTEDETAIL_BUSSTOPINFOREFID = new ElementDefImpl( BUSROUTEDETAIL, "BusStopInfoRefId", "~XPathSurrogate{BusStop/@BusStopInfoRefId=.}BusStop", 3, SifDtd.TRANS, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.STRING );
            TransDTD.BUSROUTEDETAIL_BUSSTOPINFOREFID.DefineVersionInfo(SifVersion.SIF20, "BusStopInfoRefId", 3, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            TransDTD.BUSROUTEDETAIL_ARRIVALTIME = new ElementDefImpl( BUSROUTEDETAIL, "ArrivalTime", "~SIFTimeSurrogate{}", 4, SifDtd.TRANS, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF26, SifTypeConverters.TIME );
            TransDTD.BUSROUTEDETAIL_ARRIVALTIME.DefineVersionInfo(SifVersion.SIF20, "ArrivalTime", 4, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
//.........这里部分代码省略.........
开发者ID:rafidzal,项目名称:OpenADK-csharp,代码行数:101,代码来源:TransDTD.cs

示例2: Load

        public override void Load()
        {
            //  Objects defined by this SDO Library...

            AGENCIES = new ElementDefImpl( null, "Agencies", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            AGENCY = new ElementDefImpl( null, "Agency", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            COUNT = new ElementDefImpl( null, "Count", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            COUNTS = new ElementDefImpl( null, "Counts", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            CUSTOMER = new ElementDefImpl( null, "Customer", "FSCustomerId", 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            CUSTOMER.DefineVersionInfo(SifVersion.SIF20, "Customer", 0, (0)); // (Sif 20 alias)
            EARNEDSTATUS = new ElementDefImpl( null, "EarnedStatus", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            FOODSERVICEITEM = new ElementDefImpl( null, "FoodserviceItem", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FOODSERVICEITEMPORTION = new ElementDefImpl( null, "FoodserviceItemPortion", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FOODSERVICEITEMSALES = new ElementDefImpl( null, "FoodserviceItemSales", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FOODSERVICEITEMUNIT = new ElementDefImpl( null, "FoodserviceItemUnit", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FOODSERVICEMEALPRICES = new ElementDefImpl( null, "FoodserviceMealPrices", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FOODSERVICEMENUPLAN = new ElementDefImpl( null, "FoodserviceMenuPlan", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF20, SifVersion.SIF25 );
            FOODSERVICEMILKSALES = new ElementDefImpl( null, "FoodserviceMilkSales", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF20, SifVersion.SIF25 );
            FOODSERVICEPURCHASETRANSACTION = new ElementDefImpl( null, "FoodservicePurchaseTransaction", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF20, SifVersion.SIF25 );
            FOODSERVICEREIMBURSEMENTRATES = new ElementDefImpl( null, "FoodserviceReimbursementRates", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FOODSERVICESALES = new ElementDefImpl( null, "FoodserviceSales", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FOODSERVICESTAFFENROLLMENTCOUNT = new ElementDefImpl( null, "FoodserviceStaffEnrollmentCount", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF20, SifVersion.SIF25 );
            FOODSERVICESTAFFMEALCOUNTS = new ElementDefImpl( null, "FoodserviceStaffMealCounts", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF20, SifVersion.SIF25 );
            FOODSERVICESTUDENTENROLLMENTCOUNT = new ElementDefImpl( null, "FoodserviceStudentEnrollmentCount", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF20, SifVersion.SIF25 );
            FOODSERVICESTUDENTMEALCOUNTS = new ElementDefImpl( null, "FoodserviceStudentMealCounts", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF20, SifVersion.SIF25 );
            FOODSERVICETRANSACTION = new ElementDefImpl( null, "FoodserviceTransaction", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FOODSERVICETRANSACTIONDETAILS = new ElementDefImpl( null, "FoodserviceTransactionDetails", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FOODSERVICETRANSACTIONPAYMETHOD = new ElementDefImpl( null, "FoodserviceTransactionPayMethod", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FSAMOUNT = new ElementDefImpl( null, "FSAmount", "AmountEx", 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.DECIMAL );
            FSAMOUNT.DefineVersionInfo(SifVersion.SIF20, "Amount", 0, (0)); // (Sif 20 alias)
            FSAMOUNTS = new ElementDefImpl( null, "FSAmounts", "Amounts", 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            HISTORICALMEALSTATUS = new ElementDefImpl( null, "HistoricalMealStatus", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            ITEMQUANTITIES = new ElementDefImpl( null, "ItemQuantities", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            ITEMQUANTITY = new ElementDefImpl( null, "ItemQuantity", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            MEALSTATUS = new ElementDefImpl( null, "MealStatus", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            MENUPLANQUANTITIES = new ElementDefImpl( null, "MenuPlanQuantities", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            MENUPLANQUANTITY = new ElementDefImpl( null, "MenuPlanQuantity", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            PRICE = new ElementDefImpl( null, "Price", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            PRICES = new ElementDefImpl( null, "Prices", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            PURCHASEQUANTITIES = new ElementDefImpl( null, "PurchaseQuantities", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            PURCHASEQUANTITY = new ElementDefImpl( null, "PurchaseQuantity", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            RATE = new ElementDefImpl( null, "Rate", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            RATES = new ElementDefImpl( null, "Rates", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            SALEQUANTITIES = new ElementDefImpl( null, "SaleQuantities", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            SALEQUANTITY = new ElementDefImpl( null, "SaleQuantity", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            SALESAMOUNT = new ElementDefImpl( null, "SalesAmount", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.DECIMAL );
            SALESAMOUNTS = new ElementDefImpl( null, "SalesAmounts", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            STAFFMEAL = new ElementDefImpl( null, "StaffMeal", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            STUDENTMEAL = new ElementDefImpl( null, "StudentMeal", null, 0, SifDtd.FOOD, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            TRANSACTIONPAYMETHOD = new ElementDefImpl( null, "TransactionPayMethod", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            TRANSACTIONPAYMETHODS = new ElementDefImpl( null, "TransactionPayMethods", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            TRANSACTIONTYPE = new ElementDefImpl( null, "TransactionType", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            TRANSACTIONTYPES = new ElementDefImpl( null, "TransactionTypes", null, 0, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );

            // <Agencies> fields (1 entries)
            FoodDTD.AGENCIES_AGENCY = new ElementDefImpl( AGENCIES, "Agency", null, 1, SifDtd.FOOD, "us", (ElementDefImpl.FD_REPEATABLE), SifVersion.SIF20, SifVersion.SIF25 );

            // <Agency> fields (3 entries)
            FoodDTD.AGENCY_TYPE = new ElementDefImpl( AGENCY, "Type", null, 1, SifDtd.FOOD, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            FoodDTD.AGENCY_NAME = new ElementDefImpl( AGENCY, "Name", null, 2, SifDtd.FOOD, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            FoodDTD.AGENCY_NAME.DefineVersionInfo(SifVersion.SIF20, "Name", 2, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            FoodDTD.AGENCY_RATES = new ElementDefImpl( AGENCY, "Rates", null, 3, SifDtd.FOOD, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF15r1, SifVersion.SIF25 );
            FoodDTD.AGENCY_RATES.DefineVersionInfo(SifVersion.SIF20, "Rates", 3, 0); // (Sif 20 alias)

            // <Count> fields (6 entries)
            FoodDTD.COUNT_MEALSTATUS = new ElementDefImpl( COUNT, "MealStatus", null, 1, SifDtd.FOOD, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            FoodDTD.COUNT_EARNEDSTATUS = new ElementDefImpl( COUNT, "EarnedStatus", null, 2, SifDtd.FOOD, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            FoodDTD.COUNT_MEALTYPE = new ElementDefImpl( COUNT, "MealType", null, 3, SifDtd.FOOD, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            FoodDTD.COUNT_AMOUNT = new ElementDefAlias( COUNT, "Amount", null, "FSAmount", 4, SifDtd.FOOD, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.DECIMAL );
            FoodDTD.COUNT_TAX = new ElementDefAlias( COUNT, "Tax", null, "MonetaryAmount", 5, SifDtd.GLOBAL, null, 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.DECIMAL );
            FoodDTD.COUNT_VALUE = new ElementDefImpl( COUNT, "Value", null, 6, SifDtd.FOOD, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.DECIMAL );

            // <Counts> fields (1 entries)
            FoodDTD.COUNTS_COUNT = new ElementDefImpl( COUNTS, "Count", null, 1, SifDtd.FOOD, "us", (ElementDefImpl.FD_REPEATABLE), SifVersion.SIF20, SifVersion.SIF25 );

            // <FSCustomerId> fields (4 entries)
            FoodDTD.CUSTOMER_SIF_REFID = new ElementDefImpl( CUSTOMER, "SIF_RefId", "Value", 1, SifDtd.FOOD, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            FoodDTD.CUSTOMER_SIF_REFID.DefineVersionInfo(SifVersion.SIF20, "SIF_RefId", 1, (ElementDefImpl.FD_ATTRIBUTE)); // (Sif 20 alias)
            FoodDTD.CUSTOMER_SIF_REFOBJECT = new ElementDefImpl( CUSTOMER, "SIF_RefObject", "Type", 2, SifDtd.FOOD, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            FoodDTD.CUSTOMER_SIF_REFOBJECT.DefineVersionInfo(SifVersion.SIF20, "SIF_RefObject", 2, (ElementDefImpl.FD_ATTRIBUTE)); // (Sif 20 alias)
            FoodDTD.CUSTOMER_MEALSTATUS = new ElementDefImpl( CUSTOMER, "MealStatus", null, 3, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            FoodDTD.CUSTOMER_EARNEDSTATUS = new ElementDefImpl( CUSTOMER, "EarnedStatus", null, 4, SifDtd.FOOD, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );

            // <EarnedStatus> fields (3 entries)
            FoodDTD.EARNEDSTATUS_TYPE = new ElementDefImpl( EARNEDSTATUS, "Type", null, 1, SifDtd.FOOD, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            FoodDTD.EARNEDSTATUS_STARTDATE = new ElementDefImpl( EARNEDSTATUS, "StartDate", null, 2, SifDtd.FOOD, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.DATE );
            FoodDTD.EARNEDSTATUS_ENDDATE = new ElementDefImpl( EARNEDSTATUS, "EndDate", null, 3, SifDtd.FOOD, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.DATE );

            // <FoodserviceItem> fields (5 entries)
            FoodDTD.FOODSERVICEITEM_REFID = new ElementDefImpl( FOODSERVICEITEM, "RefId", null, 1, SifDtd.FOOD, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            FoodDTD.FOODSERVICEITEM_LOCALID = new ElementDefImpl( FOODSERVICEITEM, "LocalId", null, 2, SifDtd.FOOD, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            FoodDTD.FOODSERVICEITEM_DESCRIPTION = new ElementDefImpl( FOODSERVICEITEM, "Description", null, 3, SifDtd.FOOD, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            FoodDTD.FOODSERVICEITEM_ELECTRONICIDLIST = new ElementDefImpl( FOODSERVICEITEM, "ElectronicIdList", null, 4, SifDtd.COMMON, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF15r1, SifVersion.SIF25 );
            FoodDTD.FOODSERVICEITEM_ELECTRONICIDLIST.DefineVersionInfo(SifVersion.SIF20, "ElectronicIdList", 4, 0); // (Sif 20 alias)
            FoodDTD.FOODSERVICEITEM_ITEMCATEGORY = new ElementDefImpl( FOODSERVICEITEM, "ItemCategory", null, 5, SifDtd.FOOD, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            FOODSERVICEITEM_SIF_EXTENDEDELEMENTS = new ElementDefImpl( FOODSERVICEITEM, "SIF_ExtendedElements", null, 127, SifDtd.GLOBAL, null, (0), SifVersion.SIF15r1, SifVersion.SIF25 );
            FOODSERVICEITEM_SIF_METADATA = new ElementDefImpl( FOODSERVICEITEM, "SIF_Metadata", null, 128, SifDtd.DATAMODEL, "us", (0), SifVersion.SIF20, SifVersion.SIF25 );

            // <FoodserviceItemPortion> fields (5 entries)
            FoodDTD.FOODSERVICEITEMPORTION_REFID = new ElementDefImpl( FOODSERVICEITEMPORTION, "RefId", null, 1, SifDtd.FOOD, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
//.........这里部分代码省略.........
开发者ID:pgodwin,项目名称:OpenADK-csharp,代码行数:101,代码来源:FoodDTD.cs

示例3: Load

        public override void Load()
        {
            //  Objects defined by this SDO Library...

            ACTION = new ElementDefImpl( null, "Action", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            ACTIONLIST = new ElementDefImpl( null, "ActionList", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            ADMINISTRATORATTENDANCE = new ElementDefImpl( null, "AdministratorAttendance", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            AGENCYREPORTING = new ElementDefImpl( null, "AgencyReporting", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            ALERTMESSAGE = new ElementDefImpl( null, "AlertMessage", "AlertMsg", 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            ALERTMESSAGE.DefineVersionInfo(SifVersion.SIF20, "AlertMessage", 0, (0)); // (Sif 20 alias)
            ALERTMESSAGES = new ElementDefImpl( null, "AlertMessages", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            ATTENDANCECODEINFO = new ElementDefImpl( null, "AttendanceCodeInfo", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            BELLPERIOD = new ElementDefImpl( null, "BellPeriod", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            BELLPERIODLIST = new ElementDefImpl( null, "BellPeriodList", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            BELLSCHEDULE = new ElementDefImpl( null, "BellSchedule", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF24, SifVersion.SIF25 );
            BELLSCHEDULEDAY = new ElementDefImpl( null, "BellScheduleDay", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            BELLSCHEDULEDAYLIST = new ElementDefImpl( null, "BellScheduleDayList", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            CALENDARDATE = new ElementDefImpl( null, "CalendarDate", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF20, SifVersion.SIF25 );
            CALENDARDATETYPE = new ElementDefImpl( null, "CalendarDateType", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            CALENDARSUMMARY = new ElementDefImpl( null, "CalendarSummary", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF20, SifVersion.SIF25 );
            CONTACTFLAGS = new ElementDefImpl( null, "ContactFlags", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            COURSECREDITS = new ElementDefImpl( null, "CourseCredits", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.DECIMAL );
            CREDITSATTEMPTED = new ElementDefImpl( null, "CreditsAttempted", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            DISCIPLINEINCIDENT = new ElementDefImpl( null, "DisciplineIncident", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF20, SifVersion.SIF25 );
            EDUCATIONAGENCYTYPE = new ElementDefImpl( null, "EducationAgencyType", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            ENROLLSTATUS = new ElementDefImpl( null, "EnrollStatus", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF15r1 );
            GRADE = new ElementDefImpl( null, "Grade", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF23, SifVersion.SIF25 );
            GRADECLASSIFICATION = new ElementDefImpl( null, "GradeClassification", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF15r1, SifVersion.SIF15r1 );
            HOMEENROLLMENT = new ElementDefImpl( null, "HomeEnrollment", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            HOMEROOM = new ElementDefImpl( null, "Homeroom", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            INCIDENTACTION = new ElementDefImpl( null, "IncidentAction", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            INCIDENTACTIONLIST = new ElementDefImpl( null, "IncidentActionList", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            INCIDENTCATEGORY = new ElementDefImpl( null, "IncidentCategory", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            INCIDENTLOCATION = new ElementDefImpl( null, "IncidentLocation", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            INCIDENTLOCATIONREFID = new ElementDefImpl( null, "IncidentLocationRefId", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            INCIDENTREPORTER = new ElementDefImpl( null, "IncidentReporter", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            INCIDENTTIME = new ElementDefImpl( null, "IncidentTime", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            LANGUAGEOFINSTRUCTION = new ElementDefImpl( null, "LanguageOfInstruction", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            LEACONTACT = new ElementDefImpl( null, "LEAContact", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            LEACONTACTLIST = new ElementDefImpl( null, "LEAContactList", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            LEAINFO = new ElementDefImpl( null, "LEAInfo", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            LOCATIONOFINSTRUCTION = new ElementDefImpl( null, "LocationOfInstruction", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            MANIFESTATIONDETERMINATION = new ElementDefImpl( null, "ManifestationDetermination", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            MEDICALALERTMESSAGE = new ElementDefImpl( null, "MedicalAlertMessage", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            MEDICALALERTMESSAGES = new ElementDefImpl( null, "MedicalAlertMessages", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            MEDIUMOFINSTRUCTION = new ElementDefImpl( null, "MediumOfInstruction", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            MOSTRECENT = new ElementDefImpl( null, "MostRecent", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            NONPROMOTION = new ElementDefImpl( null, "Nonpromotion", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            OFFENDER = new ElementDefImpl( null, "Offender", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            OFFENDERLIST = new ElementDefImpl( null, "OffenderList", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            OTHERLEA = new ElementDefImpl( null, "OtherLEA", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            PRINCIPALINFO = new ElementDefImpl( null, "PrincipalInfo", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            PROMOTION = new ElementDefImpl( null, "Promotion", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            PROMOTIONINFO = new ElementDefImpl( null, "PromotionInfo", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF23, SifVersion.SIF25 );
            RECOGNITION = new ElementDefImpl( null, "Recognition", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF23, SifVersion.SIF25, SifTypeConverters.STRING );
            RECOGNITIONLIST = new ElementDefImpl( null, "RecognitionList", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF23, SifVersion.SIF25 );
            RELATEDTO = new ElementDefImpl( null, "RelatedTo", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            RELATEDTOLIST = new ElementDefImpl( null, "RelatedToList", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            ROOMINFO = new ElementDefImpl( null, "RoomInfo", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            ROOMINFOREFID = new ElementDefImpl( null, "RoomInfoRefId", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            ROOMTYPE = new ElementDefImpl( null, "RoomType", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            SCEDCODE = new ElementDefImpl( null, "SCEDCode", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            SCHEDULEINFO = new ElementDefImpl( null, "ScheduleInfo", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            SCHEDULEINFOLIST = new ElementDefImpl( null, "ScheduleInfoList", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            SCHEDULEINFOOVERRIDE = new ElementDefImpl( null, "ScheduleInfoOverride", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            SCHEDULEINFOOVERRIDELIST = new ElementDefImpl( null, "ScheduleInfoOverrideList", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            SCHOOLCOURSEINFO = new ElementDefImpl( null, "SchoolCourseInfo", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            SCHOOLCOURSEINFOOVERRIDE = new ElementDefImpl( null, "SchoolCourseInfoOverride", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            SCHOOLFOCUS = new ElementDefImpl( null, "SchoolFocus", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            SCHOOLFOCUSLIST = new ElementDefImpl( null, "SchoolFocusList", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            SCHOOLID = new ElementDefImpl( null, "SchoolId", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF15r1, SifVersion.SIF15r1 );
            SCHOOLINFO = new ElementDefImpl( null, "SchoolInfo", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            SCHOOLJURISDICTION = new ElementDefImpl( null, "SchoolJurisdiction", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF15r1, SifTypeConverters.STRING );
            SECTIONINFO = new ElementDefImpl( null, "SectionInfo", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            SECTIONROOMLIST = new ElementDefImpl( null, "SectionRoomList", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            STAFFASSIGNED = new ElementDefImpl( null, "StaffAssigned", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF15r1 );
            STAFFASSIGNMENT = new ElementDefImpl( null, "StaffAssignment", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            STAFFLIST = new ElementDefImpl( null, "StaffList", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            STAFFPERSONAL = new ElementDefImpl( null, "StaffPersonal", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            STAFFPERSONALREFID = new ElementDefImpl( null, "StaffPersonalRefId", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            STUDENTACTIVITYINFO = new ElementDefImpl( null, "StudentActivityInfo", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF23, SifVersion.SIF25 );
            STUDENTACTIVITYINFOLOCATION = new ElementDefImpl( null, "StudentActivityInfoLocation", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF23, SifVersion.SIF25 );
            STUDENTACTIVITYINFOLOCATIONREFID = new ElementDefImpl( null, "StudentActivityInfoLocationRefId", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF23, SifVersion.SIF25, SifTypeConverters.STRING );
            STUDENTACTIVITYPARTICIPATION = new ElementDefImpl( null, "StudentActivityParticipation", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF23, SifVersion.SIF25 );
            STUDENTACTIVITYTYPE = new ElementDefImpl( null, "StudentActivityType", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF23, SifVersion.SIF25 );
            STUDENTADDRESS = new ElementDefImpl( null, "StudentAddress", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            STUDENTADDRESSLIST = new ElementDefImpl( null, "StudentAddressList", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            STUDENTATTENDANCE = new ElementDefImpl( null, "StudentAttendance", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            STUDENTATTENDANCESUMMARY = new ElementDefImpl( null, "StudentAttendanceSummary", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF20, SifVersion.SIF25 );
            STUDENTCONTACT = new ElementDefImpl( null, "StudentContact", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            STUDENTCONTACTPERSONAL = new ElementDefImpl( null, "StudentContactPersonal", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF24, SifVersion.SIF25 );
            STUDENTCONTACTRELATIONSHIP = new ElementDefImpl( null, "StudentContactRelationship", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF24, SifVersion.SIF25 );
            STUDENTDAILYATTENDANCE = new ElementDefImpl( null, "StudentDailyAttendance", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            STUDENTGRADE = new ElementDefImpl( null, "StudentGrade", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF23, SifVersion.SIF25 );
            STUDENTPERSONAL = new ElementDefImpl( null, "StudentPersonal", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            STUDENTPICTURE = new ElementDefImpl( null, "StudentPicture", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            STUDENTSCHOOLENROLLMENT = new ElementDefImpl( null, "StudentSchoolEnrollment", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            STUDENTSECTIONENROLLMENT = new ElementDefImpl( null, "StudentSectionEnrollment", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            STUDENTSNAPSHOT = new ElementDefImpl( null, "StudentSnapshot", null, 0, SifDtd.STUDENT, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            TEACHERATTENDANCE = new ElementDefImpl( null, "TeacherAttendance", null, 0, SifDtd.STUDENT, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
//.........这里部分代码省略.........
开发者ID:pgodwin,项目名称:OpenADK-csharp,代码行数:101,代码来源:StudentDTD.cs

示例4: Load

        public override void Load()
        {
            //  Objects defined by this SDO Library...

            ADDRESS = new ElementDefImpl( null, "Address", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            ADDRESSLIST = new ElementDefImpl( null, "AddressList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            ATTENDANCECODE = new ElementDefImpl( null, "AttendanceCode", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            BINARYDATA = new ElementDefImpl( null, "BinaryData", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            CODESETVALUE = new ElementDefImpl( null, "CodesetValue", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            CONTACT = new ElementDefImpl( null, "Contact", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            CONTACTINFO = new ElementDefImpl( null, "ContactInfo", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            CONTACTS = new ElementDefImpl( null, "Contacts", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            COUNTRIESOFCITIZENSHIP = new ElementDefImpl( null, "CountriesOfCitizenship", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            COUNTRIESOFRESIDENCY = new ElementDefImpl( null, "CountriesOfResidency", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            COUNTRY = new ElementDefImpl( null, "Country", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            COUNTRYOFRESIDENCY = new ElementDefImpl( null, "CountryOfResidency", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF11, SifTypeConverters.STRING );
            DEMOGRAPHICS = new ElementDefImpl( null, "Demographics", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            DURATION = new ElementDefImpl( null, "Duration", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            DWELLINGARRANGEMENT = new ElementDefImpl( null, "DwellingArrangement", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            ELECTRONICID = new ElementDefImpl( null, "ElectronicId", "ItemElectronicId", 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            ELECTRONICID.DefineVersionInfo(SifVersion.SIF20, "ElectronicId", 0, (0)); // (Sif 20 alias)
            ELECTRONICIDLIST = new ElementDefImpl( null, "ElectronicIdList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            EMAIL = new ElementDefImpl( null, "Email", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            EMAILLIST = new ElementDefImpl( null, "EmailList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            ENGLISHPROFICIENCY = new ElementDefImpl( null, "EnglishProficiency", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            ENTRYTYPE = new ElementDefImpl( null, "EntryType", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            EXCEPTIONALITYCATEGORIES = new ElementDefImpl( null, "ExceptionalityCategories", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            EXCEPTIONALITYCATEGORY = new ElementDefImpl( null, "ExceptionalityCategory", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            EXITSTATUS = new ElementDefImpl( null, "ExitStatus", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            EXITTYPE = new ElementDefImpl( null, "ExitType", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            EXTENDEDPARAMETER = new ElementDefImpl( null, "ExtendedParameter", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            EXTENDEDPARAMETERS = new ElementDefImpl( null, "ExtendedParameters", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            FREQUENCYTIME = new ElementDefImpl( null, "FrequencyTime", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            GRADELEVEL = new ElementDefImpl( null, "GradeLevel", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            GRADELEVELS = new ElementDefImpl( null, "GradeLevels", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            GRIDLOCATION = new ElementDefImpl( null, "GridLocation", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            IDENTIFICATIONINFO = new ElementDefImpl( null, "IdentificationInfo", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            IDENTIFICATIONINFOLIST = new ElementDefImpl( null, "IdentificationInfoList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            INSTRUCTIONALLEVEL = new ElementDefImpl( null, "InstructionalLevel", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            JOBFUNCTION = new ElementDefImpl( null, "JobFunction", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            LANGUAGE = new ElementDefImpl( null, "Language", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            LANGUAGELIST = new ElementDefImpl( null, "LanguageList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            LEAINFOLINK = new ElementDefImpl( null, "LeaInfoLink", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            LEARNINGOBJECTIVE = new ElementDefImpl( null, "LearningObjective", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            LEARNINGOBJECTIVES = new ElementDefImpl( null, "LearningObjectives", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            LEARNINGSTANDARDITEMREFID = new ElementDefImpl( null, "LearningStandardItemRefId", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            LEARNINGSTANDARDITEMREFIDS = new ElementDefImpl( null, "LearningStandardItemRefIds", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            LEARNINGSTANDARDITEMS = new ElementDefImpl( null, "LearningStandardItems", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF21, SifVersion.SIF25 );
            LRCONTACT = new ElementDefImpl( null, "LRContact", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            MANAGINGPUBLICAGENCY = new ElementDefImpl( null, "ManagingPublicAgency", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            MANAGINGSCHOOL = new ElementDefImpl( null, "ManagingSchool", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            MEETINGTIME = new ElementDefImpl( null, "MeetingTime", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            MEETINGTIMELIST = new ElementDefImpl( null, "MeetingTimeList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            NAME = new ElementDefImpl( null, "Name", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            NAMELIST = new ElementDefImpl( null, "NameList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF15r1 );
            NAMES = new ElementDefImpl( null, "Names", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            ORGANIZATIONRELATIONSHIPTYPE = new ElementDefImpl( null, "OrganizationRelationshipType", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF22, SifVersion.SIF25 );
            OTHERCODE = new ElementDefImpl( null, "OtherCode", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            OTHERCODELIST = new ElementDefImpl( null, "OtherCodeList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            OTHERID = new ElementDefImpl( null, "OtherId", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            OTHERIDLIST = new ElementDefImpl( null, "OtherIdList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            OTHERNAMES = new ElementDefImpl( null, "OtherNames", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            PARTIALDATETYPE = new ElementDefImpl( null, "PartialDateType", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            PERSONINFO = new ElementDefImpl( null, "PersonInfo", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            PHONENUMBER = new ElementDefImpl( null, "PhoneNumber", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            PHONENUMBERLIST = new ElementDefImpl( null, "PhoneNumberList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            PICTURESOURCE = new ElementDefImpl( null, "PictureSource", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            PLANNEDASSESSMENTPARTICIPATION = new ElementDefImpl( null, "PlannedAssessmentParticipation", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            PROGRAM = new ElementDefImpl( null, "Program", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            PROGRAMFUNDINGSOURCE = new ElementDefImpl( null, "ProgramFundingSource", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            PROGRAMFUNDINGSOURCES = new ElementDefImpl( null, "ProgramFundingSources", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            PROGRAMSTATUS = new ElementDefImpl( null, "ProgramStatus", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            PROGRAMTYPE = new ElementDefImpl( null, "ProgramType", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            RACE = new ElementDefImpl( null, "Race", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            RACELIST = new ElementDefImpl( null, "RaceList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            REFERENCE = new ElementDefImpl( null, "Reference", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            RELATIONSHIP = new ElementDefImpl( null, "Relationship", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            RESIDENCYSTATUS = new ElementDefImpl( null, "ResidencyStatus", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            SCHOOLCONTACT = new ElementDefImpl( null, "SchoolContact", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            SCHOOLCONTACTLIST = new ElementDefImpl( null, "SchoolContactList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            SERVICE = new ElementDefImpl( null, "Service", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            SERVICEFUNDINGSOURCE = new ElementDefImpl( null, "ServiceFundingSource", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            SERVICEFUNDINGSOURCES = new ElementDefImpl( null, "ServiceFundingSources", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            SERVICEPROVIDERTYPE = new ElementDefImpl( null, "ServiceProviderType", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            SOFTWAREREQUIREMENT = new ElementDefImpl( null, "SoftwareRequirement", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            SOFTWAREREQUIREMENTLIST = new ElementDefImpl( null, "SoftwareRequirementList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            SPANGAP = new ElementDefImpl( null, "SpanGap", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            SPANGAPS = new ElementDefImpl( null, "SpanGaps", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            STAFFPARAMETERS = new ElementDefImpl( null, "StaffParameters", null, 0, SifDtd.COMMON, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF24, SifVersion.SIF25 );
            STREET = new ElementDefImpl( null, "Street", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            STUDENTLEARELATIONSHIP = new ElementDefImpl( null, "StudentLEARelationship", null, 0, SifDtd.COMMON, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF22, SifVersion.SIF25 );
            STUDENTPARAMETERS = new ElementDefImpl( null, "StudentParameters", null, 0, SifDtd.COMMON, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF24, SifVersion.SIF25 );
            STUDENTPARAMETERSCONTACTS = new ElementDefImpl( null, "StudentParametersContacts", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            STUDENTPARTICIPATIONDATAELEMENT = new ElementDefImpl( null, "StudentParticipationDataElement", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            STUDENTPARTICIPATIONLIST = new ElementDefImpl( null, "StudentParticipationList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            STUDENTPERSONALREFID = new ElementDefImpl( null, "StudentPersonalRefId", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            STUDENTPLACEMENTDATA = new ElementDefImpl( null, "StudentPlacementData", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            STUDENTPLACEMENTLIST = new ElementDefImpl( null, "StudentPlacementList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            STUDENTRECORDEXCHANGEDATA = new ElementDefImpl( null, "StudentRecordExchangeData", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            STUDENTRECORDEXCHANGEDATALIST = new ElementDefImpl( null, "StudentRecordExchangeDataList", null, 0, SifDtd.COMMON, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
//.........这里部分代码省略.........
开发者ID:pgodwin,项目名称:OpenADK-csharp,代码行数:101,代码来源:CommonDTD.cs

示例5: Load

        public override void Load()
        {
            //  Objects defined by this SDO Library...

            ACTIVITY = new ElementDefImpl( null, "Activity", null, 0, SifDtd.INSTR, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            ACTIVITYREFID = new ElementDefImpl( null, "ActivityRefId", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            ACTIVITYTIME = new ElementDefImpl( null, "ActivityTime", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            ALTERNATEIDENTIFICATIONCODE = new ElementDefImpl( null, "AlternateIdentificationCode", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF22, SifVersion.SIF25, SifTypeConverters.STRING );
            ALTERNATEIDENTIFICATIONCODES = new ElementDefImpl( null, "AlternateIdentificationCodes", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF22, SifVersion.SIF25 );
            APPROVAL = new ElementDefImpl( null, "Approval", "ResourceApproval", 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            APPROVAL.DefineVersionInfo(SifVersion.SIF20, "Approval", 0, (0)); // (Sif 20 alias)
            APPROVALS = new ElementDefImpl( null, "Approvals", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            ASSIGNMENT = new ElementDefImpl( null, "Assignment", null, 0, SifDtd.INSTR, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            ASSIGNMENTTIME = new ElementDefImpl( null, "AssignmentTime", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            ASSOCIATEDOBJECT = new ElementDefImpl( null, "AssociatedObject", "ObjectRefId", 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            ASSOCIATEDOBJECT.DefineVersionInfo(SifVersion.SIF20, "AssociatedObject", 0, (0)); // (Sif 20 alias)
            ASSOCIATEDOBJECTS = new ElementDefImpl( null, "AssociatedObjects", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            AUTHOR = new ElementDefImpl( null, "Author", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            AUTHORS = new ElementDefImpl( null, "Authors", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            CATALOGLEARNINGSTANDARDS = new ElementDefImpl( null, "CatalogLearningStandards", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            CATALOGLEARNINGSTANDARDSDOCUMENT = new ElementDefImpl( null, "CatalogLearningStandardsDocument", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            COMPONENT = new ElementDefImpl( null, "Component", "ResourceComponent", 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            COMPONENT.DefineVersionInfo(SifVersion.SIF20, "Component", 0, (0)); // (Sif 20 alias)
            COMPONENTOBJECT = new ElementDefImpl( null, "ComponentObject", "ObjectRefId", 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            COMPONENTOBJECT.DefineVersionInfo(SifVersion.SIF20, "ComponentObject", 0, (0)); // (Sif 20 alias)
            COMPONENTOBJECTS = new ElementDefImpl( null, "ComponentObjects", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            COMPONENTS = new ElementDefImpl( null, "Components", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            CONTENTCATALOG = new ElementDefImpl( null, "ContentCatalog", null, 0, SifDtd.INSTR, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF24, SifVersion.SIF25 );
            CONTENTLOCATION = new ElementDefImpl( null, "ContentLocation", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF24, SifVersion.SIF25, SifTypeConverters.STRING );
            CONTENTOBJECT = new ElementDefImpl( null, "ContentObject", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            COPYRIGHT = new ElementDefImpl( null, "Copyright", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            CURRICULUMHIERARCHY = new ElementDefImpl( null, "CurriculumHierarchy", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            CURRICULUMHIERARCHYLEVEL = new ElementDefImpl( null, "CurriculumHierarchyLevel", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            CURRICULUMHIERARCHYLIST = new ElementDefImpl( null, "CurriculumHierarchyList", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF24, SifVersion.SIF25 );
            CURRICULUMSTRUCTURE = new ElementDefImpl( null, "CurriculumStructure", null, 0, SifDtd.INSTR, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            CURRICULUMSTRUCTUREREFID = new ElementDefImpl( null, "CurriculumStructureRefId", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            CURRICULUMSTRUCTURES = new ElementDefImpl( null, "CurriculumStructures", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            ESSENTIALMATERIAL = new ElementDefImpl( null, "EssentialMaterial", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            ESSENTIALMATERIALS = new ElementDefImpl( null, "EssentialMaterials", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            EVALUATION = new ElementDefImpl( null, "Evaluation", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            LEARNINGRESOURCE = new ElementDefImpl( null, "LearningResource", null, 0, SifDtd.INSTR, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            LEARNINGRESOURCEPACKAGE = new ElementDefImpl( null, "LearningResourcePackage", null, 0, SifDtd.INSTR, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF21, SifVersion.SIF25 );
            LEARNINGRESOURCEREFID = new ElementDefImpl( null, "LearningResourceRefId", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            LEARNINGRESOURCES = new ElementDefImpl( null, "LearningResources", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            LEARNINGSTANDARDDOCUMENT = new ElementDefImpl( null, "LearningStandardDocument", null, 0, SifDtd.INSTR, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            LEARNINGSTANDARDDOCUMENTREFID = new ElementDefImpl( null, "LearningStandardDocumentRefId", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            LEARNINGSTANDARDITEM = new ElementDefImpl( null, "LearningStandardItem", null, 0, SifDtd.INSTR, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            LEARNINGSTANDARDS = new ElementDefImpl( null, "LearningStandards", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            LESSON = new ElementDefImpl( null, "Lesson", null, 0, SifDtd.INSTR, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            LESSONSOURCE = new ElementDefImpl( null, "LessonSource", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            LESSONSOURCES = new ElementDefImpl( null, "LessonSources", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            ORGANIZATION = new ElementDefImpl( null, "Organization", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            ORGANIZATIONS = new ElementDefImpl( null, "Organizations", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            PREDECESSORITEMS = new ElementDefImpl( null, "PredecessorItems", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            PREDECESSOROBJECTS = new ElementDefImpl( null, "PredecessorObjects", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            PREREQUISITE = new ElementDefImpl( null, "Prerequisite", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            PREREQUISITES = new ElementDefImpl( null, "Prerequisites", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            RELATEDLEARNINGSTANDARDITEM = new ElementDefImpl( null, "RelatedLearningStandardItem", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF21, SifVersion.SIF25, SifTypeConverters.STRING );
            RELATEDLEARNINGSTANDARDITEMS = new ElementDefImpl( null, "RelatedLearningStandardItems", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF21, SifVersion.SIF25 );
            RELATEDLEARNINGSTANDARDS = new ElementDefImpl( null, "RelatedLearningStandards", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            RESOURCECOMPONENT = new ElementDefImpl( null, "ResourceComponent", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF15r1 );
            RESOURCECONTACT = new ElementDefImpl( null, "ResourceContact", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            RESOURCEEVALUATION = new ElementDefImpl( null, "ResourceEvaluation", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            RESOURCEEVALUATIONS = new ElementDefImpl( null, "ResourceEvaluations", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            RESOURCELOCATION = new ElementDefImpl( null, "ResourceLocation", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            SOURCEAUTHOR = new ElementDefImpl( null, "SourceAuthor", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            SOURCEOBJECT = new ElementDefImpl( null, "SourceObject", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            SOURCEOBJECTS = new ElementDefImpl( null, "SourceObjects", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            STANDARDHIERARCHYLEVEL = new ElementDefImpl( null, "StandardHierarchyLevel", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            STANDARDIDENTIFIER = new ElementDefImpl( null, "StandardIdentifier", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF22, SifVersion.SIF25 );
            STANDARDSETTINGBODY = new ElementDefImpl( null, "StandardSettingBody", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF22, SifVersion.SIF25 );
            STATEMENT = new ElementDefImpl( null, "Statement", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            STATEMENTCODE = new ElementDefImpl( null, "StatementCode", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            STATEMENTCODES = new ElementDefImpl( null, "StatementCodes", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            STATEMENTS = new ElementDefImpl( null, "Statements", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            STRATEGIES = new ElementDefImpl( null, "Strategies", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            STRATEGY = new ElementDefImpl( null, "Strategy", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            SUPPORTINGACTIVITIES = new ElementDefImpl( null, "SupportingActivities", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            TECHNICALREQUIREMENT = new ElementDefImpl( null, "TechnicalRequirement", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            TECHNICALREQUIREMENTS = new ElementDefImpl( null, "TechnicalRequirements", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            TIMEDURATION = new ElementDefImpl( null, "TimeDuration", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.DECIMAL );
            TITLE = new ElementDefImpl( null, "Title", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            TITLES = new ElementDefImpl( null, "Titles", null, 0, SifDtd.INSTR, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );

            // <Activity> fields (20 entries)
            InstrDTD.ACTIVITY_REFID = new ElementDefImpl( ACTIVITY, "RefId", null, 1, SifDtd.INSTR, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            InstrDTD.ACTIVITY_LANGUAGE = new ElementDefImpl( ACTIVITY, "Language", "xml:lang", 2, SifDtd.INSTR, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            InstrDTD.ACTIVITY_TECHNICALREQUIREMENTS = new ElementDefImpl( ACTIVITY, "TechnicalRequirements", null, 3, SifDtd.INSTR, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF15r1, SifVersion.SIF25 );
            InstrDTD.ACTIVITY_TECHNICALREQUIREMENTS.DefineVersionInfo(SifVersion.SIF20, "TechnicalRequirements", 3, 0); // (Sif 20 alias)
            InstrDTD.ACTIVITY_ESSENTIALMATERIALS = new ElementDefImpl( ACTIVITY, "EssentialMaterials", null, 4, SifDtd.INSTR, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF15r1, SifVersion.SIF25 );
            InstrDTD.ACTIVITY_ESSENTIALMATERIALS.DefineVersionInfo(SifVersion.SIF20, "EssentialMaterials", 4, 0); // (Sif 20 alias)
            InstrDTD.ACTIVITY_TITLE = new ElementDefImpl( ACTIVITY, "Title", null, 5, SifDtd.INSTR, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            InstrDTD.ACTIVITY_PREAMBLE = new ElementDefImpl( ACTIVITY, "Preamble", null, 6, SifDtd.INSTR, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            InstrDTD.ACTIVITY_LEARNINGOBJECTIVES = new ElementDefImpl( ACTIVITY, "LearningObjectives", null, 7, SifDtd.COMMON, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF15r1, SifVersion.SIF25 );
            InstrDTD.ACTIVITY_LEARNINGOBJECTIVES.DefineVersionInfo(SifVersion.SIF20, "LearningObjectives", 7, 0); // (Sif 20 alias)
            InstrDTD.ACTIVITY_LEARNINGSTANDARDS = new ElementDefImpl( ACTIVITY, "LearningStandards", null, 8, SifDtd.INSTR, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF15r1, SifVersion.SIF25 );
            InstrDTD.ACTIVITY_LEARNINGSTANDARDS.DefineVersionInfo(SifVersion.SIF20, "LearningStandards", 8, 0); // (Sif 20 alias)
            InstrDTD.ACTIVITY_SUBJECTAREA = new ElementDefImpl( ACTIVITY, "SubjectArea", null, 9, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            InstrDTD.ACTIVITY_PREREQUISITES = new ElementDefImpl( ACTIVITY, "Prerequisites", null, 10, SifDtd.INSTR, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF15r1, SifVersion.SIF25 );
            InstrDTD.ACTIVITY_PREREQUISITES.DefineVersionInfo(SifVersion.SIF20, "Prerequisites", 10, 0); // (Sif 20 alias)
//.........这里部分代码省略.........
开发者ID:pgodwin,项目名称:OpenADK-csharp,代码行数:101,代码来源:InstrDTD.cs

示例6: Load

        // Field elements of TEACHINGCREDENTIAL (0 fields)
        public override void Load()
        {
            //  Objects defined by this SDO Library...

            ACTIVITYPROVIDER = new ElementDefImpl( null, "ActivityProvider", null, 0, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF26 );
            BACKGROUNDCHECK = new ElementDefImpl( null, "BackgroundCheck", "Background", 0, SifDtd.PROFDEV, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            BACKGROUNDCHECK.DefineVersionInfo(SifVersion.SIF20, "BackgroundCheck", 0, (0)); // (Sif 20 alias)
            BACKGROUNDCHECKS = new ElementDefImpl( null, "BackgroundChecks", null, 0, SifDtd.PROFDEV, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            CERTIFICATION = new ElementDefImpl( null, "Certification", null, 0, SifDtd.PROFDEV, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            CERTIFICATIONS = new ElementDefImpl( null, "Certifications", null, 0, SifDtd.PROFDEV, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            EARNED = new ElementDefImpl( null, "Earned", null, 0, SifDtd.PROFDEV, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            EMPLASSIGNMENT = new ElementDefImpl( null, "EmplAssignment", null, 0, SifDtd.PROFDEV, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            EMPLOYEEASSIGNMENTS = new ElementDefImpl( null, "EmployeeAssignments", null, 0, SifDtd.PROFDEV, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            EMPLOYEEASSIGNMENTS.DefineVersionInfo(SifVersion.SIF20, "Assignments", 0, (0)); // (Sif 20 alias)
            EMPLOYEECREDENTIAL = new ElementDefImpl( null, "EmployeeCredential", null, 0, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF26 );
            EMPLOYEECREDIT = new ElementDefImpl( null, "EmployeeCredit", null, 0, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF26 );
            EMPLOYEERECERTIFICATION = new ElementDefImpl( null, "EmployeeRecertification", null, 0, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF26 );
            PROFESSIONALDEVELOPMENTACTIVITIES = new ElementDefImpl( null, "ProfessionalDevelopmentActivities", "ProfDevActivities", 0, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF26 );
            PROFESSIONALDEVELOPMENTACTIVITIES.DefineVersionInfo(SifVersion.SIF20, "ProfessionalDevelopmentActivities", 0, (0)); // (Sif 20 alias)
            PROFESSIONALDEVELOPMENTPROGRAM = new ElementDefImpl( null, "ProfessionalDevelopmentProgram", null, 0, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF21, SifVersion.SIF26 );
            PROFESSIONALDEVELOPMENTREGISTRATION = new ElementDefImpl( null, "ProfessionalDevelopmentRegistration", null, 0, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF22, SifVersion.SIF26 );
            TEACHINGCREDENTIAL = new ElementDefImpl( null, "TeachingCredential", null, 0, SifDtd.PROFDEV, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );

            // <ActivityProvider> fields (5 entries)
            ProfdevDTD.ACTIVITYPROVIDER_REFID = new ElementDefImpl( ACTIVITYPROVIDER, "RefId", null, 1, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.ACTIVITYPROVIDER_LOCALID = new ElementDefImpl( ACTIVITYPROVIDER, "LocalId", null, 2, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.ACTIVITYPROVIDER_STATEPROVINCEID = new ElementDefImpl( ACTIVITYPROVIDER, "StateProvinceId", "StatePrId", 3, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.ACTIVITYPROVIDER_STATEPROVINCEID.DefineVersionInfo(SifVersion.SIF20, "StateProvinceId", 3, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            ProfdevDTD.ACTIVITYPROVIDER_NAME = new ElementDefImpl( ACTIVITYPROVIDER, "Name", "ProviderName", 4, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.ACTIVITYPROVIDER_NAME.DefineVersionInfo(SifVersion.SIF20, "Name", 4, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            ProfdevDTD.ACTIVITYPROVIDER_ADDRESS = new ElementDefImpl( ACTIVITYPROVIDER, "Address", null, 5, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            ACTIVITYPROVIDER_SIF_EXTENDEDELEMENTS = new ElementDefImpl( ACTIVITYPROVIDER, "SIF_ExtendedElements", null, 127, SifDtd.GLOBAL, null, (0), SifVersion.SIF15r1, SifVersion.SIF26 );
            ACTIVITYPROVIDER_SIF_METADATA = new ElementDefImpl( ACTIVITYPROVIDER, "SIF_Metadata", null, 128, SifDtd.DATAMODEL, "us", (0), SifVersion.SIF20, SifVersion.SIF26 );

            // <Background> fields (3 entries)
            ProfdevDTD.BACKGROUNDCHECK_TYPE = new ElementDefImpl( BACKGROUNDCHECK, "Type", "CheckType", 1, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.BACKGROUNDCHECK_TYPE.DefineVersionInfo(SifVersion.SIF20, "Type", 1, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            ProfdevDTD.BACKGROUNDCHECK_DESCRIPTION = new ElementDefImpl( BACKGROUNDCHECK, "Description", null, 2, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.BACKGROUNDCHECK_DESCRIPTION.DefineVersionInfo(SifVersion.SIF20, "Description", 3, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            ProfdevDTD.BACKGROUNDCHECK_DATE = new ElementDefImpl( BACKGROUNDCHECK, "Date", "DateChecked", 3, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.DATE );
            ProfdevDTD.BACKGROUNDCHECK_DATE.DefineVersionInfo(SifVersion.SIF20, "Date", 2, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)

            // <BackgroundChecks> fields (1 entries)
            ProfdevDTD.BACKGROUNDCHECKS_BACKGROUNDCHECK = new ElementDefImpl( BACKGROUNDCHECKS, "BackgroundCheck", "Background", 1, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_REPEATABLE), SifVersion.SIF15r1, SifVersion.SIF26 );
            ProfdevDTD.BACKGROUNDCHECKS_BACKGROUNDCHECK.DefineVersionInfo(SifVersion.SIF20, "BackgroundCheck", 1, (ElementDefImpl.FD_REPEATABLE)); // (Sif 20 alias)

            // <Certification> fields (2 entries)
            ProfdevDTD.CERTIFICATION_DESCRIPTION = new ElementDefImpl( CERTIFICATION, "Description", null, 1, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.CERTIFICATION_AREAAUTHORIZED = new ElementDefImpl( CERTIFICATION, "AreaAuthorized", null, 2, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );

            // <Certifications> fields (1 entries)
            ProfdevDTD.CERTIFICATIONS_CERTIFICATION = new ElementDefImpl( CERTIFICATIONS, "Certification", null, 1, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_REPEATABLE), SifVersion.SIF15r1, SifVersion.SIF26 );

            // <Earned> fields (1 entries)
            ProfdevDTD.EARNED_TYPE = new ElementDefImpl( EARNED, "Type", null, 1, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );

            // <EmplAssignment> fields (4 entries)
            ProfdevDTD.EMPLASSIGNMENT_SCHOOLINFOREFID = new ElementDefImpl( EMPLASSIGNMENT, "SchoolInfoRefId", null, 1, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.EMPLASSIGNMENT_SCHOOLINFOREFID.DefineVersionInfo(SifVersion.SIF20, "SchoolInfoRefId", 1, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            ProfdevDTD.EMPLASSIGNMENT_GRADELEVELS = new ElementDefImpl( EMPLASSIGNMENT, "GradeLevels", null, 2, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            ProfdevDTD.EMPLASSIGNMENT_GRADELEVELS.DefineVersionInfo(SifVersion.SIF20, "GradeLevels", 2, 0); // (Sif 20 alias)
            ProfdevDTD.EMPLASSIGNMENT_JOBFUNCTION = new ElementDefImpl( EMPLASSIGNMENT, "JobFunction", null, 3, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            ProfdevDTD.EMPLASSIGNMENT_JOBFUNCTION.DefineVersionInfo(SifVersion.SIF20, "JobFunction", 3, 0); // (Sif 20 alias)
            ProfdevDTD.EMPLASSIGNMENT_FTE = new ElementDefImpl( EMPLASSIGNMENT, "FTE", null, 4, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.DECIMAL );

            // <EmployeeAssignments> fields (1 entries)
            ProfdevDTD.EMPLOYEEASSIGNMENTS_ASSIGNMENT = new ElementDefAlias( EMPLOYEEASSIGNMENTS, "Assignment", "EmplAssignment", "EmplAssignment", 1, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_REPEATABLE), SifVersion.SIF15r1, SifVersion.SIF26 );
            ProfdevDTD.EMPLOYEEASSIGNMENTS_ASSIGNMENT.DefineVersionInfo(SifVersion.SIF20, "Assignment", 1, (ElementDefImpl.FD_REPEATABLE)); // (Sif 20 alias)

            // <EmployeeCredential> fields (19 entries)
            ProfdevDTD.EMPLOYEECREDENTIAL_REPORTDATE = new ElementDefImpl( EMPLOYEECREDENTIAL, "ReportDate", null, 1, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.DATE );
            ProfdevDTD.EMPLOYEECREDENTIAL_SCHOOLYEAR = new ElementDefImpl( EMPLOYEECREDENTIAL, "SchoolYear", null, 2, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.INT );
            ProfdevDTD.EMPLOYEECREDENTIAL_STATEPROVINCEID = new ElementDefImpl( EMPLOYEECREDENTIAL, "StateProvinceId", "StatePrId", 3, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.EMPLOYEECREDENTIAL_STATEPROVINCEID.DefineVersionInfo(SifVersion.SIF20, "StateProvinceId", 3, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            ProfdevDTD.EMPLOYEECREDENTIAL_SSN = new ElementDefImpl( EMPLOYEECREDENTIAL, "SSN", "Ssn", 4, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.EMPLOYEECREDENTIAL_SSN.DefineVersionInfo(SifVersion.SIF20, "SSN", 4, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            ProfdevDTD.EMPLOYEECREDENTIAL_NAME = new ElementDefImpl( EMPLOYEECREDENTIAL, "Name", null, 5, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            ProfdevDTD.EMPLOYEECREDENTIAL_DEMOGRAPHICS = new ElementDefImpl( EMPLOYEECREDENTIAL, "Demographics", null, 6, SifDtd.COMMON, "us", 0, SifVersion.SIF15r1, SifVersion.SIF26 );
            ProfdevDTD.EMPLOYEECREDENTIAL_RACE = new ElementDefImpl( EMPLOYEECREDENTIAL, "Race", null, 7, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.EMPLOYEECREDENTIAL_HISPANIC = new ElementDefImpl( EMPLOYEECREDENTIAL, "Hispanic", null, 8, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.EMPLOYEECREDENTIAL_CERTIFICATIONS = new ElementDefImpl( EMPLOYEECREDENTIAL, "Certifications", null, 9, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF15r1, SifVersion.SIF26 );
            ProfdevDTD.EMPLOYEECREDENTIAL_CERTIFICATIONS.DefineVersionInfo(SifVersion.SIF20, "Certifications", 9, 0); // (Sif 20 alias)
            ProfdevDTD.EMPLOYEECREDENTIAL_SALARY = new ElementDefAlias( EMPLOYEECREDENTIAL, "Salary", null, "MonetaryAmount", 10, SifDtd.GLOBAL, null, 0, SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.DECIMAL );
            ProfdevDTD.EMPLOYEECREDENTIAL_SALARY.DefineVersionInfo(SifVersion.SIF20, "Salary", 10, 0); // (Sif 20 alias)
            ProfdevDTD.EMPLOYEECREDENTIAL_STATUS = new ElementDefImpl( EMPLOYEECREDENTIAL, "Status", "~XPathSurrogate{Status/@Code=.}", 11, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.EMPLOYEECREDENTIAL_STATUS.DefineVersionInfo(SifVersion.SIF20, "Status", 11, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            ProfdevDTD.EMPLOYEECREDENTIAL_LEAVE = new ElementDefImpl( EMPLOYEECREDENTIAL, "Leave", null, 12, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.EMPLOYEECREDENTIAL_LEAVE.DefineVersionInfo(SifVersion.SIF20, "Leave", 12, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            ProfdevDTD.EMPLOYEECREDENTIAL_TOTALYEARS = new ElementDefImpl( EMPLOYEECREDENTIAL, "TotalYears", null, 13, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.DECIMAL );
            ProfdevDTD.EMPLOYEECREDENTIAL_TOTALYEARS.DefineVersionInfo(SifVersion.SIF20, "TotalYears", 13, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            ProfdevDTD.EMPLOYEECREDENTIAL_UNITYEARS = new ElementDefImpl( EMPLOYEECREDENTIAL, "UnitYears", null, 14, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.DECIMAL );
            ProfdevDTD.EMPLOYEECREDENTIAL_UNITYEARS.DefineVersionInfo(SifVersion.SIF20, "UnitYears", 14, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            ProfdevDTD.EMPLOYEECREDENTIAL_EDUCATION = new ElementDefImpl( EMPLOYEECREDENTIAL, "Education", null, 15, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.EMPLOYEECREDENTIAL_EDUCATION.DefineVersionInfo(SifVersion.SIF20, "Education", 15, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            ProfdevDTD.EMPLOYEECREDENTIAL_TEACHINGCREDENTIALTYPE = new ElementDefAlias( EMPLOYEECREDENTIAL, "TeachingCredentialType", null, "TeachingCredential", 16, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_REPEATABLE), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.EMPLOYEECREDENTIAL_TERMINATIONCODE = new ElementDefImpl( EMPLOYEECREDENTIAL, "TerminationCode", null, 17, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF26, SifTypeConverters.STRING );
            ProfdevDTD.EMPLOYEECREDENTIAL_BACKGROUNDCHECKS = new ElementDefImpl( EMPLOYEECREDENTIAL, "BackgroundChecks", null, 18, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF15r1, SifVersion.SIF26 );
            ProfdevDTD.EMPLOYEECREDENTIAL_BACKGROUNDCHECKS.DefineVersionInfo(SifVersion.SIF20, "BackgroundChecks", 18, 0); // (Sif 20 alias)
            ProfdevDTD.EMPLOYEECREDENTIAL_ASSIGNMENTS = new ElementDefAlias( EMPLOYEECREDENTIAL, "Assignments", null, "EmployeeAssignments", 19, SifDtd.PROFDEV, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF15r1, SifVersion.SIF26 );
//.........这里部分代码省略.........
开发者ID:rafidzal,项目名称:OpenADK-csharp,代码行数:101,代码来源:ProfdevDTD.cs

示例7: Load

        public override void Load()
        {
            //  Objects defined by this SDO Library...

            CHECKOUTINFO = new ElementDefImpl( null, "CheckoutInfo", "DueInfo", 0, SifDtd.LIBRARY, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            CHECKOUTINFO.DefineVersionInfo(SifVersion.SIF20, "CheckoutInfo", 0, (0)); // (Sif 20 alias)
            FINEINFO = new ElementDefImpl( null, "FineInfo", null, 0, SifDtd.LIBRARY, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            FINEINFOLIST = new ElementDefImpl( null, "FineInfoList", null, 0, SifDtd.LIBRARY, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            HOLDINFO = new ElementDefImpl( null, "HoldInfo", null, 0, SifDtd.LIBRARY, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            HOLDINFOLIST = new ElementDefImpl( null, "HoldInfoList", null, 0, SifDtd.LIBRARY, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            ITEMINFO = new ElementDefImpl( null, "ItemInfo", null, 0, SifDtd.LIBRARY, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            LIBRARYPATRONSTATUS = new ElementDefImpl( null, "LibraryPatronStatus", null, 0, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            MESSAGE = new ElementDefImpl( null, "Message", null, 0, SifDtd.LIBRARY, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            MESSAGELIST = new ElementDefImpl( null, "MessageList", null, 0, SifDtd.LIBRARY, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            TRANSACTION = new ElementDefImpl( null, "Transaction", "CircTx", 0, SifDtd.LIBRARY, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            TRANSACTION.DefineVersionInfo(SifVersion.SIF20, "Transaction", 0, (0)); // (Sif 20 alias)
            TRANSACTIONLIST = new ElementDefImpl( null, "TransactionList", null, 0, SifDtd.LIBRARY, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );

            // <DueInfo> fields (1 entries)
            LibraryDTD.CHECKOUTINFO_RETURNBY = new ElementDefImpl( CHECKOUTINFO, "ReturnBy", "~TimeStampSurrogate{}Date", 1, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.DATETIME );
            LibraryDTD.CHECKOUTINFO_RETURNBY.DefineVersionInfo(SifVersion.SIF20, "ReturnBy", 1, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)

            // <FineInfo> fields (5 entries)
            LibraryDTD.FINEINFO_TYPE = new ElementDefImpl( FINEINFO, "Type", null, 1, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            LibraryDTD.FINEINFO_ASSESSED = new ElementDefImpl( FINEINFO, "Assessed", "~TimeStampSurrogate{}Date", 2, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.DATETIME );
            LibraryDTD.FINEINFO_ASSESSED.DefineVersionInfo(SifVersion.SIF20, "Assessed", 2, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            LibraryDTD.FINEINFO_DESCRIPTION = new ElementDefImpl( FINEINFO, "Description", null, 3, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            LibraryDTD.FINEINFO_AMOUNT = new ElementDefAlias( FINEINFO, "Amount", null, "MonetaryAmount", 4, SifDtd.GLOBAL, null, 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.DECIMAL );
            LibraryDTD.FINEINFO_REFERENCE = new ElementDefImpl( FINEINFO, "Reference", null, 5, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );

            // <FineInfoList> fields (1 entries)
            LibraryDTD.FINEINFOLIST_FINEINFO = new ElementDefImpl( FINEINFOLIST, "FineInfo", null, 1, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_REPEATABLE), SifVersion.SIF11, SifVersion.SIF25 );

            // <HoldInfo> fields (5 entries)
            LibraryDTD.HOLDINFO_TYPE = new ElementDefImpl( HOLDINFO, "Type", null, 1, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            LibraryDTD.HOLDINFO_DATEPLACED = new ElementDefImpl( HOLDINFO, "DatePlaced", null, 2, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.DATE );
            LibraryDTD.HOLDINFO_DATENEEDED = new ElementDefImpl( HOLDINFO, "DateNeeded", null, 3, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.DATE );
            LibraryDTD.HOLDINFO_MADEAVAILABLE = new ElementDefImpl( HOLDINFO, "MadeAvailable", null, 4, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.DATE );
            LibraryDTD.HOLDINFO_EXPIRES = new ElementDefImpl( HOLDINFO, "Expires", null, 5, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.DATE );

            // <HoldInfoList> fields (1 entries)
            LibraryDTD.HOLDINFOLIST_HOLDINFO = new ElementDefImpl( HOLDINFOLIST, "HoldInfo", null, 1, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_REPEATABLE), SifVersion.SIF11, SifVersion.SIF25 );

            // <ItemInfo> fields (6 entries)
            LibraryDTD.ITEMINFO_TYPE = new ElementDefImpl( ITEMINFO, "Type", null, 1, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            LibraryDTD.ITEMINFO_TITLE = new ElementDefImpl( ITEMINFO, "Title", "ItemTitle", 2, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            LibraryDTD.ITEMINFO_TITLE.DefineVersionInfo(SifVersion.SIF20, "Title", 2, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            LibraryDTD.ITEMINFO_AUTHOR = new ElementDefImpl( ITEMINFO, "Author", null, 3, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            LibraryDTD.ITEMINFO_ELECTRONICID = new ElementDefImpl( ITEMINFO, "ElectronicId", "ItemElectronicId", 3, SifDtd.COMMON, "us", 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            LibraryDTD.ITEMINFO_ELECTRONICID.DefineVersionInfo(SifVersion.SIF20, "ElectronicId", 4, 0); // (Sif 20 alias)
            LibraryDTD.ITEMINFO_CALLNUMBER = new ElementDefImpl( ITEMINFO, "CallNumber", null, 4, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            LibraryDTD.ITEMINFO_CALLNUMBER.DefineVersionInfo(SifVersion.SIF20, "CallNumber", 5, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            LibraryDTD.ITEMINFO_PRICE = new ElementDefAlias( ITEMINFO, "Price", "CopyPrice", "MonetaryAmount", 5, SifDtd.GLOBAL, null, 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.DECIMAL );
            LibraryDTD.ITEMINFO_PRICE.DefineVersionInfo(SifVersion.SIF20, "Price", 6, 0); // (Sif 20 alias)

            // <LibraryPatronStatus> fields (12 entries)
            LibraryDTD.LIBRARYPATRONSTATUS_LIBRARYTYPE = new ElementDefImpl( LIBRARYPATRONSTATUS, "LibraryType", null, 1, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            LibraryDTD.LIBRARYPATRONSTATUS_SIF_REFID = new ElementDefImpl( LIBRARYPATRONSTATUS, "SIF_RefId", "SifRefId", 2, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            LibraryDTD.LIBRARYPATRONSTATUS_SIF_REFID.DefineVersionInfo(SifVersion.SIF20, "SIF_RefId", 2, (ElementDefImpl.FD_ATTRIBUTE)); // (Sif 20 alias)
            LibraryDTD.LIBRARYPATRONSTATUS_SIF_REFOBJECT = new ElementDefImpl( LIBRARYPATRONSTATUS, "SIF_RefObject", "SifRefIdType", 3, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            LibraryDTD.LIBRARYPATRONSTATUS_SIF_REFOBJECT.DefineVersionInfo(SifVersion.SIF20, "SIF_RefObject", 3, (ElementDefImpl.FD_ATTRIBUTE)); // (Sif 20 alias)
            LibraryDTD.LIBRARYPATRONSTATUS_ELECTRONICIDLIST = new ElementDefImpl( LIBRARYPATRONSTATUS, "ElectronicIdList", null, 4, SifDtd.COMMON, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF11, SifVersion.SIF25 );
            LibraryDTD.LIBRARYPATRONSTATUS_ELECTRONICIDLIST.DefineVersionInfo(SifVersion.SIF20, "ElectronicIdList", 4, 0); // (Sif 20 alias)
            LibraryDTD.LIBRARYPATRONSTATUS_TRANSACTIONLIST = new ElementDefImpl( LIBRARYPATRONSTATUS, "TransactionList", null, 5, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF11, SifVersion.SIF25 );
            LibraryDTD.LIBRARYPATRONSTATUS_TRANSACTIONLIST.DefineVersionInfo(SifVersion.SIF20, "TransactionList", 5, 0); // (Sif 20 alias)
            LibraryDTD.LIBRARYPATRONSTATUS_MESSAGELIST = new ElementDefImpl( LIBRARYPATRONSTATUS, "MessageList", null, 6, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF11, SifVersion.SIF25 );
            LibraryDTD.LIBRARYPATRONSTATUS_MESSAGELIST.DefineVersionInfo(SifVersion.SIF20, "MessageList", 6, 0); // (Sif 20 alias)
            LibraryDTD.LIBRARYPATRONSTATUS_NUMBEROFCHECKOUTS = new ElementDefImpl( LIBRARYPATRONSTATUS, "NumberOfCheckouts", "NumCheckouts", 7, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.INT );
            LibraryDTD.LIBRARYPATRONSTATUS_NUMBEROFCHECKOUTS.DefineVersionInfo(SifVersion.SIF20, "NumberOfCheckouts", 7, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            LibraryDTD.LIBRARYPATRONSTATUS_NUMBEROFOVERDUES = new ElementDefImpl( LIBRARYPATRONSTATUS, "NumberOfOverdues", "NumOverdues", 8, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.INT );
            LibraryDTD.LIBRARYPATRONSTATUS_NUMBEROFOVERDUES.DefineVersionInfo(SifVersion.SIF20, "NumberOfOverdues", 8, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            LibraryDTD.LIBRARYPATRONSTATUS_NUMBEROFFINES = new ElementDefImpl( LIBRARYPATRONSTATUS, "NumberOfFines", "NumFines", 9, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.INT );
            LibraryDTD.LIBRARYPATRONSTATUS_NUMBEROFFINES.DefineVersionInfo(SifVersion.SIF20, "NumberOfFines", 9, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            LibraryDTD.LIBRARYPATRONSTATUS_FINEAMOUNT = new ElementDefAlias( LIBRARYPATRONSTATUS, "FineAmount", null, "MonetaryAmount", 10, SifDtd.GLOBAL, null, 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.DECIMAL );
            LibraryDTD.LIBRARYPATRONSTATUS_NUMBEROFREFUNDS = new ElementDefImpl( LIBRARYPATRONSTATUS, "NumberOfRefunds", "NumRefunds", 11, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.INT );
            LibraryDTD.LIBRARYPATRONSTATUS_NUMBEROFREFUNDS.DefineVersionInfo(SifVersion.SIF20, "NumberOfRefunds", 11, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            LibraryDTD.LIBRARYPATRONSTATUS_REFUNDAMOUNT = new ElementDefAlias( LIBRARYPATRONSTATUS, "RefundAmount", null, "MonetaryAmount", 12, SifDtd.GLOBAL, null, 0, SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.DECIMAL );
            LIBRARYPATRONSTATUS_SIF_EXTENDEDELEMENTS = new ElementDefImpl( LIBRARYPATRONSTATUS, "SIF_ExtendedElements", null, 127, SifDtd.GLOBAL, null, (0), SifVersion.SIF15r1, SifVersion.SIF25 );
            LIBRARYPATRONSTATUS_SIF_METADATA = new ElementDefImpl( LIBRARYPATRONSTATUS, "SIF_Metadata", null, 128, SifDtd.DATAMODEL, "us", (0), SifVersion.SIF20, SifVersion.SIF25 );

            // <Message> fields (3 entries)
            LibraryDTD.MESSAGE_PRIORITY = new ElementDefImpl( MESSAGE, "Priority", null, 1, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            LibraryDTD.MESSAGE_SENT = new ElementDefImpl( MESSAGE, "Sent", "~TimeStampSurrogate{}Date", 2, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.DATETIME );
            LibraryDTD.MESSAGE_SENT.DefineVersionInfo(SifVersion.SIF20, "Sent", 2, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            LibraryDTD.MESSAGE_TEXT = new ElementDefImpl( MESSAGE, "Text", null, 3, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );

            // <MessageList> fields (1 entries)
            LibraryDTD.MESSAGELIST_MESSAGE = new ElementDefImpl( MESSAGELIST, "Message", null, 1, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_REPEATABLE), SifVersion.SIF11, SifVersion.SIF25 );

            // <CircTx> fields (4 entries)
            LibraryDTD.TRANSACTION_ITEMINFO = new ElementDefImpl( TRANSACTION, "ItemInfo", null, 1, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF11, SifVersion.SIF25 );
            LibraryDTD.TRANSACTION_ITEMINFO.DefineVersionInfo(SifVersion.SIF20, "ItemInfo", 1, 0); // (Sif 20 alias)
            LibraryDTD.TRANSACTION_CHECKOUTINFO = new ElementDefImpl( TRANSACTION, "CheckoutInfo", "DueInfo", 2, SifDtd.LIBRARY, "us", 0, SifVersion.SIF11, SifVersion.SIF25 );
            LibraryDTD.TRANSACTION_CHECKOUTINFO.DefineVersionInfo(SifVersion.SIF20, "CheckoutInfo", 2, 0); // (Sif 20 alias)
            LibraryDTD.TRANSACTION_FINEINFOLIST = new ElementDefImpl( TRANSACTION, "FineInfoList", null, 3, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF11, SifVersion.SIF25 );
            LibraryDTD.TRANSACTION_FINEINFOLIST.DefineVersionInfo(SifVersion.SIF20, "FineInfoList", 3, 0); // (Sif 20 alias)
            LibraryDTD.TRANSACTION_HOLDINFOLIST = new ElementDefImpl( TRANSACTION, "HoldInfoList", null, 4, SifDtd.LIBRARY, "us", (ElementDefImpl.FD_COLLAPSE), SifVersion.SIF11, SifVersion.SIF25 );
            LibraryDTD.TRANSACTION_HOLDINFOLIST.DefineVersionInfo(SifVersion.SIF20, "HoldInfoList", 4, 0); // (Sif 20 alias)

            // <TransactionList> fields (1 entries)
//.........这里部分代码省略.........
开发者ID:pgodwin,项目名称:OpenADK-csharp,代码行数:101,代码来源:LibraryDTD.cs

示例8: Load

        public override void Load()
        {
            //  Objects defined by this SDO Library...

            ACCOUNTINGPERIOD = new ElementDefImpl( null, "AccountingPeriod", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            ANNUALITEM = new ElementDefImpl( null, "AnnualItem", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            ANNUALITEMS = new ElementDefImpl( null, "AnnualItems", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            BILLEDENTITY = new ElementDefImpl( null, "BilledEntity", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            BILLING = new ElementDefImpl( null, "Billing", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            BUDGETACCOUNT = new ElementDefImpl( null, "BudgetAccount", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            BUDGETACCOUNTS = new ElementDefImpl( null, "BudgetAccounts", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            EMPLOYEEASSIGNMENT = new ElementDefImpl( null, "EmployeeAssignment", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            EMPLOYEECONTRACT = new ElementDefImpl( null, "EmployeeContract", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            EMPLOYEEPERSONAL = new ElementDefImpl( null, "EmployeePersonal", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            EMPLOYEEPICTURE = new ElementDefImpl( null, "EmployeePicture", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            EMPLOYEEWAGE = new ElementDefImpl( null, "EmployeeWage", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            EMPLOYMENTRECORD = new ElementDefImpl( null, "EmploymentRecord", "EmployeeHR", 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            EMPLOYMENTRECORD.DefineVersionInfo(SifVersion.SIF20, "EmploymentRecord", 0, (0)); // (Sif 20 alias)
            EXPENSEACCOUNT = new ElementDefImpl( null, "ExpenseAccount", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            EXPENSEACCOUNTS = new ElementDefImpl( null, "ExpenseAccounts", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            FEDERALTAXID = new ElementDefImpl( null, "FederalTaxId", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            FINANCIALACCOUNT = new ElementDefImpl( null, "FinancialAccount", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FINANCIALACCOUNTACCOUNTINGPERIODLOCATIONINFO = new ElementDefImpl( null, "FinancialAccountAccountingPeriodLocationInfo", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FINANCIALANNUAL = new ElementDefImpl( null, "FinancialAnnual", "FinAnnual", 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FINANCIALANNUAL.DefineVersionInfo(SifVersion.SIF20, "FinancialAnnual", 0, (0)); // (Sif 20 alias)
            FINANCIALBUDGET = new ElementDefImpl( null, "FinancialBudget", "FinBudget", 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FINANCIALBUDGET.DefineVersionInfo(SifVersion.SIF20, "FinancialBudget", 0, (0)); // (Sif 20 alias)
            FINANCIALCLASS = new ElementDefImpl( null, "FinancialClass", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FINANCIALINCOMESTATEMENT = new ElementDefImpl( null, "FinancialIncomeStatement", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FINANCIALTRANSACTION = new ElementDefImpl( null, "FinancialTransaction", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FISAMOUNT = new ElementDefImpl( null, "FISAmount", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.DECIMAL );
            FISAMOUNT.DefineVersionInfo(SifVersion.SIF20, "Amount", 0, (0)); // (Sif 20 alias)
            FISAMOUNTS = new ElementDefImpl( null, "FISAmounts", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            FISCALYEAR = new ElementDefImpl( null, "FiscalYear", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            FISPERIOD = new ElementDefImpl( null, "FISPeriod", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            FTAMOUNT = new ElementDefImpl( null, "FTAmount", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.DECIMAL );
            FTAMOUNT.DefineVersionInfo(SifVersion.SIF20, "Amount", 0, (0)); // (Sif 20 alias)
            FTAMOUNTS = new ElementDefImpl( null, "FTAmounts", "Amounts", 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            HROTHERIDLIST = new ElementDefImpl( null, "HrOtherIdList", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            HRPROGRAMTYPE = new ElementDefImpl( null, "HRProgramType", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            JOBCLASSIFICATION = new ElementDefImpl( null, "JobClassification", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            LEAINFOREFID = new ElementDefImpl( null, "LEAInfoRefId", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            LOCATIONINFO = new ElementDefImpl( null, "LocationInfo", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            OTHERLEAS = new ElementDefImpl( null, "OtherLEAs", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            PARENTLOCATIONINFO = new ElementDefImpl( null, "ParentLocationInfo", "LocationInfoRefId", 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            PARENTLOCATIONINFO.DefineVersionInfo(SifVersion.SIF20, "ParentLocationInfo", 0, (0)); // (Sif 20 alias)
            PAYMENT = new ElementDefImpl( null, "Payment", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF11, SifVersion.SIF25 );
            PAYRATE = new ElementDefImpl( null, "PayRate", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            PAYRATES = new ElementDefImpl( null, "PayRates", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            PERIOD = new ElementDefImpl( null, "Period", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            PURCHASING = new ElementDefImpl( null, "Purchasing", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            PURCHASINGITEM = new ElementDefImpl( null, "PurchasingItem", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF25 );
            PURCHASINGITEMS = new ElementDefImpl( null, "PurchasingItems", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF20, SifVersion.SIF25 );
            SCHOOL = new ElementDefImpl( null, "School", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF15r1 );
            SISID = new ElementDefImpl( null, "SISId", null, 0, SifDtd.HRFIN, "us", 0, SifVersion.SIF15r1, SifVersion.SIF15r1 );
            TIMEWORKED = new ElementDefImpl( null, "TimeWorked", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            VENDORINFO = new ElementDefImpl( null, "VendorInfo", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );
            W4 = new ElementDefImpl( null, "W4", null, 0, SifDtd.HRFIN, "us", (ElementDefImpl.FD_OBJECT), SifVersion.SIF15r1, SifVersion.SIF25 );

            // <AccountingPeriod> fields (6 entries)
            HrfinDTD.ACCOUNTINGPERIOD_REFID = new ElementDefImpl( ACCOUNTINGPERIOD, "RefId", null, 1, SifDtd.HRFIN, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.ACCOUNTINGPERIOD_NAME = new ElementDefImpl( ACCOUNTINGPERIOD, "Name", "AccountingPeriodName", 2, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.ACCOUNTINGPERIOD_NAME.DefineVersionInfo(SifVersion.SIF20, "Name", 2, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            HrfinDTD.ACCOUNTINGPERIOD_DESCRIPTION = new ElementDefImpl( ACCOUNTINGPERIOD, "Description", null, 3, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.ACCOUNTINGPERIOD_FISCALYEARREFID = new ElementDefImpl( ACCOUNTINGPERIOD, "FiscalYearRefId", null, 4, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.ACCOUNTINGPERIOD_STARTDATE = new ElementDefImpl( ACCOUNTINGPERIOD, "StartDate", null, 5, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.DATE );
            HrfinDTD.ACCOUNTINGPERIOD_ENDDATE = new ElementDefImpl( ACCOUNTINGPERIOD, "EndDate", null, 6, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.DATE );
            ACCOUNTINGPERIOD_SIF_EXTENDEDELEMENTS = new ElementDefImpl( ACCOUNTINGPERIOD, "SIF_ExtendedElements", null, 127, SifDtd.GLOBAL, null, (0), SifVersion.SIF15r1, SifVersion.SIF25 );
            ACCOUNTINGPERIOD_SIF_METADATA = new ElementDefImpl( ACCOUNTINGPERIOD, "SIF_Metadata", null, 128, SifDtd.DATAMODEL, "us", (0), SifVersion.SIF20, SifVersion.SIF25 );

            // <AnnualItem> fields (10 entries)
            HrfinDTD.ANNUALITEM_ACCOUNTTYPE = new ElementDefImpl( ANNUALITEM, "AccountType", "AcctType", 1, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.ANNUALITEM_ACCOUNTTYPE.DefineVersionInfo(SifVersion.SIF20, "AccountType", 1, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            HrfinDTD.ANNUALITEM_FUNDTYPE = new ElementDefImpl( ANNUALITEM, "FundType", null, 2, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.ANNUALITEM_EXPENDITUREAREA = new ElementDefImpl( ANNUALITEM, "ExpenditureArea", "ExpArea", 3, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.ANNUALITEM_EXPENDITUREAREA.DefineVersionInfo(SifVersion.SIF20, "ExpenditureArea", 4, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            HrfinDTD.ANNUALITEM_STATEPROVINCEID = new ElementDefImpl( ANNUALITEM, "StateProvinceId", null, 3, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.ANNUALITEM_FUNCTION = new ElementDefImpl( ANNUALITEM, "Function", null, 4, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.ANNUALITEM_FUNCTION.DefineVersionInfo(SifVersion.SIF20, "Function", 5, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            HrfinDTD.ANNUALITEM_OBJECT = new ElementDefImpl( ANNUALITEM, "Object", null, 5, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.ANNUALITEM_OBJECT.DefineVersionInfo(SifVersion.SIF20, "Object", 6, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            HrfinDTD.ANNUALITEM_INSTRUCTIONALPROGRAM = new ElementDefImpl( ANNUALITEM, "InstructionalProgram", "InstProgram", 6, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.ANNUALITEM_INSTRUCTIONALPROGRAM.DefineVersionInfo(SifVersion.SIF20, "InstructionalProgram", 7, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            HrfinDTD.ANNUALITEM_AMOUNT = new ElementDefAlias( ANNUALITEM, "Amount", null, "MonetaryAmount", 7, SifDtd.GLOBAL, null, 0, SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.DECIMAL );
            HrfinDTD.ANNUALITEM_AMOUNT.DefineVersionInfo(SifVersion.SIF20, "Amount", 8, 0); // (Sif 20 alias)
            HrfinDTD.ANNUALITEM_SPECIALAMOUNTTYPE = new ElementDefImpl( ANNUALITEM, "SpecialAmountType", "SpecAmtType", 8, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.ANNUALITEM_SPECIALAMOUNTTYPE.DefineVersionInfo(SifVersion.SIF20, "SpecialAmountType", 9, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)
            HrfinDTD.ANNUALITEM_GLAMOUNTTYPE = new ElementDefImpl( ANNUALITEM, "GLAmountType", "GLAmtType", 9, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF15r1, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.ANNUALITEM_GLAMOUNTTYPE.DefineVersionInfo(SifVersion.SIF20, "GLAmountType", 10, (ElementDefImpl.FD_FIELD)); // (Sif 20 alias)

            // <AnnualItems> fields (1 entries)
            HrfinDTD.ANNUALITEMS_ANNUALITEM = new ElementDefImpl( ANNUALITEMS, "AnnualItem", null, 1, SifDtd.HRFIN, "us", (ElementDefImpl.FD_REPEATABLE), SifVersion.SIF15r1, SifVersion.SIF25 );

            // <BilledEntity> fields (1 entries)
            HrfinDTD.BILLEDENTITY_SIF_REFOBJECT = new ElementDefImpl( BILLEDENTITY, "SIF_RefObject", null, 1, SifDtd.HRFIN, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );

            // <Billing> fields (6 entries)
            HrfinDTD.BILLING_REFID = new ElementDefImpl( BILLING, "RefId", null, 1, SifDtd.HRFIN, "us", (ElementDefImpl.FD_ATTRIBUTE), SifVersion.SIF11, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.BILLING_BILLEDENTITY = new ElementDefImpl( BILLING, "BilledEntity", null, 2, SifDtd.HRFIN, "us", 0, SifVersion.SIF20, SifVersion.SIF25, SifTypeConverters.STRING );
            HrfinDTD.BILLING_ENTITYID = new ElementDefImpl( BILLING, "EntityId", null, 2, SifDtd.HRFIN, "us", (ElementDefImpl.FD_FIELD), SifVersion.SIF11, SifVersion.SIF15r1, SifTypeConverters.STRING );
//.........这里部分代码省略.........
开发者ID:pgodwin,项目名称:OpenADK-csharp,代码行数:101,代码来源:HrfinDTD.cs


注:本文中的IElementDef.DefineVersionInfo方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。