Class DcsAvailableParameter

java.lang.Object
com._1c.g5.v8.dt.dcs.parameters.DcsAvailableParameter

public class DcsAvailableParameter extends Object
Доступный параметр
  • Constructor Details

    • DcsAvailableParameter

      public DcsAvailableParameter()
  • Method Details

    • init

      public void init(String[] nameTerm, TypeDescription type, DcsAvailableFieldInfo.DCSASSInputParameters inputParameters, String title, Value value, boolean valueListAllowed, TypedValueList availableValuesList, boolean visible, boolean denyIncompleteValues, DataCompositionParameterUse use, Version version, String[] oldNameTerm) throws DcsPathException
      Initialization
      Parameters:
      nameTerm - names of this parameter for each ScriptVariant, cannot be null
      type - actual TypeItems in TypeDescription as possible types of the parameter, cannot be null
      inputParameters - editing parameters, canntot be null
      title - actual title of the parameter, cannot be null
      value - actual parameter Value, can be null
      valueListAllowed - true if allowed list of the parameter values, false otherwise
      availableValuesList - actual parameter Values as TypedValueList if vlaueListAllowed is true, can be null if vlaueListAllowed is false
      visible - parameter visible
      denyIncompleteValues - true if inclomplete values not allowed for parameter, false otherwise
      use - how parameter is using, cannot be null
      version - actual Version of DCS using this parameter, cannot be null
      oldNameTerm - old name terms corresponding to this parameter, can be null
      Throws:
      DcsPathException
    • getSubParameters

      public DcsAvailableParameterCollection getSubParameters()
      Получить вложенные доступные параметры
      Returns:
      параметры
    • getInfo

      Получить информацию о доступном параметре
      Parameters:
      info - информация
    • getName

      public DcsParameter getName(int alias)
      Получить имя
      Parameters:
      alias - язык
      Returns:
      имя
    • getCurrentName

      public DcsParameter getCurrentName(int alias)
      Получить имя с учетом языка конфигурации
      Parameters:
      alias - язык
      Returns:
      имя
    • getTitle

      public String getTitle()
      Получить представление
      Returns:
      представление
    • defValue

      public Value defValue()
      Получить значение по-умолчанию
      Returns:
      значение по-умолчанию
    • isValueListAllowed

      public boolean isValueListAllowed()
      Получить признак доступности списка значений
      Returns:
      признак
    • getAvailableValues

      public TypedValueList getAvailableValues()
      Получить список значений
      Returns:
      список
    • isVisible

      public boolean isVisible()
      Получить видимость
      Returns:
      видимость
    • key

      public String key(int alias)
      Получить ключ
      Parameters:
      alias - язык
      Returns:
      ключ
    • getType

      public TypeDescription getType()
      Получить тип
      Returns:
      тип
    • getOldTerms

      public String[] getOldTerms()
      Gets old terms corresponding to this parameter
      Returns:
      old terms, can be null if there is no old terms