|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CostCenterMapContainer
The CostCenterMapContainer
interface is used to represent a container
of a Map of payment names [key] to CostCenters [value].
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
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
value
CostCenter
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |