|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.Gourmet
class used in testing polymorphic m:n collections
Field Summary | |
(package private) java.util.List |
favoriteFood
|
(package private) int |
gourmetId
|
(package private) java.lang.String |
name
|
Constructor Summary | |
Gourmet()
Constructor for Gourmet. |
|
Gourmet(java.lang.String name)
|
Method Summary | |
void |
addFavoriteFood(InterfaceFood food)
|
java.util.List |
getFavoriteFood()
|
int |
getGourmetId()
Returns the gourmetId. |
java.lang.String |
getName()
Returns the name. |
void |
setFavoriteFood(java.util.List favoriteFood)
Sets the favoriteFood. |
void |
setGourmetId(int gourmetId)
Sets the gourmetId. |
void |
setName(java.lang.String name)
Sets the name. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
int gourmetId
java.lang.String name
java.util.List favoriteFood
Constructor Detail |
public Gourmet()
public Gourmet(java.lang.String name)
Method Detail |
public java.util.List getFavoriteFood()
public void addFavoriteFood(InterfaceFood food)
public int getGourmetId()
public java.lang.String toString()
public java.lang.String getName()
public void setFavoriteFood(java.util.List favoriteFood)
favoriteFood
- The favoriteFood to setpublic void setGourmetId(int gourmetId)
gourmetId
- The gourmetId to setpublic void setName(java.lang.String name)
name
- The name to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |