com.mizar.addressing
Class StreetSide

java.lang.Object
  extended by com.mizar.addressing.StreetSide

public class StreetSide
extends java.lang.Object


Constructor Summary
StreetSide()
           
StreetSide(java.lang.Long fromAddress, java.lang.Long toAddress, Town town, County county, java.lang.String state, java.lang.String zip)
           
 
Method Summary
 County getCounty()
           
 java.lang.Long getFromAddress()
           
 java.lang.String getState()
           
 java.lang.Long getToAddress()
           
 Town getTown()
           
 java.lang.String getZip()
           
 void setCounty(County newcounty)
           
 void setFromAddress(java.lang.Long newfromAddress)
           
 void setState(java.lang.String newstate)
           
 void setToAddress(java.lang.Long newtoAddress)
           
 void setTown(Town newtown)
           
 void setZip(java.lang.String newzip)
           
 void UpdateStreetSide(java.lang.Long fromAddress, java.lang.Long toAddress, Town town, County county, java.lang.String state, java.lang.String zip)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreetSide

public StreetSide()

StreetSide

public StreetSide(java.lang.Long fromAddress,
                  java.lang.Long toAddress,
                  Town town,
                  County county,
                  java.lang.String state,
                  java.lang.String zip)
Method Detail

UpdateStreetSide

public void UpdateStreetSide(java.lang.Long fromAddress,
                             java.lang.Long toAddress,
                             Town town,
                             County county,
                             java.lang.String state,
                             java.lang.String zip)

setFromAddress

public void setFromAddress(java.lang.Long newfromAddress)

getFromAddress

public java.lang.Long getFromAddress()

setToAddress

public void setToAddress(java.lang.Long newtoAddress)

getToAddress

public java.lang.Long getToAddress()
Returns:
toAddress or Long.valueOf(0) if null

setTown

public void setTown(Town newtown)

getTown

public Town getTown()

setCounty

public void setCounty(County newcounty)

getCounty

public County getCounty()

setState

public void setState(java.lang.String newstate)

getState

public java.lang.String getState()

setZip

public void setZip(java.lang.String newzip)

getZip

public java.lang.String getZip()