Record Class GuideRegistration.OwnedGuideDefinition
java.lang.Object
java.lang.Record
ke.ric.api.GuideRegistration.OwnedGuideDefinition
- Enclosing class:
GuideRegistration
public static record GuideRegistration.OwnedGuideDefinition(String ownerId, GuideDefinition definition)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionOwnedGuideDefinition(String ownerId, GuideDefinition definition) Creates an instance of aOwnedGuideDefinitionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefinitionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()ownerId()Returns the value of theownerIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OwnedGuideDefinition
Creates an instance of aOwnedGuideDefinitionrecord class.- Parameters:
ownerId- the value for theownerIdrecord componentdefinition- the value for thedefinitionrecord component
-
-
Method Details
-
id
-
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). -
ownerId
Returns the value of theownerIdrecord component.- Returns:
- the value of the
ownerIdrecord component
-
definition
Returns the value of thedefinitionrecord component.- Returns:
- the value of the
definitionrecord component
-