com.konakart.app
Class TaxClass

java.lang.Object
  extended by com.konakart.app.TaxClass
All Implemented Interfaces:
TaxClassIf

public class TaxClass
extends java.lang.Object
implements TaxClassIf

Tax Class - holds objects such as "Taxable Goods" (which is the only row by default) No multi-language support is provided for this in osCommerce


Constructor Summary
TaxClass()
          Constructor
TaxClass(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the TaxClass object from a Record object
 
Method Summary
 java.util.Date getDateAdded()
           
 java.util.Date getLastModified()
           
 java.lang.String getTaxClassDescription()
          The description of the tax class e.g.
 int getTaxClassId()
           
 java.lang.String getTaxClassTitle()
          The title of the tax class.
 java.lang.String getTaxCode()
           
 void setDateAdded(java.util.Date dateAdded)
           
 void setLastModified(java.util.Date lastModified)
           
 void setTaxClassDescription(java.lang.String taxClassDescription)
          The description of the tax class e.g.
 void setTaxClassId(int taxClassId)
           
 void setTaxClassTitle(java.lang.String taxClassTitle)
          The title of the tax class.
 void setTaxCode(java.lang.String taxCode)
           
 java.lang.String toString()
           
 java.lang.String toStringBrief()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaxClass

public TaxClass()
Constructor


TaxClass

public TaxClass(com.workingdogs.village.Record vr,
                org.apache.torque.util.Criteria c)
         throws com.workingdogs.village.DataSetException
Instantiates the attributes of the TaxClass object from a Record object

Parameters:
vr - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the Country object.

toStringBrief

public java.lang.String toStringBrief()
Returns:
Returns a string containing selected attributes of the Country object.

getDateAdded

public java.util.Date getDateAdded()
Specified by:
getDateAdded in interface TaxClassIf
Returns:
the dateAdded

setDateAdded

public void setDateAdded(java.util.Date dateAdded)
Specified by:
setDateAdded in interface TaxClassIf
Parameters:
dateAdded - the dateAdded to set

getLastModified

public java.util.Date getLastModified()
Specified by:
getLastModified in interface TaxClassIf
Returns:
the lastModified

setLastModified

public void setLastModified(java.util.Date lastModified)
Specified by:
setLastModified in interface TaxClassIf
Parameters:
lastModified - the lastModified to set

getTaxClassDescription

public java.lang.String getTaxClassDescription()
Description copied from interface: TaxClassIf
The description of the tax class e.g. "The following types of products are included non-food, services, etc"

Specified by:
getTaxClassDescription in interface TaxClassIf
Returns:
the taxClassDescription

setTaxClassDescription

public void setTaxClassDescription(java.lang.String taxClassDescription)
Description copied from interface: TaxClassIf
The description of the tax class e.g. "The following types of products are included non-food, services, etc"

Specified by:
setTaxClassDescription in interface TaxClassIf
Parameters:
taxClassDescription - the taxClassDescription to set

getTaxClassId

public int getTaxClassId()
Specified by:
getTaxClassId in interface TaxClassIf
Returns:
the taxClassId

setTaxClassId

public void setTaxClassId(int taxClassId)
Specified by:
setTaxClassId in interface TaxClassIf
Parameters:
taxClassId - the taxClassId to set

getTaxClassTitle

public java.lang.String getTaxClassTitle()
Description copied from interface: TaxClassIf
The title of the tax class. e.g. Taxable Goods

Specified by:
getTaxClassTitle in interface TaxClassIf
Returns:
the taxClassTitle

setTaxClassTitle

public void setTaxClassTitle(java.lang.String taxClassTitle)
Description copied from interface: TaxClassIf
The title of the tax class. e.g. Taxable Goods

Specified by:
setTaxClassTitle in interface TaxClassIf
Parameters:
taxClassTitle - the taxClassTitle to set

getTaxCode

public java.lang.String getTaxCode()
Specified by:
getTaxCode in interface TaxClassIf
Returns:
the taxCode

setTaxCode

public void setTaxCode(java.lang.String taxCode)
Specified by:
setTaxCode in interface TaxClassIf
Parameters:
taxCode - the taxCode to set


Copyright © 2011 DS Data Systems UK Ltd.