Record Class Repository.RepositoryGet
java.lang.Object
java.lang.Record
repository.Repository.RepositoryGet
- Enclosing class:
Repository
-
Constructor Summary
ConstructorsConstructorDescriptionRepositoryGet(Repository repository, String CID) Creates an instance of aRepositoryGetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionCID()Returns the value of theCIDrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therepositoryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RepositoryGet
Creates an instance of aRepositoryGetrecord class.- Parameters:
repository- the value for therepositoryrecord componentCID- the value for theCIDrecord component
-
-
Method Details
-
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). -
repository
Returns the value of therepositoryrecord component.- Returns:
- the value of the
repositoryrecord component
-
CID
Returns the value of theCIDrecord component.- Returns:
- the value of the
CIDrecord component
-