Record Class QuerySource
java.lang.Object
java.lang.Record
com.github._1c_syntax.bsl.mdo.storage.QuerySource
- Record Components:
position
- Позиция запроса в исходном файлеtextQuery
- Текст запроса
Модель хранения информации о запросе СКД
-
Constructor Summary
ConstructorDescriptionQuerySource
(SourcePosition position, String textQuery) Creates an instance of aQuerySource
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic QuerySource
empty()
Ссылка на пустой запросfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.position()
Returns the value of theposition
record component.Returns the value of thetextQuery
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
empty
Ссылка на пустой запрос- Returns:
- Пустой запрос
-
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
public final int 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. All components in this record class are compared withObjects::equals(Object,Object)
. -
position
Returns the value of theposition
record component.- Returns:
- the value of the
position
record component
-
textQuery
Returns the value of thetextQuery
record component.- Returns:
- the value of the
textQuery
record component
-