Package com.io7m.idstore.model
Record Class IdName
java.lang.Object
java.lang.Record
com.io7m.idstore.model.IdName
- Record Components:
value- The name value
- All Implemented Interfaces:
Comparable<IdName>
A user ID name. This is a unique, short name that can be specified as the
identifier used for logging in. It is analogous to a UNIX username.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
VALID_ID_NAME
The pattern that defines valid ID names.
-
-
Constructor Details
-
IdName
-
-
Method Details
-
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). -
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<IdName>
-
value
-