|
© 2005 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 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 boolean inStock
public String shippingTime
public String specialNotices
Constructor Detail |
public InventoryInfoImpl()
Method Detail |
public int compareTo(Object o)
compareTo
in interface Comparable
compareTo
in class BelongingImpl
o
- target object for comparision
public boolean getInStock()
getInStock
in interface InventoryInfo
public String getShippingTime()
getShippingTime
in interface InventoryInfo
public String getSpecialNotices()
getSpecialNotices
in interface InventoryInfo
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
value
- The Belonging
to use for initialization.public void setInStock(boolean inStock)
setInStock
in interface InventoryInfo
inStock
- inStock to be addedpublic void setShippingTime(String shippingTime)
setShippingTime
in interface InventoryInfo
shippingTime
- shippingTime to be addedpublic void setSpecialNotices(String specialNotices)
setSpecialNotices
in interface InventoryInfo
specialNotices
- specialNotices to be addedpublic Belonging value()
value
in interface Belonging
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |