region Data Type

Regions are localized states/provinces/municipalities within a country.

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs description
code string element 0/1 The localized code for the region. Like UT. This will be the country code if there is no municipality code.
country country element 0/1 The country this region resides in.
name string element 0/1 The long name of the region. Like Utah / Ontario / Chongqing
position long element 0/1 The position this region should have in drop-downs.
Properties inherited from baseHibernateEntity
id long element 0/1 The unique internal ID of the object.
version long element 0/1 For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from baseEntity
violations list of simpleViolation element 0/unbounded A list of constraint violations, if any, that this object has.

Example

<region>
  <name>...</name>
  <code>...</code>
  <country>
    <name>...</name>
    <code>...</code>
    <codeAlt>...</codeAlt>
    <phoneCode>...</phoneCode>
    <position>...</position>
    <id>...</id>
    <version>...</version>
  </country>
  <position>...</position>
  <id>...</id>
  <version>...</version>
  <violations/>
</region>