org.apache.ojb.broker
Class Reptile

java.lang.Object
  extended byorg.apache.ojb.broker.Reptile
All Implemented Interfaces:
InterfaceAnimal, java.io.Serializable

public class Reptile
extends java.lang.Object
implements InterfaceAnimal, java.io.Serializable

Author:
Georg Schneider
See Also:
Serialized Form

Constructor Summary
Reptile()
          Constructor for Plant.
Reptile(int age, java.lang.String name, java.lang.String color)
           
 
Method Summary
 int getAge()
           
 int getAnimalId()
          Returns the animalId.
 java.lang.String getColor()
           
 java.lang.String getName()
           
 int getZooId()
          Returns the zooId.
 void setAge(int age)
          Sets the age.
 void setAnimalId(int animalId)
          Sets the animalId.
 void setColor(java.lang.String color)
          Sets the color.
 void setName(java.lang.String name)
          Sets the name.
 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

Reptile

public Reptile()
Constructor for Plant.


Reptile

public Reptile(int age,
               java.lang.String name,
               java.lang.String color)
Method Detail

getAge

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

getName

public java.lang.String getName()
Specified by:
getName in interface InterfaceAnimal

getColor

public java.lang.String getColor()

toString

public java.lang.String toString()

getAnimalId

public int getAnimalId()
Returns the animalId.

Returns:
int

getZooId

public int getZooId()
Returns the zooId.

Returns:
int

setAge

public void setAge(int age)
Sets the age.

Parameters:
age - The age to set

setAnimalId

public void setAnimalId(int animalId)
Sets the animalId.

Parameters:
animalId - The animalId to set

setColor

public void setColor(java.lang.String color)
Sets the color.

Parameters:
color - The color to set

setName

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

Parameters:
name - The name to set

setZooId

public void setZooId(int zooId)
Sets the zooId.

Parameters:
zooId - The zooId 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