com.ecebs.rtd.enabler.types.itso
Class TransientTicketRecord

java.lang.Object
  extended by com.ecebs.rtd.enabler.types.itso.TransientTicketRecord
All Implemented Interfaces:
Serializable

public class TransientTicketRecord
extends Object
implements Serializable

Represents a Transient Ticket Record (TTR) found within a cyclic log on an ITSO CMD

Author:
kyleb
See Also:
CyclicLog, Serialized Form

Constructor Summary
TransientTicketRecord(LogDirEntry dir, byte[] ipeBytes)
          Parses from the provided byte array, starting at the given offset
 
Method Summary
 Amount getAmountPaid()
           
 byte getCIPEFlags()
           
 Calendar getDateTimeStamp()
           
 LOCE getDestinationTT()
           
 Calendar getEntryDTS()
           
 short getEntryIINIndex()
           
 int getEntryOID()
           
 byte[] getEntryTTIPEIsamID()
           
 int getEntryTTIPEIsamSeqNum()
           
 Header getHeader()
           
 int getIIN()
           
 byte getIPEID1()
           
 byte getIPEID2()
           
 byte getIPEID3()
           
 byte getIPEID4()
           
 IPEInstanceID getIPEInstanceID()
           
 byte getIPEPointer()
           
 LogDirEntry getLogDirEntry()
           
 LOCE getOriginLocation()
           
 LOCE getRoutingCode()
           
 byte[] getSeal()
           
 short getTTBitMap2()
           
 ITSOCodeResolver.EventTypeCode getTTTransactionType()
           
 byte[] getUserDefined()
           
 boolean isAmountPaidPresent()
           
 boolean isCIPEPresent()
           
 boolean isCMInspected()
           
 boolean isCompanionTravelling()
           
 boolean isDestinationPresent()
           
 boolean isEntryOIDPresent()
           
 boolean isEntryPresent()
           
 boolean isIINPresent()
           
 boolean isInvalidTravelDetected()
           
 boolean isIpeIdPresent()
           
 boolean isNoFareCharged()
           
 boolean isOriginPresent()
           
 boolean isReturnTicket()
           
 boolean isRouteCodePresent()
           
 boolean isUserDefinedElementPresent()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransientTicketRecord

public TransientTicketRecord(LogDirEntry dir,
                             byte[] ipeBytes)
Parses from the provided byte array, starting at the given offset

Parameters:
dir - Directory entry associated with the IPE
ipeBytes - byte array to parse from
Method Detail

getLogDirEntry

public LogDirEntry getLogDirEntry()

getHeader

public Header getHeader()

getTTBitMap2

public short getTTBitMap2()

isAmountPaidPresent

public boolean isAmountPaidPresent()

isDestinationPresent

public boolean isDestinationPresent()

isIpeIdPresent

public boolean isIpeIdPresent()

isOriginPresent

public boolean isOriginPresent()

isRouteCodePresent

public boolean isRouteCodePresent()

isIINPresent

public boolean isIINPresent()

isCIPEPresent

public boolean isCIPEPresent()

isEntryPresent

public boolean isEntryPresent()

isEntryOIDPresent

public boolean isEntryOIDPresent()

isUserDefinedElementPresent

public boolean isUserDefinedElementPresent()

getTTTransactionType

public ITSOCodeResolver.EventTypeCode getTTTransactionType()

getDateTimeStamp

public Calendar getDateTimeStamp()

getAmountPaid

public Amount getAmountPaid()

isCompanionTravelling

public boolean isCompanionTravelling()

isReturnTicket

public boolean isReturnTicket()

isNoFareCharged

public boolean isNoFareCharged()

getDestinationTT

public LOCE getDestinationTT()

getIPEPointer

public byte getIPEPointer()

getOriginLocation

public LOCE getOriginLocation()

getRoutingCode

public LOCE getRoutingCode()

getIIN

public int getIIN()

getIPEID1

public byte getIPEID1()

getIPEID2

public byte getIPEID2()

getIPEID3

public byte getIPEID3()

getIPEID4

public byte getIPEID4()

getCIPEFlags

public byte getCIPEFlags()

isInvalidTravelDetected

public boolean isInvalidTravelDetected()

isCMInspected

public boolean isCMInspected()

getEntryTTIPEIsamID

public byte[] getEntryTTIPEIsamID()

getEntryTTIPEIsamSeqNum

public int getEntryTTIPEIsamSeqNum()

getEntryDTS

public Calendar getEntryDTS()

getEntryOID

public int getEntryOID()

getEntryIINIndex

public short getEntryIINIndex()

getUserDefined

public byte[] getUserDefined()

getIPEInstanceID

public IPEInstanceID getIPEInstanceID()

getSeal

public byte[] getSeal()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Ecebs Ltd. All Rights Reserved.