org.apache.ojb.odmg
Class OQLTest.Gourmet

java.lang.Object
  extended byorg.apache.ojb.odmg.OQLTest.Gourmet
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
OQLTest

public static class OQLTest.Gourmet
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
(package private)  java.util.List favoriteFood
           
(package private)  int gourmetId
           
(package private)  java.lang.String name
           
 
Constructor Summary
OQLTest.Gourmet()
          Constructor for Gourmet.
OQLTest.Gourmet(java.lang.String name)
           
 
Method Summary
 void addFavoriteFood(OQLTest.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

gourmetId

int gourmetId

name

java.lang.String name

favoriteFood

java.util.List favoriteFood
Constructor Detail

OQLTest.Gourmet

public OQLTest.Gourmet()
Constructor for Gourmet.


OQLTest.Gourmet

public OQLTest.Gourmet(java.lang.String name)
Method Detail

getFavoriteFood

public java.util.List getFavoriteFood()

addFavoriteFood

public void addFavoriteFood(OQLTest.InterfaceFood food)

getGourmetId

public int getGourmetId()
Returns the gourmetId.

Returns:
int

toString

public java.lang.String toString()

getName

public java.lang.String getName()
Returns the name.

Returns:
String

setFavoriteFood

public void setFavoriteFood(java.util.List favoriteFood)
Sets the favoriteFood.

Parameters:
favoriteFood - The favoriteFood to set

setGourmetId

public void setGourmetId(int gourmetId)
Sets the gourmetId.

Parameters:
gourmetId - The gourmetId to set

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - The name to set


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14