com.ecebs.rtd.enabler.types.itso.vrdg
Class VRDG
java.lang.Object
com.ecebs.rtd.enabler.types.itso.vrdg.VRDG
- All Implemented Interfaces:
- Serializable
public class VRDG
- extends Object
- implements Serializable
Represents an ITSO Value Record Data Group (VRDG)
- Author:
- kyleb
- See Also:
- Serialized Form
Constructor Summary |
VRDG(int ipeType,
int offset,
byte[] vrdgBytes)
Parses from the provided byte array starting at the provided offset |
VRDG
public VRDG(int ipeType,
int offset,
byte[] vrdgBytes)
throws IndexOutOfBoundsException
- Parses from the provided byte array starting at the provided offset
- Parameters:
ipeType
- type of IPE that the VRDG is associated withoffset
- index to start parsing atvrdgBytes
- byte array to parse from
- Throws:
IndexOutOfBoundsException
getValueRecords
public List<ValueRecord> getValueRecords()
getNewestVR
public ValueRecord getNewestVR()
getIPEType
public int getIPEType()
getVRDGLength
public byte getVRDGLength()
getVRDGBitMap
public byte getVRDGBitMap()
isVRDGExtensionPresent
public boolean isVRDGExtensionPresent()
getVRDGExtension
public VGX getVRDGExtension()
getNumSupportedVRs
public int getNumSupportedVRs()
getInstanceID
public IPEInstanceID getInstanceID()
getSeal
public byte[] getSeal()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 Ecebs Ltd. All Rights Reserved.