|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.foundation.BelongingImpl | +--com.beasys.commerce.ebusiness.catalog.InventoryInfoImpl
Implementation class for the InventoryInfo interface.
InventoryInfo
,
InventoryInfoHome
,
Serialized FormField 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 String shippingTime
public boolean inStock
public String specialNotices
Constructor Detail |
public InventoryInfoImpl()
Method Detail |
public String getShippingTime()
getShippingTime
in interface InventoryInfo
public void setShippingTime(String shippingTime)
setShippingTime
in interface InventoryInfo
shippingTime
- shippingTime to be addedpublic boolean getInStock()
getInStock
in interface InventoryInfo
public void setInStock(boolean inStock)
setInStock
in interface InventoryInfo
inStock
- inStock to be addedpublic String getSpecialNotices()
getSpecialNotices
in interface InventoryInfo
public void setSpecialNotices(String specialNotices)
setSpecialNotices
in interface InventoryInfo
specialNotices
- specialNotices to be addedpublic Belonging value()
value
in interface Belonging
public String interfaceName()
interfaceName
in interface Belonging
public 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 Belonging
setByValue
in class BelongingImpl
public int compareTo(Object o)
compareTo
in interface Comparable
compareTo
in class BelongingImpl
o
- target object for comparision
|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |