ps6.tigerdb
Class TigerRT1

java.lang.Object
  extended by ps6.tigerdb.TigerRecord
      extended by ps6.tigerdb.TigerRwTLID
          extended by ps6.tigerdb.TigerRT1
All Implemented Interfaces:
Serializable

public class TigerRT1
extends TigerRwTLID

TigerRT1 represents a Complete-Chain Basic Data Record.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class ps6.tigerdb.TigerRecord
TigerRecord.NoInt
 
Field Summary
static long serialVersionUID
           
 
Constructor Summary
TigerRT1(String s)
          Constructs a TigerRT1 from a line of Record Type 1 as specified in the Data Dictionary for the Tiger/Line files.
 
Method Summary
 String getCfc()
           
 GeoPoint getEnd()
           
 Feature getFeature()
           
 DirectedStreetNumberRange getLeftRange()
           
 String getLeftZip()
           
 DirectedStreetNumberRange getRightRange()
           
 String getRightZip()
           
 GeoPoint getStart()
           
 boolean hasAddress(int a)
           
 String primaryName()
          Returns the primary name of this, or "" if this does not have a primary name.
 String toString()
           
 
Methods inherited from class ps6.tigerdb.TigerRwTLID
getTLID
 
Methods inherited from class ps6.tigerdb.TigerRecord
die, makeGP, parseAddrRange, toInt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

TigerRT1

public TigerRT1(String s)
         throws BadRecordException
Constructs a TigerRT1 from a line of Record Type 1 as specified in the Data Dictionary for the Tiger/Line files.

Throws:
BadRecordException
Method Detail

toString

public String toString()
Overrides:
toString in class Object

primaryName

public String primaryName()
Returns the primary name of this, or "" if this does not have a primary name. Right now the name contains the Primary Feature PrefixDirection, Name, Type, and SuffixDirection.


hasAddress

public boolean hasAddress(int a)

getCfc

public String getCfc()
Returns:
the CFC of this, whatever that is.

getStart

public GeoPoint getStart()
Returns:
the start of this RT1

getEnd

public GeoPoint getEnd()
Returns:
the end of this RT1

getFeature

public Feature getFeature()
Returns:
the feature assocated with this RT1

getLeftZip

public String getLeftZip()
Returns:
the left zipcode associated with this RT1

getRightZip

public String getRightZip()
Returns:
the right zipcode associated with this RT1

getLeftRange

public DirectedStreetNumberRange getLeftRange()
Returns:
the left street number range associated with this RT1

getRightRange

public DirectedStreetNumberRange getRightRange()
Returns:
the right street number range associated with this RT1