org.apache.ojb.odmg
Class OQLTest.Mammal

java.lang.Object
  extended byorg.apache.ojb.odmg.OQLTest.AbstractAnimal
      extended byorg.apache.ojb.odmg.OQLTest.Mammal
All Implemented Interfaces:
OQLTest.InterfaceAnimal, java.io.Serializable
Enclosing class:
OQLTest

public static class OQLTest.Mammal
extends OQLTest.AbstractAnimal
implements OQLTest.InterfaceAnimal, java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.ojb.odmg.OQLTest.AbstractAnimal
animalId, name, zooId
 
Constructor Summary
OQLTest.Mammal()
           
OQLTest.Mammal(int age, java.lang.String name, int numLegs)
           
 
Method Summary
 int getAge()
           
 int getNumLegs()
           
 void setNumLegs(int numLegs)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.ojb.odmg.OQLTest.AbstractAnimal
getAnimalId, getName, getZooId, setAnimalId, setName, setZooId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.ojb.odmg.OQLTest.InterfaceAnimal
getName
 

Constructor Detail

OQLTest.Mammal

public OQLTest.Mammal()

OQLTest.Mammal

public OQLTest.Mammal(int age,
                      java.lang.String name,
                      int numLegs)
Method Detail

toString

public java.lang.String toString()

getAge

public int getAge()
Specified by:
getAge in interface OQLTest.InterfaceAnimal

getNumLegs

public int getNumLegs()

setNumLegs

public void setNumLegs(int numLegs)


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