Permalink
Browse files

adding invalid and actualcount to EntityCount to designate/correct ob…

…viously wrong values
  • Loading branch information...
1 parent d621fc9 commit 8f9c2ea09a3ee2772ceab88f26cc33a48f93b959 @Ahoerstemeier committed Jan 19, 2017
Showing with 87 additions and 1 deletion.
  1. +1 −0 AHTambonData/AHTambonData.csproj
  2. +71 −0 DataModel/geocode.Designer.cs
  3. +15 −1 DataModel/geocode.xsd
@@ -102,6 +102,7 @@
<Content Include="EntityLists\NSO2014.xml" />
<Content Include="EntityLists\NSO1917.xml" />
<Content Include="EntityLists\NSO2015.xml" />
+ <Content Include="EntityLists\NSO2016.xml" />
<Content Include="Gazette\Gazette Constitution.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
@@ -1412,6 +1412,19 @@ public partial class EntityCountType {
private uint countField;
+ private bool invalidField;
+
+ private uint actualcountField;
+
+ private bool actualcountFieldSpecified;
+
+ /// <summary>
+ /// Creates a new instance of EntityCountType.
+ /// </summary>
+ public EntityCountType() {
+ this.invalidField = false;
+ }
+
/// <summary>
/// Auto generated comment tag to suppress XML code documentation warning.
/// </summary>
@@ -1429,6 +1442,12 @@ public partial class EntityCountType {
}
}
+ /// <summary>
+ /// Type of entity.
+ /// </summary>
+ /// <value>
+ /// The type.
+ /// </value>
[System.Xml.Serialization.XmlAttributeAttribute()]
[System.Runtime.Serialization.DataMemberAttribute()]
public EntityType type {
@@ -1456,5 +1475,57 @@ public partial class EntityCountType {
this.countField = value;
}
}
+
+ /// <summary>
+ /// Indicate whether value stated in the source is obviously wrong.
+ /// </summary>
+ /// <value>
+ /// The invalid.
+ /// </value>
+ [System.Xml.Serialization.XmlAttributeAttribute()]
+ [System.ComponentModel.DefaultValueAttribute(false)]
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public bool invalid {
+ get {
+ return this.invalidField;
+ }
+ set {
+ this.invalidField = value;
+ }
+ }
+
+ /// <summary>
+ /// Corrected value of number of entities of the given type.
+ /// </summary>
+ /// <value>
+ /// The actualcount.
+ /// </value>
+ [System.Xml.Serialization.XmlAttributeAttribute()]
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public uint actualcount {
+ get {
+ return this.actualcountField;
+ }
+ set {
+ this.actualcountField = value;
+ }
+ }
+
+ /// <summary>
+ /// Auto generated comment tag to suppress XML code documentation warning.
+ /// </summary>
+ /// <value>
+ /// Auto generated value tag to suppress XML code documentation warning.
+ /// </value>
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public bool actualcountSpecified {
+ get {
+ return this.actualcountFieldSpecified;
+ }
+ set {
+ this.actualcountFieldSpecified = value;
+ }
+ }
}
}
View
@@ -213,12 +213,26 @@
</xs:complexType>
<xs:complexType name="EntityCountType">
<xs:attributeGroup ref="t:Comment" />
- <xs:attribute name="type" type="t:EntityType" use="required" />
+ <xs:attribute name="type" type="t:EntityType" use="required">
+ <xs:annotation>
+ <xs:documentation>Type of entity.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
<xs:attribute name="count" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>Number of entities of the given type.</xs:documentation>
</xs:annotation>
</xs:attribute>
+ <xs:attribute name="invalid" type="xs:boolean" use="optional" default="false">
+ <xs:annotation>
+ <xs:documentation>Indicate whether value stated in the source is obviously wrong.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="actualcount" type="xs:unsignedInt" use="optional">
+ <xs:annotation>
+ <xs:documentation>Corrected value of number of entities of the given type.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
</xs:complexType>
<xs:complexType name="EntityCount">
<xs:sequence minOccurs="1" maxOccurs="1">

0 comments on commit 8f9c2ea

Please sign in to comment.