Record Class CATypeRecordFieldIdentifier
java.lang.Object
java.lang.Record
com.io7m.cardant.model.CATypeRecordFieldIdentifier
- Record Components:
typeName- The type namefieldName- The field name
- All Implemented Interfaces:
Comparable<CATypeRecordFieldIdentifier>
public record CATypeRecordFieldIdentifier(CATypeRecordIdentifier typeName, com.io7m.lanark.core.RDottedName fieldName)
extends Record
implements Comparable<CATypeRecordFieldIdentifier>
A fully qualified record field identifier.
-
Constructor Summary
ConstructorsConstructorDescriptionCATypeRecordFieldIdentifier(CATypeRecordIdentifier typeName, com.io7m.lanark.core.RDottedName fieldName) A fully qualified record field identifier. -
Method Summary
Modifier and TypeMethodDescriptionintfinal booleanIndicates whether some other object is "equal to" this one.com.io7m.lanark.core.RDottedNameReturns the value of thefieldNamerecord component.final inthashCode()Returns a hash code value for this object.static CATypeRecordFieldIdentifierParse a type record field identifier.toString()Returns a string representation of this record class.typeName()Returns the value of thetypeNamerecord component.
-
Constructor Details
-
CATypeRecordFieldIdentifier
public CATypeRecordFieldIdentifier(CATypeRecordIdentifier typeName, com.io7m.lanark.core.RDottedName fieldName) A fully qualified record field identifier.- Parameters:
typeName- The type namefieldName- The field name
-
-
Method Details
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<CATypeRecordFieldIdentifier>
-
of
Parse a type record field identifier.- Parameters:
text- The text- Returns:
- An identifier
-
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). -
typeName
-
fieldName
-