Package dev.enola.common
Record Class URILineColumnMessage
java.lang.Object
java.lang.Record
dev.enola.common.URILineColumnMessage
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionURILineColumnMessage(String message, URI uri, long line) URILineColumnMessage(String message, URI uri, long line, long column) Creates an instance of aURILineColumnMessagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongcolumn()Returns the value of thecolumnrecord component.final booleanIndicates whether some other object is "equal to" this one.format()format(URILineColumnMessage.Format format) final inthashCode()Returns a hash code value for this object.longline()Returns the value of thelinerecord component.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.uri()Returns the value of theurirecord component.
-
Constructor Details
-
URILineColumnMessage
-
URILineColumnMessage
Creates an instance of aURILineColumnMessagerecord class.- Parameters:
message- the value for themessagerecord componenturi- the value for theurirecord componentline- the value for thelinerecord componentcolumn- the value for thecolumnrecord component
-
-
Method Details
-
format
-
format
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
uri
Returns the value of theurirecord component.- Returns:
- the value of the
urirecord component
-
line
Returns the value of thelinerecord component.- Returns:
- the value of the
linerecord component
-
column
Returns the value of thecolumnrecord component.- Returns:
- the value of the
columnrecord component
-