com.elasticpath.domain.tax.impl
Class TaxJurisdictionCategoryXImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractPersistenceImpl
          extended by com.elasticpath.domain.impl.AbstractValueObjectImpl
              extended by com.elasticpath.domain.tax.impl.TaxJurisdictionCategoryXImpl
All Implemented Interfaces:
EpDomain, Persistence, TaxJurisdictionCategoryX, ValueObject, java.io.Serializable

public class TaxJurisdictionCategoryXImpl
extends AbstractValueObjectImpl
implements TaxJurisdictionCategoryX

The default implementation of TaxJurisdictionCategoryXImpl.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
          Serial version id.
 
Constructor Summary
TaxJurisdictionCategoryXImpl()
           
 
Method Summary
 TaxCategory getTaxCategory()
          Return the tax category.
 java.util.Map getTaxValueMap()
          Return the tax code -> value map.
 java.math.BigDecimal getValue(java.lang.String taxCode)
          Return the tax value.
 void setTaxCategory(TaxCategory taxCategory)
          Set the tax category.
 void setTaxValueMap(java.util.Map taxValueMap)
          Set the the tax code -> value map.
 
Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl
getElasticPath, setElasticPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Serial version id.

See Also:
Constant Field Values
Constructor Detail

TaxJurisdictionCategoryXImpl

public TaxJurisdictionCategoryXImpl()
Method Detail

getTaxCategory

public TaxCategory getTaxCategory()
Return the tax category.

Specified by:
getTaxCategory in interface TaxJurisdictionCategoryX
Returns:
the tax category.

getTaxValueMap

public java.util.Map getTaxValueMap()
Return the tax code -> value map.

Specified by:
getTaxValueMap in interface TaxJurisdictionCategoryX
Returns:
the tax code -> value map.

getValue

public java.math.BigDecimal getValue(java.lang.String taxCode)
Return the tax value.

Specified by:
getValue in interface TaxJurisdictionCategoryX
Parameters:
taxCode - the tax code.
Returns:
the tax value.

setTaxCategory

public void setTaxCategory(TaxCategory taxCategory)
Set the tax category.

Specified by:
setTaxCategory in interface TaxJurisdictionCategoryX
Parameters:
taxCategory - the tax category

setTaxValueMap

public void setTaxValueMap(java.util.Map taxValueMap)
Set the the tax code -> value map.

Specified by:
setTaxValueMap in interface TaxJurisdictionCategoryX
Parameters:
taxValueMap - - tax code -> value map.