|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ojb.broker.Mammal
| Constructor Summary | |
Mammal()
Constructor for Animal. |
|
Mammal(int age,
java.lang.String name,
int numLegs)
|
|
| Method Summary | |
int |
getAge()
|
int |
getAnimalId()
Returns the animalId. |
java.lang.String |
getName()
|
int |
getNumLegs()
|
int |
getZooId()
Returns the zooId. |
void |
setAge(int age)
Sets the age. |
void |
setAnimalId(int animalId)
Sets the animalId. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setNumLegs(int numLegs)
Sets the numLegs. |
void |
setZooId(int zooId)
Sets the zooId. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Mammal()
public Mammal(int age,
java.lang.String name,
int numLegs)
| Method Detail |
public int getAge()
getAge in interface InterfaceAnimalpublic java.lang.String getName()
getName in interface InterfaceAnimalpublic int getNumLegs()
public java.lang.String toString()
public int getAnimalId()
public int getZooId()
public void setAge(int age)
age - The age to setpublic void setAnimalId(int animalId)
animalId - The animalId to setpublic void setName(java.lang.String name)
name - The name to setpublic void setNumLegs(int numLegs)
numLegs - The numLegs to setpublic void setZooId(int zooId)
zooId - The zooId to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||