Country DataObject

Country specifies the name of a country.

Country DataObject extends from the abstract data object GeographicLocation. Locality represents a country.

The structure of a Country data object consists of:
identifier
contains a single IdentifierType data object.
countryName
specifies the name of the country.
parent
is a containment property which is used to link to the parent of the entity in the virtual member manager hierarchy. It only contains a single Entity data object because an entity can only have one parent. Also, because any entity can be parent of any other entity, the data object in the property is an Entity data object.
children
is a containment property that is used to link to the children of the entity in the virtual member manager hierarchy. It contains multiple Entity data objects because an entity can have multiple children. Also, because any entity can be a child of another entity, the data object in the property is an Entity data object.

XML schema definition

The following is the XML schema definition for Counrty DataObject:
<xsd:complexType name="Country">
    <xsd:complexContent>
        <xsd:extension base="GeographicLocation">
	     <xsd:sequence>	
		  <xsd:element maxOccurs="1" minOccurs="0" ref="countryName"/>
	     </xsd:sequence>
	  </xsd:extension>
     </xsd:complexContent>

Sample data object

Following is a sample Country data object. The c property is the short form for countryName. It contains a two-letter ISO 3166 country code.
<wim:Root>
    <wim:entities xsi:type="wim:Country">
      <wim:identifier externalName="c=CA"
                      repositoryId="LDAP1" 
                      uniqueId="bbbb9201-1dd111b2-80d5f611-4d759b2b" 
                      uniqueName="c=CA"/>
      <wim:c>CA</wim:c>
    </wim:entities>
  </wim:Root>
Terms of use | Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.
IBM virtual member manager 6.1