public LocalMetadataTargetRefType(string id, ObjectTypeCodelistType classType, bool classSpecified,
                            PackageTypeCodelistType packageType, bool packageSpecified, bool local, bool localSpecified)
 {
     this.id = id;
     this.@class = classType;
     this.classSpecified = classSpecified;
     this.package = packageType;
     this.packageSpecified = packageSpecified;
     this.local = local;
     this.localSpecified = localSpecified;
 }
 public ObjectRefType(string id, string agencyId, string version, string maintainableParentID, string maintainableParentVersion, ObjectTypeCodelistType classType, bool classSpecified, PackageTypeCodelistType packageType, bool packageSpecified)
 {
     this.id = id;
     this.agencyID = agencyId;
     this.version = version;
     this.maintainableParentID = maintainableParentID;
     this.maintainableParentVersion = maintainableParentVersion;
     this.@class = classType;
     this.classSpecified = classSpecified;
     this.package = packageType;
     this.packageSpecified = packageSpecified;
 }
        public ItemSchemeRefType(string id, string agencyId, string version, PackageTypeCodelistType packageType, bool packageTypeSpecified, ObjectTypeCodelistType classType, bool classTypeSpecified, bool local, bool localSpecified)
        {
            this.id = id;
            this.agencyID = agencyId;
            this.version = version;

            this.package = packageType;
            this.packageSpecified = packageTypeSpecified;

            this.@class = classType;
            this.classSpecified = classTypeSpecified;

            this.local = local;
            this.localSpecified = localSpecified;
        }