Class PredefinedValue

java.lang.Object
com.github._1c_syntax.bsl.mdo.children.PredefinedValue
All Implemented Interfaces:
ChildrenOwner, MD, MDChild

public final class PredefinedValue extends Object implements MDChild, ChildrenOwner
Предопределенный элемент (предопределенное значение) объекта метаданных.

Используется владельцами предопределенных данных - справочниками, планами видов характеристик, планами счетов, планами видов расчета и планами обмена.

Может быть иерархическим (содержать вложенные предопределенные элементы childItems).

  • Method Details

    • getChildren

      public List<MD> getChildren()
      Description copied from interface: ChildrenOwner
      Возвращает все дочерние элементы объекта
      Specified by:
      getChildren in interface ChildrenOwner
    • builder

      public static PredefinedValue.PredefinedValueBuilder builder()
    • toBuilder

    • getUuid

      public String getUuid()
      Description copied from interface: MD
      Уникальный идентификатор объекта
      Specified by:
      getUuid in interface MD
    • getName

      public String getName()
      Description copied from interface: MD
      Имя объекта
      Specified by:
      getName in interface MD
    • getMdoReference

      public com.github._1c_syntax.bsl.types.MdoReference getMdoReference()
      Description copied from interface: MD
      MDO-Ссылка на объект
      Specified by:
      getMdoReference in interface MD
    • getObjectBelonging

      public ObjectBelonging getObjectBelonging()
      Description copied from interface: MD
      Принадлежность объекта конфигурации (собственный или заимствованный)
      Specified by:
      getObjectBelonging in interface MD
    • getComment

      public String getComment()
      Description copied from interface: MD
      Комментарий
      Specified by:
      getComment in interface MD
    • getSynonym

      public com.github._1c_syntax.bsl.types.MultiLanguageString getSynonym()
      Description copied from interface: MD
      Синонимы объекта
      Specified by:
      getSynonym in interface MD
    • getSupportVariant

      public com.github._1c_syntax.bsl.support.SupportVariant getSupportVariant()
      Description copied from interface: MD
      Вариант поддержки родительской конфигурации
      Specified by:
      getSupportVariant in interface MD
    • getOwner

      public com.github._1c_syntax.bsl.types.MdoReference getOwner()
      Description copied from interface: MDChild
      Ссылка на родительский объект
      Specified by:
      getOwner in interface MDChild
    • getCode

      public String getCode()
      Код предопределенного элемента
    • getDescription

      public String getDescription()
      Наименование предопределенного элемента
      Specified by:
      getDescription in interface MD
    • isFolder

      public boolean isFolder()
      Признак "Это группа"
    • getChildItems

      public List<PredefinedValue> getChildItems()
      Вложенные предопределенные элементы (для иерархических объектов)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getPlainChildren

      public List<MD> getPlainChildren()
      Description copied from interface: ChildrenOwner
      Возвращает дочерние элементы объекта, являющиеся атрибутами или ТЧ, плоским списком.
      Specified by:
      getPlainChildren in interface ChildrenOwner