Record Class PrivateRoom
-
Constructor Summary
ConstructorsConstructorDescriptionPrivateRoom(Long roomid, String image, String title, String content, Long west, Long east, Long north, Long south, Long up, Long down, List<PrivatePerson> persons, List<PrivateItem> items, Position minimum, Position maximum, Position center) Creates an instance of aPrivateRoomrecord class.PrivateRoom(Room room) -
Method Summary
Modifier and TypeMethodDescriptioncenter()Returns the value of thecenterrecord component.content()Returns the value of thecontentrecord component.static PrivateRoomdown()Returns the value of thedownrecord component.east()Returns the value of theeastrecord component.final booleanIndicates whether some other object is "equal to" this one.static PrivateRoomfinal inthashCode()Returns a hash code value for this object.image()Returns the value of theimagerecord component.items()Returns the value of theitemsrecord component.maximum()Returns the value of themaximumrecord component.minimum()Returns the value of theminimumrecord component.north()Returns the value of thenorthrecord component.persons()Returns the value of thepersonsrecord component.roomid()Returns the value of theroomidrecord component.south()Returns the value of thesouthrecord component.title()Returns the value of thetitlerecord component.toJson()final StringtoString()Returns a string representation of this record class.up()Returns the value of theuprecord component.west()Returns the value of thewestrecord component.
-
Constructor Details
-
PrivateRoom
public PrivateRoom(Long roomid, String image, String title, String content, Long west, Long east, Long north, Long south, Long up, Long down, List<PrivatePerson> persons, List<PrivateItem> items, Position minimum, Position maximum, Position center) Creates an instance of aPrivateRoomrecord class.- Parameters:
roomid- the value for theroomidrecord componentimage- the value for theimagerecord componenttitle- the value for thetitlerecord componentcontent- the value for thecontentrecord componentwest- the value for thewestrecord componenteast- the value for theeastrecord componentnorth- the value for thenorthrecord componentsouth- the value for thesouthrecord componentup- the value for theuprecord componentdown- the value for thedownrecord componentpersons- the value for thepersonsrecord componentitems- the value for theitemsrecord componentminimum- the value for theminimumrecord componentmaximum- the value for themaximumrecord componentcenter- the value for thecenterrecord component
-
PrivateRoom
-
-
Method Details
-
createCoordinatesPrivateRoom
-
toJson
-
fromJson
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
roomid
Returns the value of theroomidrecord component.- Returns:
- the value of the
roomidrecord component
-
image
Returns the value of theimagerecord component.- Returns:
- the value of the
imagerecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
content
Returns the value of thecontentrecord component.- Returns:
- the value of the
contentrecord component
-
west
Returns the value of thewestrecord component.- Returns:
- the value of the
westrecord component
-
east
Returns the value of theeastrecord component.- Returns:
- the value of the
eastrecord component
-
north
Returns the value of thenorthrecord component.- Returns:
- the value of the
northrecord component
-
south
Returns the value of thesouthrecord component.- Returns:
- the value of the
southrecord component
-
up
Returns the value of theuprecord component.- Returns:
- the value of the
uprecord component
-
down
Returns the value of thedownrecord component.- Returns:
- the value of the
downrecord component
-
persons
Returns the value of thepersonsrecord component.- Returns:
- the value of the
personsrecord component
-
items
Returns the value of theitemsrecord component.- Returns:
- the value of the
itemsrecord component
-
minimum
Returns the value of theminimumrecord component.- Returns:
- the value of the
minimumrecord component
-
maximum
Returns the value of themaximumrecord component.- Returns:
- the value of the
maximumrecord component
-
center
Returns the value of thecenterrecord component.- Returns:
- the value of the
centerrecord component
-