Record Class DataCompositionSchema.DataSet
java.lang.Object
java.lang.Record
com.github._1c_syntax.bsl.mdo.storage.DataCompositionSchema.DataSet
- Record Components:
name- Имя набора данныхtype- Тип набора данныхdataSource- Имя источника данныхitems- Подчиненные наборы данныхquerySource- Текста запроса (опционально)fields- Поля набора данных
- Enclosing class:
- DataCompositionSchema
public static record DataCompositionSchema.DataSet(@NonNull String name, @NonNull DataSetType type, @NonNull String dataSource, @NonNull List<DataCompositionSchema.DataSet> items, @NonNull QuerySource querySource, @NonNull List<DataCompositionSchema.DataSetField> fields)
extends Record
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDataSet(@NonNull String name, @NonNull DataSetType type, @NonNull String dataSource, @NonNull List<DataCompositionSchema.DataSet> items, @NonNull QuerySource querySource, @NonNull List<DataCompositionSchema.DataSetField> fields) Creates an instance of aDataSetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns the value of thedataSourcerecord component.final booleanIndicates whether some other object is "equal to" this one.fields()Returns the value of thefieldsrecord component.final inthashCode()Returns a hash code value for this object.items()Returns the value of theitemsrecord component.name()Returns the value of thenamerecord component.Returns the value of thequerySourcerecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
DataSet
public DataSet(@NonNull @NonNull String name, @NonNull @NonNull DataSetType type, @NonNull @NonNull String dataSource, @NonNull @NonNull List<DataCompositionSchema.DataSet> items, @NonNull @NonNull QuerySource querySource, @NonNull @NonNull List<DataCompositionSchema.DataSetField> fields) Creates an instance of aDataSetrecord class.- Parameters:
name- the value for thenamerecord componenttype- the value for thetyperecord componentdataSource- the value for thedataSourcerecord componentitems- the value for theitemsrecord componentquerySource- the value for thequerySourcerecord componentfields- the value for thefieldsrecord component
-
-
Method Details
-
builder
-
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
dataSource
Returns the value of thedataSourcerecord component.- Returns:
- the value of the
dataSourcerecord component
-
items
Returns the value of theitemsrecord component.- Returns:
- the value of the
itemsrecord component
-
querySource
Returns the value of thequerySourcerecord component.- Returns:
- the value of the
querySourcerecord component
-
fields
Returns the value of thefieldsrecord component.- Returns:
- the value of the
fieldsrecord component
-