Package com._1c.g5.v8.dt.dcs.parameters
Class DcsAvailableParameter
- java.lang.Object
-
- com._1c.g5.v8.dt.dcs.parameters.DcsAvailableParameter
-
public class DcsAvailableParameter extends Object
Доступный параметр
-
-
Constructor Summary
Constructors Constructor Description DcsAvailableParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValuedefValue()Получить значение по-умолчаниюTypedValueListgetAvailableValues()Получить список значенийDcsParametergetCurrentName(int alias)Получить имя с учетом языка конфигурацииvoidgetInfo(DcsAvailableSettingsSourceForSchema.DcsAvailableParameterInfo info)Получить информацию о доступном параметреDcsParametergetName(int alias)Получить имяString[]getOldTerms()Gets old terms corresponding to this parameterDcsAvailableParameterCollectiongetSubParameters()Получить вложенные доступные параметрыStringgetTitle()Получить представлениеTypeDescriptiongetType()Получить типvoidinit(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)InitializationbooleanisValueListAllowed()Получить признак доступности списка значенийbooleanisVisible()Получить видимостьStringkey(int alias)Получить ключ
-
-
-
Method Detail
-
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 benulltype- actualTypeItems inTypeDescriptionas possible types of the parameter, cannot benullinputParameters- editing parameters, canntot benulltitle- actual title of the parameter, cannot benullvalue- actual parameterValue, can benullvalueListAllowed-trueif allowed list of the parameter values,falseotherwiseavailableValuesList- actual parameterValues asTypedValueListifvlaueListAllowedistrue, can benullifvlaueListAllowedisfalsevisible- parameter visibledenyIncompleteValues-trueif inclomplete values not allowed for parameter,falseotherwiseuse- how parameter is using, cannot benullversion- actualVersionof DCS using this parameter, cannot benulloldNameTerm- old name terms corresponding to this parameter, can benull- Throws:
DcsPathException
-
getSubParameters
public DcsAvailableParameterCollection getSubParameters()
Получить вложенные доступные параметры- Returns:
- параметры
-
getInfo
public void getInfo(DcsAvailableSettingsSourceForSchema.DcsAvailableParameterInfo info)
Получить информацию о доступном параметре- 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
nullif there is no old terms
-
-