com.konakartadmin.app
Class AdminTaxRate

java.lang.Object
  extended by com.konakartadmin.app.AdminTaxRate
All Implemented Interfaces:
AdminObjectIf

public class AdminTaxRate
extends java.lang.Object
implements AdminObjectIf

Tax Rate object for the Admin App


Field Summary
private  java.util.Date dateAdded
          Date Added
private  java.lang.String description
          The description of the specific tax (e.g.
private  int id
          Id of the taxRate object
private  java.util.Date lastModified
          Date Last Modified
private  int priority
          Priority
private  java.math.BigDecimal rate
          The tax rate (i.e.
private  int taxClassId
          taxClassId of the taxRate object
private  java.lang.String taxClassName
          The tax class name - not saved to the d/b - here only for convenience
private  int taxZoneId
          taxZoneId of the taxRate object
private  java.lang.String zoneName
          The tax zone - not saved to the d/b - here only for convenience
 
Constructor Summary
AdminTaxRate()
          Constructor
AdminTaxRate(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Tax object from a Record object
 
Method Summary
 java.util.Date getDateAdded()
           
 java.lang.String getDescription()
           
 int getId()
           
 java.util.Date getLastModified()
           
 int getPriority()
           
 java.math.BigDecimal getRate()
           
 int getTaxClassId()
           
 java.lang.String getTaxClassName()
           
 int getTaxZoneId()
           
 java.lang.String getZoneName()
           
 void setDateAdded(java.util.Date dateAdded)
           
 void setDescription(java.lang.String description)
           
 void setId(int id)
           
 void setLastModified(java.util.Date lastModified)
           
 void setPriority(int priority)
           
 void setRate(java.math.BigDecimal rate)
           
 void setTaxClassId(int taxClassId)
           
 void setTaxClassName(java.lang.String taxClassName)
           
 void setTaxZoneId(int taxZoneId)
           
 void setZoneName(java.lang.String zoneName)
           
 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
 

Field Detail

id

private int id
Id of the taxRate object


taxZoneId

private int taxZoneId
taxZoneId of the taxRate object


taxClassId

private int taxClassId
taxClassId of the taxRate object


priority

private int priority
Priority


rate

private java.math.BigDecimal rate
The tax rate (i.e. 7.000 = 7%)


description

private java.lang.String description
The description of the specific tax (e.g. FL tax 7.0%)


taxClassName

private java.lang.String taxClassName
The tax class name - not saved to the d/b - here only for convenience


zoneName

private java.lang.String zoneName
The tax zone - not saved to the d/b - here only for convenience


dateAdded

private java.util.Date dateAdded
Date Added


lastModified

private java.util.Date lastModified
Date Last Modified

Constructor Detail

AdminTaxRate

public AdminTaxRate()
Constructor


AdminTaxRate

public AdminTaxRate(com.workingdogs.village.Record vr,
                    org.apache.torque.util.Criteria c)
             throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Tax 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()
Specified by:
toString in interface AdminObjectIf
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the TaxRate object.

toStringBrief

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

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description to set.

getId

public int getId()
Specified by:
getId in interface AdminObjectIf
Returns:
Returns the id.

setId

public void setId(int id)
Specified by:
setId in interface AdminObjectIf
Parameters:
id - The id to set.

getPriority

public int getPriority()
Returns:
Returns the priority.

setPriority

public void setPriority(int priority)
Parameters:
priority - The priority to set.

getRate

public java.math.BigDecimal getRate()
Returns:
Returns the rate.

setRate

public void setRate(java.math.BigDecimal rate)
Parameters:
rate - The rate to set.

getDateAdded

public java.util.Date getDateAdded()
Returns:
Returns the dateAdded.

setDateAdded

public void setDateAdded(java.util.Date dateAdded)
Parameters:
dateAdded - The dateAdded to set.

getLastModified

public java.util.Date getLastModified()
Returns:
Returns the lastModified.

setLastModified

public void setLastModified(java.util.Date lastModified)
Parameters:
lastModified - The lastModified to set.

getTaxClassId

public int getTaxClassId()
Returns:
Returns the taxClassId.

setTaxClassId

public void setTaxClassId(int taxClassId)
Parameters:
taxClassId - The taxClassId to set.

getTaxZoneId

public int getTaxZoneId()
Returns:
Returns the taxZoneId.

setTaxZoneId

public void setTaxZoneId(int taxZoneId)
Parameters:
taxZoneId - The taxZoneId to set.

getTaxClassName

public java.lang.String getTaxClassName()
Returns:
Returns the taxClassName.

setTaxClassName

public void setTaxClassName(java.lang.String taxClassName)
Parameters:
taxClassName - The taxClassName to set.

getZoneName

public java.lang.String getZoneName()
Returns:
Returns the zoneName.

setZoneName

public void setZoneName(java.lang.String zoneName)
Parameters:
zoneName - The zoneName to set.


Copyright © 2011 DS Data Systems UK Ltd.