@Entity public class Mammal extends Animal
Constructor and Description |
---|
Mammal() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Date |
getBirthdate() |
int |
hashCode() |
boolean |
isPregnant() |
void |
setBirthdate(Date birthdate) |
void |
setPregnant(boolean pregnant) |
addOffspring, getBodyWeight, getDescription, getFather, getId, getMother, getOffspring, getSerialNumber, getZoo, setBodyWeight, setDescription, setFather, setId, setMother, setOffspring, setSerialNumber, setZoo
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.