public final class CSProductTypeContent extends CSItemContent
CSProductType
object.
set/get
methods within CSProductType
provide access to this content data and so there
should not typically be any need to explicitly use the set/get
methods supplied here.
CSProductType
,
Serialized FormConstructor and Description |
---|
CSProductTypeContent()
Creates an empty
CSProductTypeContent object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the data contained in this
CSProductTypeContent object is the same as that
contained within the one supplied. |
boolean |
getDisplay()
Gets the flag which indicates the display status of the product type.
|
java.util.Date |
getDisplayEndDate()
Gets the display end date of the product type.
|
java.util.Date |
getDisplayStartDate()
Gets the display start date of the product type.
|
java.lang.String |
getLongDescription()
Gets the long description of the product type.
|
java.lang.String |
getName()
Gets the name of the product type.
|
double |
getPrice()
Gets the default price of the product type.
|
int |
getProductGroupID()
Gets the parent product group ID of the product type.
|
java.lang.String |
getProductGroupName()
Gets the parent product group name of the product type.
|
int |
getRackID()
Gets the rack ID of the product type.
|
java.lang.String |
getRackName()
Gets the rack name of the product type.
|
int |
getRelatedFormID()
Gets the related form ID of the product type.
|
int |
getShippingSchemeID()
Gets the ID of the shipping scheme to be applied to the product type.
|
java.lang.String |
getShortDescription()
Gets the short description of the product type.
|
java.lang.String |
getUserData()
Gets the user data of the product type.
|
int |
getVatSchemeID()
Gets the ID of the VAT scheme to be applied to the product type.
|
void |
setDisplay(boolean bDisplay)
Sets the flag which indicates the display status of the product type.
|
void |
setDisplayEndDate(java.util.Date objDisplayEndDate)
Sets the display end date of the product type.
|
void |
setDisplayStartDate(java.util.Date objDisplayStartDate)
Sets the display start date of the product type.
|
void |
setLongDescription(java.lang.String strLongDescription)
Sets the long description of the product type.
|
void |
setName(java.lang.String strName)
Sets the name of the product type.
|
void |
setPrice(double nPrice)
Sets the default price of the product type.
|
void |
setProductGroupID(int nProductGroupID)
Sets the parent product group ID of the product type.
|
void |
setProductGroupName(java.lang.String strProductGroupName)
Sets the parent product group name of the product type.
|
void |
setRackID(int nRackID)
Sets the rack ID of the product type.
|
void |
setRackName(java.lang.String strRackName)
Sets the rack name of the product type.
|
void |
setRelatedFormID(int id)
Sets the related form ID of the product type.
|
void |
setShippingSchemeID(int nShippingSchemeID)
Sets the ID of the shipping scheme to be applied to the product type.
|
void |
setShortDescription(java.lang.String strShortDescription)
Sets the short description of the product type.
|
void |
setUserData(java.lang.String strUserData)
Sets the user data of the product type.
|
void |
setVatSchemeID(int nVatSchemeID)
Sets the ID of the VAT scheme to be applied to the product type.
|
void |
unset()
Clear all the content details of the
CSProductTypeContent object. |
clone, getID, setID, toString
public CSProductTypeContent()
CSProductTypeContent
object.public int getProductGroupID()
public void setProductGroupID(int nProductGroupID)
nProductGroupID
- the product type's parent product group ID.public java.lang.String getProductGroupName()
public void setProductGroupName(java.lang.String strProductGroupName)
strProductGroupName
- the product type's parent product group name.public java.lang.String getName()
public void setName(java.lang.String strName)
strName
- the product type's name.public java.lang.String getShortDescription()
public void setShortDescription(java.lang.String strShortDescription)
strShortDescription
- the product type's short description.public java.lang.String getLongDescription()
public void setLongDescription(java.lang.String strLongDescription)
strLongDescription
- the product type's long description.public boolean getDisplay()
public void setDisplay(boolean bDisplay)
bDisplay
- the flag indicating the product type's display status.public java.util.Date getDisplayStartDate()
public void setDisplayStartDate(java.util.Date objDisplayStartDate)
objDisplayStartDate
- the product type's display start date.public java.util.Date getDisplayEndDate()
public void setDisplayEndDate(java.util.Date objDisplayEndDate)
objDisplayEndDate
- the product type's display end date.public int getVatSchemeID()
public void setVatSchemeID(int nVatSchemeID)
nVatSchemeID
- the product type's VAT scheme ID.public int getShippingSchemeID()
public void setShippingSchemeID(int nShippingSchemeID)
nShippingSchemeID
- the product type's shipping scheme ID.public double getPrice()
public void setPrice(double nPrice)
nPrice
- the product type's default price.public int getRelatedFormID()
public void setRelatedFormID(int id)
id
- the product type's related form ID.public java.lang.String getUserData()
public void setUserData(java.lang.String strUserData)
strUserData
- the product type's user data.public int getRackID()
public void setRackID(int nRackID)
nRackID
- the product type's rack ID.public java.lang.String getRackName()
public void setRackName(java.lang.String strRackName)
strRackName
- the product type's rack name.public void unset()
CSProductTypeContent
object.unset
in class CSItemContent
public boolean equals(java.lang.Object obj)
CSProductTypeContent
object is the same as that
contained within the one supplied. Note that the key data used for searching is not tested for equality.
equals
in class CSItemContent
obj
- the CSProductTypeContent
to be tested for equality.true
if the data matches, false
otherwise.Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.