Record Class MDCReadSettings

java.lang.Object
java.lang.Record
com.github._1c_syntax.bsl.mdclasses.MDCReadSettings
Record Components:
skipSupport - Пропускать чтение настроек поставки конфигурации
skipRoleData - Пропускать чтение содержимого ролей
skipXdtoPackage - Пропускать чтение содержимого xdto пакетов
skipFormElementItems - Пропускать чтение элементов форм
skipDataCompositionSchema - Пропускать чтение элементов макетов системы компоновки

public record MDCReadSettings(boolean skipSupport, boolean skipRoleData, boolean skipXdtoPackage, boolean skipFormElementItems, boolean skipDataCompositionSchema) extends Record
Настройки чтения MDC
  • Field Details

    • DEFAULT

      public static final MDCReadSettings DEFAULT
      Настройки по умолчанию
    • SKIP_SUPPORT

      public static final MDCReadSettings SKIP_SUPPORT
      Шаблон с отключением только чтения поддержки
  • Constructor Details

    • MDCReadSettings

      public MDCReadSettings(boolean skipSupport, boolean skipRoleData, boolean skipXdtoPackage, boolean skipFormElementItems, boolean skipDataCompositionSchema)
      Creates an instance of a MDCReadSettings record class.
      Parameters:
      skipSupport - the value for the skipSupport record component
      skipRoleData - the value for the skipRoleData record component
      skipXdtoPackage - the value for the skipXdtoPackage record component
      skipFormElementItems - the value for the skipFormElementItems record component
      skipDataCompositionSchema - the value for the skipDataCompositionSchema record component
  • Method Details

    • builder

      public static MDCReadSettings.MDCReadSettingsBuilder builder()
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • skipSupport

      public boolean skipSupport()
      Returns the value of the skipSupport record component.
      Returns:
      the value of the skipSupport record component
    • skipRoleData

      public boolean skipRoleData()
      Returns the value of the skipRoleData record component.
      Returns:
      the value of the skipRoleData record component
    • skipXdtoPackage

      public boolean skipXdtoPackage()
      Returns the value of the skipXdtoPackage record component.
      Returns:
      the value of the skipXdtoPackage record component
    • skipFormElementItems

      public boolean skipFormElementItems()
      Returns the value of the skipFormElementItems record component.
      Returns:
      the value of the skipFormElementItems record component
    • skipDataCompositionSchema

      public boolean skipDataCompositionSchema()
      Returns the value of the skipDataCompositionSchema record component.
      Returns:
      the value of the skipDataCompositionSchema record component