java.lang.Object
java.lang.Record
dev.qilletni.api.lang.docs.structure.DocFieldType
Documentation recording the type of a field, return value, etc.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDocFieldType(DocFieldType.FieldType fieldType, String identifier) Creates an instance of aDocFieldTyperecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldTyperecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theidentifierrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DocFieldType
Creates an instance of aDocFieldTyperecord class.- Parameters:
fieldType- the value for thefieldTyperecord componentidentifier- the value for theidentifierrecord 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). -
fieldType
Returns the value of thefieldTyperecord component.- Returns:
- the value of the
fieldTyperecord component
-
identifier
Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-