Package com.easydesk.modules.om.record
Record Class QueryUserRow
java.lang.Object
java.lang.Record
com.easydesk.modules.om.record.QueryUserRow
public record QueryUserRow(Long queryId, Long userId, boolean isSubscribed, Integer subscriptionFrequency, boolean isdefault)
extends Record
Auto Generated Code from EasyDesk System. You should modify this code in order to work property
-
Constructor Summary
ConstructorsConstructorDescriptionQueryUserRow(Long queryId, Long userId, boolean isSubscribed, Integer subscriptionFrequency, boolean isdefault) Creates an instance of aQueryUserRowrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisdefaultrecord component.booleanReturns the value of theisSubscribedrecord component.queryId()Returns the value of thequeryIdrecord component.Returns the value of thesubscriptionFrequencyrecord component.final StringtoString()Returns a string representation of this record class.userId()Returns the value of theuserIdrecord component.
-
Constructor Details
-
QueryUserRow
public QueryUserRow(Long queryId, Long userId, boolean isSubscribed, Integer subscriptionFrequency, boolean isdefault) Creates an instance of aQueryUserRowrecord class.- Parameters:
queryId- the value for thequeryIdrecord componentuserId- the value for theuserIdrecord componentisSubscribed- the value for theisSubscribedrecord componentsubscriptionFrequency- the value for thesubscriptionFrequencyrecord componentisdefault- the value for theisdefaultrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
queryId
Returns the value of thequeryIdrecord component.- Returns:
- the value of the
queryIdrecord component
-
userId
Returns the value of theuserIdrecord component.- Returns:
- the value of the
userIdrecord component
-
isSubscribed
public boolean isSubscribed()Returns the value of theisSubscribedrecord component.- Returns:
- the value of the
isSubscribedrecord component
-
subscriptionFrequency
Returns the value of thesubscriptionFrequencyrecord component.- Returns:
- the value of the
subscriptionFrequencyrecord component
-
isdefault
public boolean isdefault()Returns the value of theisdefaultrecord component.- Returns:
- the value of the
isdefaultrecord component
-