org.ota.profile
Class Accesses.Access

java.lang.Object
  extended by org.ota.profile.Accesses.Access
Enclosing class:
Accesses

public static class Accesses.Access
extends java.lang.Object

Describes the action taken on the record. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Access" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:PersonNameType" name="AccessPerson" minOccurs="0"/>
       <xs:element type="ns:FreeTextType" name="AccessComment" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute name="ActionType">
       <xs:simpleType>
         <!-- Reference to inner class Action -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attribute type="xs:dateTime" name="ActionDateTime"/>
     <xs:attributeGroup ref="ns:ID_Group"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ID_Group">
   <xs:attribute type="xs:string" use="required" name="ID"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class Accesses.Access.Action
          Schema fragment(s) for this class:
 
Constructor Summary
Accesses.Access()
           
 
Method Summary
 FreeText getAccessComment()
          Get the 'AccessComment' element value.
 PersonName getAccessPerson()
          Get the 'AccessPerson' element value.
 Accesses.Access.Action getAction()
          Get the 'ActionType' attribute value.
 java.util.Date getActionDateTime()
          Get the 'ActionDateTime' attribute value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 void setAccessComment(FreeText accessComment)
          Set the 'AccessComment' element value.
 void setAccessPerson(PersonName accessPerson)
          Set the 'AccessPerson' element value.
 void setAction(Accesses.Access.Action action)
          Set the 'ActionType' attribute value.
 void setActionDateTime(java.util.Date actionDateTime)
          Set the 'ActionDateTime' attribute value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Accesses.Access

public Accesses.Access()
Method Detail

getAccessPerson

public PersonName getAccessPerson()
Get the 'AccessPerson' element value. Name of individual who originated or updated record.

Returns:
value

setAccessPerson

public void setAccessPerson(PersonName accessPerson)
Set the 'AccessPerson' element value. Name of individual who originated or updated record.

Parameters:
accessPerson -

getAccessComment

public FreeText getAccessComment()
Get the 'AccessComment' element value. Free text comment added by the person accessing the profile record.

Returns:
value

setAccessComment

public void setAccessComment(FreeText accessComment)
Set the 'AccessComment' element value. Free text comment added by the person accessing the profile record.

Parameters:
accessComment -

getAction

public Accesses.Access.Action getAction()
Get the 'ActionType' attribute value. Type of action taken on the profile.

Returns:
value

setAction

public void setAction(Accesses.Access.Action action)
Set the 'ActionType' attribute value. Type of action taken on the profile.

Parameters:
action -

getActionDateTime

public java.util.Date getActionDateTime()
Get the 'ActionDateTime' attribute value. Month, day, year and optionally in hour, minute, second of day in ISO 8601 format of the action taken on the profile.

Returns:
value

setActionDateTime

public void setActionDateTime(java.util.Date actionDateTime)
Set the 'ActionDateTime' attribute value. Month, day, year and optionally in hour, minute, second of day in ISO 8601 format of the action taken on the profile.

Parameters:
actionDateTime -

getID

public java.lang.String getID()
Get the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Returns:
value

setID

public void setID(java.lang.String ID)
Set the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Parameters:
ID -