uk.me.parabola.imgfmt.app.mdr
Class Mdr5Record

java.lang.Object
  extended by uk.me.parabola.imgfmt.app.mdr.ConfigBase
      extended by uk.me.parabola.imgfmt.app.mdr.RecordBase
          extended by uk.me.parabola.imgfmt.app.mdr.Mdr5Record
All Implemented Interfaces:
java.lang.Comparable<Mdr5Record>

public class Mdr5Record
extends RecordBase
implements java.lang.Comparable<Mdr5Record>

Holds information about a city that will make its way into mdr 5. This class is used in several places as the information has to be gathered from the cities section of LBL and the points in RGN.

Author:
Steve Ratcliffe

Constructor Summary
Mdr5Record()
           
Mdr5Record(City c)
           
 
Method Summary
 int compareTo(Mdr5Record o)
           
 int getCityIndex()
           
 int getGlobalCityIndex()
           
 int getLblOffset()
           
 java.lang.String getName()
           
 int getRegion()
           
 int getStringOffset()
           
 void setGlobalCityIndex(int globalCityIndex)
           
 void setLblOffset(int lblOffset)
           
 void setName(java.lang.String name)
           
 void setStringOffset(int stringOffset)
           
 
Methods inherited from class uk.me.parabola.imgfmt.app.mdr.RecordBase
getMapIndex, setMapIndex
 
Methods inherited from class uk.me.parabola.imgfmt.app.mdr.ConfigBase
getConfig, isForDevice, setConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mdr5Record

public Mdr5Record()

Mdr5Record

public Mdr5Record(City c)
Method Detail

compareTo

public int compareTo(Mdr5Record o)
Specified by:
compareTo in interface java.lang.Comparable<Mdr5Record>

getCityIndex

public int getCityIndex()

getGlobalCityIndex

public int getGlobalCityIndex()

setGlobalCityIndex

public void setGlobalCityIndex(int globalCityIndex)

getRegion

public int getRegion()

getLblOffset

public int getLblOffset()

setLblOffset

public void setLblOffset(int lblOffset)

getStringOffset

public int getStringOffset()

setStringOffset

public void setStringOffset(int stringOffset)

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()