Record Class AdminItem
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebelongstorecord component.Returns the value of thecontainerdefidrecord component.Returns the value of thecontaineridrecord component.creation()Returns the value of thecreationrecord component.Returns the value of thediscriminatorrecord component.final booleanIndicates whether some other object is "equal to" this one.static AdminItemfinal inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.itemid()Returns the value of theitemidrecord component.owner()Returns the value of theownerrecord component.room()Returns the value of theroomrecord component.Returns the value of theshopkeeperrecord component.toJson()final StringtoString()Returns a string representation of this record class.
-
Field Details
-
GET_ITEMDEFS_QUERY
Provides all item instances with this itemdefinition.- See Also:
-
GET_PERSONS_QUERY
Provides all item instances belonging to a person.- See Also:
-
GET_ROOMS_QUERY
-
-
Constructor Details
-
AdminItem
public AdminItem(Integer id, Long itemid, Integer containerid, Long containerdefid, String belongsto, Long room, Integer discriminator, String shopkeeper, String owner, LocalDateTime creation) Creates an instance of aAdminItemrecord class.- Parameters:
id- the value for theidrecord componentitemid- the value for theitemidrecord componentcontainerid- the value for thecontaineridrecord componentcontainerdefid- the value for thecontainerdefidrecord componentbelongsto- the value for thebelongstorecord componentroom- the value for theroomrecord componentdiscriminator- the value for thediscriminatorrecord componentshopkeeper- the value for theshopkeeperrecord componentowner- the value for theownerrecord componentcreation- the value for thecreationrecord component
-
AdminItem
-
-
Method Details
-
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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
itemid
Returns the value of theitemidrecord component.- Returns:
- the value of the
itemidrecord component
-
containerid
Returns the value of thecontaineridrecord component.- Returns:
- the value of the
containeridrecord component
-
containerdefid
Returns the value of thecontainerdefidrecord component.- Returns:
- the value of the
containerdefidrecord component
-
belongsto
Returns the value of thebelongstorecord component.- Returns:
- the value of the
belongstorecord component
-
room
Returns the value of theroomrecord component.- Returns:
- the value of the
roomrecord component
-
discriminator
Returns the value of thediscriminatorrecord component.- Returns:
- the value of the
discriminatorrecord component
-
shopkeeper
Returns the value of theshopkeeperrecord component.- Returns:
- the value of the
shopkeeperrecord component
-
owner
Returns the value of theownerrecord component.- Returns:
- the value of the
ownerrecord component
-
creation
Returns the value of thecreationrecord component.- Returns:
- the value of the
creationrecord component
-