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

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

public class IPEDirEntry
extends Object
implements DirEntry

Represents a directory entry within an ITSO Directory File

Author:
kyleb
See Also:
Serialized Form

Nested Class Summary
static class IPEDirEntry.ProductState
          Represents the different possible states for an IPE on a CM
 
Field Summary
static int DIR_ENTRY_LEN
           
 
Constructor Summary
IPEDirEntry(byte[] dirEntry, int offset, int dirIndex)
          Parses from the provided byte array, starting at the given offset
 
Method Summary
 Calendar getExpiryDate()
           
 boolean getHasValueGroup()
           
 int getIndex()
           
 int getIPEStartingSector()
           
 short getOID()
           
 IPEDirEntry.ProductState getProductState()
           
 byte getPTYP()
           
 short getTYP()
           
 boolean isDifferentIIN()
           
 boolean isExtendedOIDs()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DIR_ENTRY_LEN

public static final int DIR_ENTRY_LEN
See Also:
Constant Field Values
Constructor Detail

IPEDirEntry

public IPEDirEntry(byte[] dirEntry,
                   int offset,
                   int dirIndex)
            throws IndexOutOfBoundsException
Parses from the provided byte array, starting at the given offset

Parameters:
dirEntry - byte array to parse from
offset - index to start parsing at
Throws:
IndexOutOfBoundsException
Method Detail

isExtendedOIDs

public boolean isExtendedOIDs()

getOID

public short getOID()

getTYP

public short getTYP()
Specified by:
getTYP in interface DirEntry

getPTYP

public byte getPTYP()

getHasValueGroup

public boolean getHasValueGroup()

isDifferentIIN

public boolean isDifferentIIN()

getExpiryDate

public Calendar getExpiryDate()

getProductState

public IPEDirEntry.ProductState getProductState()

getIndex

public int getIndex()
Specified by:
getIndex in interface DirEntry

getIPEStartingSector

public int getIPEStartingSector()
Specified by:
getIPEStartingSector in interface DirEntry

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Ecebs Ltd. All Rights Reserved.