Package projectplayground.domains
Class Playground
java.lang.Object
projectplayground.domains.BaseEntity
projectplayground.domains.Playground
@Entity public class Playground extends BaseEntity
is the basic class to map a playground
is used as the data base for the user acces
-
Field Summary
Fields Modifier and Type Field Description private int
capacityPlayground
private Cleanliness
cleanliness
private int
counterChildren
private java.util.List<Device>
devices
private java.util.List<Expansion>
expansions
private java.lang.String
information
private Location
location
private java.util.List<Picture>
pictures
private java.util.List<User>
registeredUsers
private java.lang.String
title
-
Constructor Summary
Constructors Constructor Description Playground()
-
Method Summary
Modifier and Type Method Description void
addDevice(Device device)
void
addExpansion(Expansion expansion)
void
addPicture(Picture picture)
java.lang.String
cleanlinessValue()
java.lang.String
statusValue()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
title
private java.lang.String title -
cleanliness
-
location
-
information
private java.lang.String information -
counterChildren
private int counterChildren -
capacityPlayground
private int capacityPlayground -
devices
-
expansions
-
pictures
-
registeredUsers
-
-
Constructor Details
-
Playground
public Playground()
-
-
Method Details
-
statusValue
public java.lang.String statusValue() -
cleanlinessValue
public java.lang.String cleanlinessValue() -
addPicture
-
addDevice
-
addExpansion
-