com.softslate.commerce.businessobjects.tax
Class BasicTaxRateBean

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended by com.softslate.commerce.businessobjects.tax.BasicTaxRateBean
All Implemented Interfaces:
BusinessObject, BasicTaxRate, java.io.Serializable

public class BasicTaxRateBean
extends BaseBusinessObject
implements BasicTaxRate, java.io.Serializable

Object representing a basic tax rate within the system. BasicTaxRateBean is the default implementation of the BasicTaxRate interface for the application.

The database stores basic tax rates in the sscBasicTaxRate table, and this interface can be used to represent a single row of that table. The Hibernate configuration file BasicTaxRateBean.hbm.xml maps that table's columns to the properties in this object.

Author:
David Tobey
See Also:
Serialized Form

Field Summary
private  int basicTaxRateID
           
private  java.lang.String city
           
private  Country country
           
private  java.lang.Integer countryID
           
private  boolean isActive
           
private  java.lang.String postalCode
           
private  java.lang.Double rate
           
private static long serialVersionUID
           
private  State state
           
private  java.lang.Integer stateID
           
 
Constructor Summary
BasicTaxRateBean()
           
 
Method Summary
 int getBasicTaxRateID()
           
 java.lang.String getCity()
           
 Country getCountry()
           
 java.lang.Integer getCountryID()
           
 boolean getIsActive()
           
 java.lang.String getPostalCode()
           
 java.lang.Double getRate()
           
 State getState()
           
 java.lang.Integer getStateID()
           
 void setBasicTaxRateID(int basicTaxRateID)
           
 void setCity(java.lang.String city)
           
 void setCountry(Country country)
           
 void setCountryID(java.lang.Integer countryID)
           
 void setIsActive(boolean isActive)
           
 void setPostalCode(java.lang.String postalCode)
           
 void setRate(java.lang.Double rate)
           
 void setState(State state)
           
 void setStateID(java.lang.Integer stateID)
           
 
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

basicTaxRateID

private int basicTaxRateID

countryID

private java.lang.Integer countryID

stateID

private java.lang.Integer stateID

city

private java.lang.String city

postalCode

private java.lang.String postalCode

rate

private java.lang.Double rate

isActive

private boolean isActive

country

private Country country

state

private State state
Constructor Detail

BasicTaxRateBean

public BasicTaxRateBean()
Method Detail

getCountry

public Country getCountry()
Specified by:
getCountry in interface BasicTaxRate

setCountry

public void setCountry(Country country)
Specified by:
setCountry in interface BasicTaxRate

getState

public State getState()
Specified by:
getState in interface BasicTaxRate

setState

public void setState(State state)
Specified by:
setState in interface BasicTaxRate

getBasicTaxRateID

public int getBasicTaxRateID()
Specified by:
getBasicTaxRateID in interface BasicTaxRate

setBasicTaxRateID

public void setBasicTaxRateID(int basicTaxRateID)
Specified by:
setBasicTaxRateID in interface BasicTaxRate

getCity

public java.lang.String getCity()
Specified by:
getCity in interface BasicTaxRate

setCity

public void setCity(java.lang.String city)
Specified by:
setCity in interface BasicTaxRate

getCountryID

public java.lang.Integer getCountryID()
Specified by:
getCountryID in interface BasicTaxRate

setCountryID

public void setCountryID(java.lang.Integer countryID)
Specified by:
setCountryID in interface BasicTaxRate

getIsActive

public boolean getIsActive()
Specified by:
getIsActive in interface BasicTaxRate

setIsActive

public void setIsActive(boolean isActive)
Specified by:
setIsActive in interface BasicTaxRate

getPostalCode

public java.lang.String getPostalCode()
Specified by:
getPostalCode in interface BasicTaxRate

setPostalCode

public void setPostalCode(java.lang.String postalCode)
Specified by:
setPostalCode in interface BasicTaxRate

getRate

public java.lang.Double getRate()
Specified by:
getRate in interface BasicTaxRate

setRate

public void setRate(java.lang.Double rate)
Specified by:
setRate in interface BasicTaxRate

getStateID

public java.lang.Integer getStateID()
Specified by:
getStateID in interface BasicTaxRate

setStateID

public void setStateID(java.lang.Integer stateID)
Specified by:
setStateID in interface BasicTaxRate


Copyright © SoftSlate, LLC 2003–2005