public class CommerceIdentifierCostCenter
extends java.lang.Object
Bean name: CommerceIdentifierCostCenter.
| property name | type | description | default value | flags |
|---|---|---|---|---|
| CommerceIdentifier | CommerceIdentifier | |||
| CostCenterName | String | |||
| RelationshipType | String | |||
| Amount | double | |||
| SplitAmount | double | |||
| Quantity | long | |||
| QuantityWithFraction | double | |||
| SplitQuantity | long | |||
| SplitQuantityWithFraction | double | |||
| SplitCostCenterName | String |
| eventset name | listener type | description | flags |
|---|
This class was generated mechanically by atg.beanmaker.BeanMaker, and should not be modified.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
| Constructor and Description |
|---|
CommerceIdentifierCostCenter()
Creates a new
CommerceIdentifierCostCenter instance. |
CommerceIdentifierCostCenter(CommerceIdentifier pCommerceIdentifier)
Creates a new
CommerceIdentifierCostCenter instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
copyPropertiesTo(CommerceIdentifierCostCenter target) |
boolean |
equals(java.lang.Object pObj) |
double |
getAmount()
Return the Amount property.
|
CommerceIdentifier |
getCommerceIdentifier()
Return the CommerceIdentifier property.
|
java.lang.String |
getCostCenterName()
Return the CostCenterName property.
|
long |
getQuantity()
Return the Quantity property.
|
double |
getQuantityDerivedAsFloatingPoint()
This method will return a derived quantity value which this CommerceIdentifierCostCenter object represents.
|
double |
getQuantityWithFraction()
Return the quantity (with fraction) property.
|
java.lang.String |
getRelationshipType()
Return the RelationshipType property.
|
double |
getSplitAmount()
Return the SplitAmount property.
|
java.lang.String |
getSplitCostCenterName()
Return the SplitCostCenterName property.
|
long |
getSplitQuantity()
Return the SplitQuantity property.
|
double |
getSplitQuantityDerivedAsFloatingPoint()
This method will return a derived split quantity value which this CommerceIdentifierCostCenter object represents.
|
double |
getSplitQuantityWithFraction()
Return the split quantity (with fraction) property.
|
int |
hashCode() |
void |
setAmount(double pAmount)
Set the Amount property.
|
void |
setCommerceIdentifier(CommerceIdentifier pCommerceIdentifier)
Set the CommerceIdentifier property.
|
void |
setCostCenterName(java.lang.String pCostCenterName)
Set the CostCenterName property.
|
void |
setQuantity(long pQuantity)
Set the Quantity property.
|
void |
setQuantityWithFraction(double pQuantityWithFraction)
Set the quantity (with fraction) property.
|
void |
setRelationshipType(java.lang.String pRelationshipType)
Set the RelationshipType property.
|
void |
setSplitAmount(double pSplitAmount)
Set the SplitAmount property.
|
void |
setSplitCostCenterName(java.lang.String pSplitCostCenterName)
Set the SplitCostCenterName property.
|
void |
setSplitQuantity(long pSplitQuantity)
Set the SplitQuantity property.
|
void |
setSplitQuantityWithFraction(double pSplitQuantityWithFraction)
Set the split quantity (with fraction) property.
|
java.lang.String |
toString() |
public CommerceIdentifierCostCenter()
CommerceIdentifierCostCenter instance.public CommerceIdentifierCostCenter(CommerceIdentifier pCommerceIdentifier)
CommerceIdentifierCostCenter instance.pCommerceIdentifier - a CommerceIdentifier valuepublic void setCommerceIdentifier(CommerceIdentifier pCommerceIdentifier)
pCommerceIdentifier - a CommerceIdentifier valuepublic CommerceIdentifier getCommerceIdentifier()
CommerceIdentifier valuepublic void setCostCenterName(java.lang.String pCostCenterName)
pCostCenterName - a String valuepublic java.lang.String getCostCenterName()
String valuepublic void setRelationshipType(java.lang.String pRelationshipType)
pRelationshipType - a String valuepublic java.lang.String getRelationshipType()
String valuepublic void setAmount(double pAmount)
pAmount - a double valuepublic double getAmount()
double valuepublic void setSplitAmount(double pSplitAmount)
pSplitAmount - a double valuepublic double getSplitAmount()
double valuepublic void setQuantity(long pQuantity)
pQuantity - a long valuepublic long getQuantity()
long valuepublic void setQuantityWithFraction(double pQuantityWithFraction)
pQuantity - sets a new value.public double getQuantityWithFraction()
public double getQuantityDerivedAsFloatingPoint()
It will decide upon the correct quantity value to return, returning the first non zero
value from the properties, quantityWithFraction, quantity, in that order.
The method should be used where there is a need to know the quantity of an item
but it is unknown to the caller as to which property (quantityWithFraction or
quantity holds the value.
public void setSplitQuantity(long pSplitQuantity)
pSplitQuantity - a long valuepublic long getSplitQuantity()
long valuepublic void setSplitQuantityWithFraction(double pSplitQuantityWithFraction)
pSplitQuantityWithFraction - the split quantity (with fraction)public double getSplitQuantityWithFraction()
public double getSplitQuantityDerivedAsFloatingPoint()
It will decide upon the correct quantity value to return, returning the first non zero
value from the properties, splitQuantityWithFraction, splitQuantity, in that order.
The method should be used where there is a need to know the split quantity of an item
but it is unknown to the caller as to which property (splitQuantityWithFraction or
splitQuantity holds the value.
public void setSplitCostCenterName(java.lang.String pSplitCostCenterName)
pSplitCostCenterName - a String valuepublic java.lang.String getSplitCostCenterName()
String valuepublic void copyPropertiesTo(CommerceIdentifierCostCenter target)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object pObj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object