Package com._1c.g5.v8.dt.form.model
Class PropertyInfo
java.lang.Object
com._1c.g5.v8.dt.form.model.AbstractFormDataSourceInfo
com._1c.g5.v8.dt.form.model.PropertyInfo
- Direct Known Subclasses:
ColumnPropertyInfo,CombinedPropertyInfo,PropertyInfoWithChildren,RootPropertyInfo
Special element for ui presentation of Form attributes.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataPath(ScriptVariant scriptVariant) Gets actualDataPathforGets actual multi-languageDataPathfor the instancegetPresentation(String languageCode, ScriptVariant scriptVariant) Gets string presentationGets caching nestedPropertyInfoGets nestedPropertyInfoGetsTypeDescriptioncorresponding to thePropertyInfo.Gets description ofPropertyInfogetType()GetsPropertyInfotypeGetsTypeDescriptioncorresponding to thePropertyInfobooleanChecks that thisPropertyInfohas nestedPropertyInfobooleanChecks thatPropertyInfocorresponding to the aggregation functionbooleanbooleanChecks thatPropertyInfois read onlybooleanisTable()Checks thatPropertyInfocorresponding to the table form attributebooleanChecks thatPropertyInfohas reference typesvoidsetAggregationFunction(boolean aggregationFunction) Sets thatPropertyInfois read onlyvoidsetAliasedField(boolean aliasedField) voidsetPropertyInfoCache(List<PropertyInfo> propertyInfoCache) Sets caching nestedPropertyInfovoidsetReadOnly(boolean readOnly) Sets thatPropertyInfois read onlyvoidsetStaticDescription(String staticDescription) Sets description ofPropertyInfovoidsetTable(boolean table) Sets thatPropertyInfocorresponding to the table form attributevoidsetThroughReference(boolean throughReference) Sets thatPropertyInfohas reference typesvoidSetsPropertyInfotypevoidsetValueType(TypeDescription valueType) SetsTypeDescriptioncorresponding to thePropertyInfoMethods inherited from class com._1c.g5.v8.dt.form.model.AbstractFormDataSourceInfo
getExtension, getForm, getName, getNameRu, getParent, getSource, getSourceTextRegion, setExtension, setName, setNameRu, setParent, setSource, setSourceTextRegion
-
Constructor Details
-
PropertyInfo
public PropertyInfo()
-
-
Method Details
-
getPresentation
Gets string presentation- Parameters:
languageCode- actual language code, can't benullscriptVariant- actual script varian, can't benull- Returns:
- string presentation of this
PropertyInfo, nevernull
-
getDataPath
Description copied from class:AbstractFormDataSourceInfoGets actualDataPathfor- Specified by:
getDataPathin classAbstractFormDataSourceInfo- Parameters:
scriptVariant- currentDataPathScriptVariant, can't benull- Returns:
- actual
DataPath, nevernull
-
getMultyLanguageDataPath
Description copied from class:AbstractFormDataSourceInfoGets actual multi-languageDataPathfor the instance- Specified by:
getMultyLanguageDataPathin classAbstractFormDataSourceInfo- Returns:
- actual
DataPath, nevernull
-
hasChildren
public boolean hasChildren()Checks that thisPropertyInfohas nestedPropertyInfo- Returns:
trueif thisPropertyInfohas nestedPropertyInfo,falseotherwise
-
getStaticDescription
Gets description ofPropertyInfo- Returns:
- description of
PropertyInfo, can benull
-
setStaticDescription
Sets description ofPropertyInfo- Parameters:
staticDescription- description ofPropertyInfo, can benull
-
getValueType
GetsTypeDescriptioncorresponding to thePropertyInfo- Returns:
TypeDescriptioncorresponding to thePropertyInfo, can't benull
-
getRealValueType
GetsTypeDescriptioncorresponding to thePropertyInfo. Takes user-defined types into the account.- Returns:
TypeDescriptioncorresponding to thePropertyInfo, can't benull
-
setValueType
SetsTypeDescriptioncorresponding to thePropertyInfo- Parameters:
valueType-TypeDescriptioncorresponding to thePropertyInfo, can't benull
-
isTable
public boolean isTable()Checks thatPropertyInfocorresponding to the table form attribute- Returns:
truePropertyInfocorresponding to the table form attribute,falseotherwise
-
setTable
public void setTable(boolean table) Sets thatPropertyInfocorresponding to the table form attribute- Parameters:
table-truePropertyInfocorresponding to the table form attribute,falseotherwise
-
isReadOnly
public boolean isReadOnly()Checks thatPropertyInfois read only- Returns:
truePropertyInfois read only,falseotherwise
-
setReadOnly
public void setReadOnly(boolean readOnly) Sets thatPropertyInfois read only- Parameters:
readOnly-truePropertyInfois read only,falseotherwise
-
isAggregationFunction
public boolean isAggregationFunction()Checks thatPropertyInfocorresponding to the aggregation function- Returns:
trueifPropertyInfocorresponding to the aggregation function,false
-
setAggregationFunction
public void setAggregationFunction(boolean aggregationFunction) Sets thatPropertyInfois read only- Parameters:
aggregationFunction-trueifPropertyInfocorresponding to the aggregation function,false
-
isThroughReference
public boolean isThroughReference()Checks thatPropertyInfohas reference types- Returns:
trueifPropertyInfohas references types,falseotherwise
-
setThroughReference
public void setThroughReference(boolean throughReference) Sets thatPropertyInfohas reference types- Parameters:
throughReference-trueifPropertyInfohas references types,falseotherwise
-
getPropertyInfoCache
Gets caching nestedPropertyInfo- Returns:
- nested
PropertyInfo, can benull
-
setPropertyInfoCache
Sets caching nestedPropertyInfo- Parameters:
propertyInfoCache- caching nestedPropertyInfo, can benull
-
getPropertyInfos
Gets nestedPropertyInfo- Returns:
- nested
PropertyInfo, nevernull
-
getType
GetsPropertyInfotype- Returns:
PropertyInfotype, nevernull
-
setType
SetsPropertyInfotype- Parameters:
type-PropertyInfotype, can't benull
-
isAliasedField
public boolean isAliasedField()- Returns:
- the aliasedField
-
setAliasedField
public void setAliasedField(boolean aliasedField) - Parameters:
aliasedField- the aliasedField to set
-