|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.beasys.commerce.foundation.BelongingImpl
com.beasys.commerce.ebusiness.catalog.InventoryInfoImpl
Implementation class for the InventoryInfo interface.
InventoryInfo,
InventoryInfoHome,
Serialized Form| Field Summary | |
boolean |
inStock
Containment: By Value Multiplicity: 1:1 |
String |
shippingTime
Containment: By Value Multiplicity: 1:1 |
String |
specialNotices
Containment: By Value Multiplicity: 1:1 |
| Fields inherited from class com.beasys.commerce.foundation.BelongingImpl |
__classIdentifier, __containingBelonging, __containingEntity, __mapKey, __sequenceNumber, _isDirty |
| Fields inherited from interface com.beasys.commerce.ebusiness.catalog.InventoryInfo |
IN_STOCK, OUT_OF_STOCK |
| Constructor Summary | |
InventoryInfoImpl()
|
|
| Method Summary | |
int |
compareTo(Object o)
Compare this belonging to another |
boolean |
getInStock()
Get the value of inStock |
String |
getShippingTime()
Get the value of shippingTime |
String |
getSpecialNotices()
Get the value of specialNotices |
String |
interfaceName()
interfaceName() returns the unqualified name of the interface from the UML model |
void |
setByValue(Belonging value)
It is possible to call set-by-value with a superclass. |
void |
setInStock(boolean inStock)
Set the value of inStock |
void |
setShippingTime(String shippingTime)
Set the value of shippingTime |
void |
setSpecialNotices(String specialNotices)
Set the value of specialNotices |
Belonging |
value()
value() is a more typesafe implementation of clone() |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.beasys.commerce.foundation.Belonging |
clone, equals |
| Field Detail |
public boolean inStock
public String shippingTime
public String specialNotices
| Constructor Detail |
public InventoryInfoImpl()
| Method Detail |
public int compareTo(Object o)
compareTo in interface ComparablecompareTo in class BelongingImplo - target object for comparision
public boolean getInStock()
getInStock in interface InventoryInfopublic String getShippingTime()
getShippingTime in interface InventoryInfopublic String getSpecialNotices()
getSpecialNotices in interface InventoryInfopublic String interfaceName()
interfaceName in interface Belongingpublic void setByValue(Belonging value)
It is also possible to call set-by-value with a subclass. In this case, the specialized fields in the subclass will be ignored. The overridden fields in the subclass will be populated.
setByValue in interface BelongingsetByValue in class BelongingImplvalue - The Belonging to use for initialization.public void setInStock(boolean inStock)
setInStock in interface InventoryInfoinStock - inStock to be addedpublic void setShippingTime(String shippingTime)
setShippingTime in interface InventoryInfoshippingTime - shippingTime to be addedpublic void setSpecialNotices(String specialNotices)
setSpecialNotices in interface InventoryInfospecialNotices - specialNotices to be addedpublic Belonging value()
value in interface Belonging
|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||