public interface CostCenterMapContainer
extends java.io.Serializable
CostCenterMapContainer
interface is used to represent a container
of a Map of payment names [key] to CostCenters [value].Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
void |
addCostCenter(java.lang.String pCostCenterName,
CostCenter pCostCenter)
The
addCostCenter method adds the supplied name and CostCenter
to the Map. |
CostCenter |
getCostCenter(java.lang.String pCostCenterName)
The
getCostCenter method returns the CostCenter corresponding to the
supplied name. |
java.util.Map |
getCostCenterMap()
The
getCostCenterMap method returns the Map of named CostCenters. |
java.lang.String |
getDefaultCostCenterName()
The
getDefaultCostCenterName method retrieves the name of the
default CostCenter. |
void |
removeAllCostCenters()
The
removeAllCostCenters method clears the Map. |
void |
removeCostCenter(java.lang.String pCostCenterName)
The
removeCostCenter method removes the CostCenter corresponding to
the supplied name. |
void |
setDefaultCostCenterName(java.lang.String pDefaultCostCenterName)
The
setDefaultCostCenterName method marks the name of the
default CostCenter. |
static final java.lang.String CLASS_VERSION
java.util.Map getCostCenterMap()
getCostCenterMap
method returns the Map of named CostCenters.Map
valueCostCenter getCostCenter(java.lang.String pCostCenterName)
getCostCenter
method returns the CostCenter corresponding to the
supplied name.pCostCenterName
- a String
valueCostCenter
valuejava.lang.String getDefaultCostCenterName()
getDefaultCostCenterName
method retrieves the name of the
default CostCenter.String
valuevoid addCostCenter(java.lang.String pCostCenterName, CostCenter pCostCenter)
addCostCenter
method adds the supplied name and CostCenter
to the Map.pCostCenterName
- a String
valuepCostCenter
- a CostCenter
valuevoid removeAllCostCenters()
removeAllCostCenters
method clears the Map.void setDefaultCostCenterName(java.lang.String pDefaultCostCenterName)
setDefaultCostCenterName
method marks the name of the
default CostCenter.pDefaultCostCenterName
- a String
valuevoid removeCostCenter(java.lang.String pCostCenterName)
removeCostCenter
method removes the CostCenter corresponding to
the supplied name.pCostCenterName
- a String
value