com.edustructures.sifworks.common
Class CountryCode

java.lang.Object
  extended by com.edustructures.sifworks.SIFSimpleType<java.lang.String>
      extended by com.edustructures.sifworks.SIFString
          extended by com.edustructures.sifworks.SIFEnum
              extended by com.edustructures.sifworks.common.CountryCode
All Implemented Interfaces:
java.io.Serializable

public class CountryCode
extends SIFEnum

Defines the set of values that can be specified whenever a CountryCode is used as a parameter to a method or constructor. Alternatively, the static wrap method can be called to encapsulate any string value in a CountryCode object.

Since:
1.1
Version:
2.0
See Also:
Serialized Form

Field Summary
static CountryCode AU
          Australia ("AU")
static CountryCode CA
          Canada ("CA")
static CountryCode GB
          United Kingdom ("GB")
static CountryCode IE
          Ireland ("IE")
static CountryCode IM
          Isle of Man ("IM")
static CountryCode UM
          United States Minor Outlying Islands ("UM")
static CountryCode US
          United States of America ("US")
 
Method Summary
static CountryCode wrap(java.lang.String value)
          Wrap an arbitrary string value in a CountryCode object.
 
Methods inherited from class com.edustructures.sifworks.SIFString
getTypeConverter, isDoNotEncode
 
Methods inherited from class com.edustructures.sifworks.SIFSimpleType
createField, equals, getDataType, getSQLType, getValue, hashCode, toString, toString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AU

public static final CountryCode AU
Australia ("AU")


IM

public static final CountryCode IM
Isle of Man ("IM")


CA

public static final CountryCode CA
Canada ("CA")


UM

public static final CountryCode UM
United States Minor Outlying Islands ("UM")


GB

public static final CountryCode GB
United Kingdom ("GB")


US

public static final CountryCode US
United States of America ("US")


IE

public static final CountryCode IE
Ireland ("IE")

Method Detail

wrap

public static CountryCode wrap(java.lang.String value)
Wrap an arbitrary string value in a CountryCode object.

Parameters:
value - The element/attribute value. This method does not verify that the value is valid according to the SIF Specification.


Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.