travelAlert Data Type

An object defining the basic abilities we want all of our hibernate objects to have.

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs description
cityName string element 0/1  
datetime dateTime element 0/1 This is the time the alert entered the vendor's system. Not to be confused with getTimestamp()
description string element 0/1  
destination travelAlertDestination element 0/1  
end dateTime element 0/1  
latitude double element 0/1  
link string element 0/1  
longitude double element 0/1  
metroCode string element 0/1  
severity travelAlertSeverity element 0/1  
start dateTime element 0/1  
stateCode string element 0/1  
timestamp dateTime element 0/1 This is the time the alert entered our system. Not to be confused with getDateTime()
type travelAlertType element 0/1  
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

<travelAlert>
  <timestamp>...</timestamp>
  <destination>
    <name>...</name>
    <countryCode>...</countryCode>
    <country>...</country>
    <id>...</id>
    <version>...</version>
  </destination>
  <severity>
    <name>...</name>
    <id>...</id>
    <version>...</version>
  </severity>
  <start>...</start>
  <end>...</end>
  <description>...</description>
  <link>...</link>
  <datetime>...</datetime>
  <latitude>...</latitude>
  <longitude>...</longitude>
  <type>
    <type>...</type>
    <id>...</id>
    <version>...</version>
  </type>
  <stateCode>...</stateCode>
  <metroCode>...</metroCode>
  <cityName>...</cityName>
  <id>...</id>
  <version>...</version>
  <violations/>
</travelAlert>