Class Zoo
- java.lang.Object
-
- org.hibernate.testing.orm.domain.animal.Zoo
-
- Direct Known Subclasses:
PettingZoo
@Entity public class Zoo extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)AddressgetAddress()java.util.Map<java.lang.String,Animal>getAnimals()ClassificationgetClassification()java.util.Map<java.lang.String,Human>getDirectors()java.lang.LonggetId()java.util.Map<java.lang.String,Mammal>getMammals()java.lang.StringgetName()inthashCode()voidsetAddress(Address address)voidsetAnimals(java.util.Map animals)voidsetClassification(Classification classification)voidsetDirectors(java.util.Map directors)voidsetId(java.lang.Long id)voidsetMammals(java.util.Map mammals)voidsetName(java.lang.String name)
-
-
-
Constructor Detail
-
Zoo
public Zoo()
-
Zoo
public Zoo(java.lang.String name, Address address)
-
-
Method Detail
-
getId
public java.lang.Long getId()
-
setId
public void setId(java.lang.Long id)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getDirectors
public java.util.Map<java.lang.String,Human> getDirectors()
-
setDirectors
public void setDirectors(java.util.Map directors)
-
getMammals
public java.util.Map<java.lang.String,Mammal> getMammals()
-
setMammals
public void setMammals(java.util.Map mammals)
-
getAnimals
public java.util.Map<java.lang.String,Animal> getAnimals()
-
setAnimals
public void setAnimals(java.util.Map animals)
-
getAddress
public Address getAddress()
-
setAddress
public void setAddress(Address address)
-
getClassification
public Classification getClassification()
-
setClassification
public void setClassification(Classification classification)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-