Package com._1c.g5.v8.dt.dcs.parameters
Class DcsAvailableParameter
java.lang.Object
com._1c.g5.v8.dt.dcs.parameters.DcsAvailableParameter
Доступный параметр
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefValue()
Получить значение по-умолчаниюПолучить список значенийgetCurrentName
(int alias) Получить имя с учетом языка конфигурацииvoid
Получить информацию о доступном параметреgetName
(int alias) Получить имяString[]
Gets old terms corresponding to this parameterПолучить вложенные доступные параметрыgetTitle()
Получить представлениеgetType()
Получить тип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) Initializationboolean
Получить признак доступности списка значенийboolean
Получить видимостьkey
(int alias) Получить ключ
-
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 eachScriptVariant
, cannot benull
type
- actualTypeItem
s inTypeDescription
as possible types of the parameter, cannot benull
inputParameters
- editing parameters, canntot benull
title
- actual title of the parameter, cannot benull
value
- actual parameterValue
, can benull
valueListAllowed
-true
if allowed list of the parameter values,false
otherwiseavailableValuesList
- actual parameterValue
s asTypedValueList
ifvlaueListAllowed
istrue
, can benull
ifvlaueListAllowed
isfalse
visible
- parameter visibledenyIncompleteValues
-true
if inclomplete values not allowed for parameter,false
otherwiseuse
- how parameter is using, cannot benull
version
- actualVersion
of DCS using this parameter, cannot benull
oldNameTerm
- old name terms corresponding to this parameter, can benull
- Throws:
DcsPathException
-
getSubParameters
Получить вложенные доступные параметры- Returns:
- параметры
-
getInfo
Получить информацию о доступном параметре- Parameters:
info
- информация
-
getName
Получить имя- Parameters:
alias
- язык- Returns:
- имя
-
getCurrentName
Получить имя с учетом языка конфигурации- Parameters:
alias
- язык- Returns:
- имя
-
getTitle
Получить представление- Returns:
- представление
-
defValue
Получить значение по-умолчанию- Returns:
- значение по-умолчанию
-
isValueListAllowed
public boolean isValueListAllowed()Получить признак доступности списка значений- Returns:
- признак
-
getAvailableValues
Получить список значений- Returns:
- список
-
isVisible
public boolean isVisible()Получить видимость- Returns:
- видимость
-
key
Получить ключ- Parameters:
alias
- язык- Returns:
- ключ
-
getType
Получить тип- Returns:
- тип
-
getOldTerms
Gets old terms corresponding to this parameter- Returns:
- old terms, can be
null
if there is no old terms
-