Class Building
- java.lang.Object
-
- cz.zcu.students.cacha.bp_server.domain.Building
-
@Entity public class Building extends Object
Represents a building belonging to a cultural institution
-
-
Constructor Summary
Constructors Constructor Description Building()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Gets whether two instances represents the same buildingint
hashCode()
Gets the hash code for given instanceprotected void
onCreate()
sets parameters for newly created buildings
-
-
-
Method Detail
-
onCreate
protected void onCreate()
sets parameters for newly created buildings
-
equals
public boolean equals(Object o)
Gets whether two instances represents the same building
-
-