public class SubProductInfo extends ModelObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
static java.lang.String | PROP_ATTRIBUTES_SPECIFIED_PRODUCT
Attributes specified product property name.
|
static java.lang.String | PROP_CONTRACT_PRICE
Contract price property name.
|
static java.lang.String | PROP_INCLUDED
Included property name.
|
static java.lang.String | PROP_PRODUCT
Product property name.
|
static java.lang.String | PROP_QUANTITY
Quantity property name.
|
static java.lang.String | PROP_REQUESTED_SHIP_DATE
Requested ship date property name.
|
static java.lang.String | PROP_SHIP_TO
Ship to property name.
|
static java.lang.String | PROP_SHIPPING_MODE
Shipping mode property name.
|
Constructor and Description |
---|
SubProductInfo(Product product)
Creates sub product information.
|
Modifier and Type | Method and Description |
---|---|
Product | getAttSpecifiedProduct()
OReturns the Product that corresponds to this selected subproduct Info.
|
ContractPrice | getContractPrice()
Returns the contract price of the product.
|
Product | getProduct()
Returns the Product that corresponds to this selected subproduct Info.
|
java.lang.String | getQuantity()
Returns the saved desired Quantity for this selected subproduct.
|
java.lang.String | getRequestedShipDate()
Returns the requested Ship Date for this selected subproduct.
|
ShippingMode | getShipMode()
Returns the saved Shipping Mode for this selected subproduct.
|
Address | getShipTo()
Returns the shipping address for this selected subproduct.
|
boolean | isAttributesSpecified()
Determines if the product has attributes or not.
|
boolean | isIncluded()
Returns true if the product was selected in the dialog, false otherwise
|
void | setAttSpecifiedProduct(Product product)
Sets the Product that contains attributes.
|
void | setContractPrice(ContractPrice contractPrice)
Sets the contract price of the product.
|
void | setIncluded(boolean b)
Sets whether this subproduct should be included or not.
|
void | setQuantity(java.lang.String string)
Sets the quantity of the selected subproduct.
|
void | setReqShipDate(java.lang.String string)
Sets the requested ship date of the selected subproduct.
|
void | setShipMode(ShippingMode mode)
Sets the Ship Mode of the selected subproduct.
|
void | setShipTo(Address address)
Sets the shipping address for this selected subproduct.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String PROP_INCLUDED
public static final java.lang.String PROP_PRODUCT
public static final java.lang.String PROP_QUANTITY
public static final java.lang.String PROP_SHIP_TO
public static final java.lang.String PROP_REQUESTED_SHIP_DATE
public static final java.lang.String PROP_SHIPPING_MODE
public static final java.lang.String PROP_ATTRIBUTES_SPECIFIED_PRODUCT
public static final java.lang.String PROP_CONTRACT_PRICE
public SubProductInfo(Product product)
public ShippingMode getShipMode()
public java.lang.String getRequestedShipDate()
public java.lang.String getQuantity()
public Product getProduct()
public void setQuantity(java.lang.String string)
public void setReqShipDate(java.lang.String string)
public void setShipMode(ShippingMode mode)
public boolean isIncluded()
public void setIncluded(boolean b)
public Address getShipTo()
public void setShipTo(Address address)
public boolean isAttributesSpecified()
public Product getAttSpecifiedProduct()
public void setAttSpecifiedProduct(Product product)
public ContractPrice getContractPrice()
public void setContractPrice(ContractPrice contractPrice)