examples.buybeans.item
Interface CoffeeBean
- public interface CoffeeBean
- extends BasicBean
This is an item that has the special characteristics of a coffee bean.
Primary Key = examples.buybeans.item.CoffeeBeanPk
gourmet
[CoffeeBean] <*>------> [boolean
]
country
[CoffeeBean] <*>------> [String
]
- See Also:
CoffeeBeanPk
,
CoffeeBeanHome
,
CoffeeBeanImpl
,
CoffeeBeanValue
Methods inherited from interface theory.smart.ebusiness.item.Item |
addFirstQuality,
addLastQuality,
addQualities,
addQualities,
addQuality,
addQuality,
calculatePrice,
calculatePrice,
containsQuality,
getDefaultItemPriceCalculationPolicy,
getDescription,
getFirstQuality,
getIdentifier,
getItemByValue,
getLastQuality,
getNumberOfQualities,
getPrice,
getQualities,
getQualities,
getQuality,
getSupplier,
getVersion,
indexOfQuality,
isQualitiesEmtpy,
lastIndexOfQuality,
removeAllQualities,
removeFirstQuality,
removeLastQuality,
removeQuality,
removeQuality,
setDefaultItemPriceCalculationPolicy,
setDescription,
setItemByValue,
setPrice,
setQuality |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
getCoffeeBeanByValue
public CoffeeBeanValue getCoffeeBeanByValue()
throws java.rmi.RemoteException
- Get all of CoffeeBean's attributes.
- Returns:
- CoffeeBeanValue the CoffeeBean value object
setCoffeeBeanByValue
public void setCoffeeBeanByValue(CoffeeBeanValue value)
throws java.rmi.RemoteException
- Set all of CoffeeBean's attributes to the passed in value.
Note: Primary key attributes are not set.
- Parameters:
CoffeeBeanValue
- the CoffeeBean value object
getGourmet
public boolean getGourmet()
throws java.rmi.RemoteException
- Get the value of gourmet
- Returns:
- gourmet.
setGourmet
public void setGourmet(boolean gourmet)
throws java.rmi.RemoteException
- Set the value of gourmet
- Parameters:
gourmets
- gourmet to be added
getCountry
public java.lang.String getCountry()
throws java.rmi.RemoteException
- Get the value of country
- Returns:
- country.
setCountry
public void setCountry(java.lang.String country)
throws java.rmi.RemoteException
- Set the value of country
- Parameters:
countries
- country to be added
Copyright © 2000 BEA Systems, Inc. All Rights Reserved