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 intcapacityPlaygroundprivate Cleanlinesscleanlinessprivate intcounterChildrenprivate java.util.List<Device>devicesprivate java.util.List<Expansion>expansionsprivate java.lang.Stringinformationprivate Locationlocationprivate java.util.List<Picture>picturesprivate java.util.List<User>registeredUsersprivate java.lang.Stringtitle - 
Constructor Summary
Constructors Constructor Description Playground() - 
Method Summary
Modifier and Type Method Description voidaddDevice(Device device)voidaddExpansion(Expansion expansion)voidaddPicture(Picture picture)java.lang.StringcleanlinessValue()java.lang.StringstatusValue()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
 
 -