Record Class BimApi.QueryValidationMessage
java.lang.Object
java.lang.Record
nl.bimbase.bimworks.client.apis.BimApi.QueryValidationMessage
- Record Components:
code- the check that found it (unknownIfcClass,invalidRegex, ...) orFEATURE_NOT_VISIBLE; null for a check without a codeseverity-ERRORorWARNINGline- 1-based, 0 when unknowncolumn- 1-based, 0 when unknownmessage-"line L:C: ...", as the editor and the chat show it
- Enclosing class:
BimApi
public static record BimApi.QueryValidationMessage(String code, String severity, int line, int column, String message)
extends Record
One finding of
BimApi.validateQuery(String): what the editor marks in a query that parses.-
Constructor Summary
ConstructorsConstructorDescriptionQueryValidationMessage(String code, String severity, int line, int column, String message) Creates an instance of aQueryValidationMessagerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the value of thecoderecord component.intcolumn()Returns the value of thecolumnrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intline()Returns the value of thelinerecord component.message()Returns the value of themessagerecord component.severity()Returns the value of theseverityrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QueryValidationMessage
Creates an instance of aQueryValidationMessagerecord class.
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
code
-
severity
-
line
-
column
-
message
-