Package com._1c.g5.v8.dt.form.model
Class CombinedPropertyInfo
java.lang.Object
com._1c.g5.v8.dt.form.model.AbstractFormDataSourceInfo
com._1c.g5.v8.dt.form.model.PropertyInfo
com._1c.g5.v8.dt.form.model.CombinedPropertyInfo
Holder for two property infos - from extension and extended projects
-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.v8.dt.form.model.PropertyInfo
PropertyInfo.PropertyInfoType
-
Constructor Summary
ConstructorsConstructorDescriptionCombinedPropertyInfo
(PropertyInfo extensionProjectPropInfo, PropertyInfo parentProjectPropInfo) Constructs combined property info -
Method Summary
Modifier and TypeMethodDescriptionGetsPropertyInfo
for extension projectgetName()
Gets name of the elementGets Russian name of the elementGetsPropertyInfo
for extended projectGets nestedPropertyInfo
GetsTypeDescription
corresponding to thePropertyInfo
.Gets source element for.getType()
GetsPropertyInfo
typeGetsTypeDescription
corresponding to thePropertyInfo
Methods inherited from class com._1c.g5.v8.dt.form.model.PropertyInfo
getDataPath, getMultyLanguageDataPath, getPresentation, getPropertyInfoCache, getStaticDescription, hasChildren, isAggregationFunction, isAliasedField, isReadOnly, isTable, isThroughReference, setAggregationFunction, setAliasedField, setPropertyInfoCache, setReadOnly, setStaticDescription, setTable, setThroughReference, setType, setValueType
Methods inherited from class com._1c.g5.v8.dt.form.model.AbstractFormDataSourceInfo
getExtension, getForm, getParent, getSourceTextRegion, setExtension, setName, setNameRu, setParent, setSource, setSourceTextRegion
-
Constructor Details
-
CombinedPropertyInfo
public CombinedPropertyInfo(PropertyInfo extensionProjectPropInfo, PropertyInfo parentProjectPropInfo) Constructs combined property info- Parameters:
extensionProjectPropInfo
-PropertyInfo
for extension project, cannot benull
parentProjectPropInfo
-PropertyInfo
for parent project, cannot benull
-
-
Method Details
-
getName
Description copied from class:AbstractFormDataSourceInfo
Gets name of the element- Overrides:
getName
in classAbstractFormDataSourceInfo
- Returns:
- name of the element, can't be
null
-
getNameRu
Description copied from class:AbstractFormDataSourceInfo
Gets Russian name of the element- Overrides:
getNameRu
in classAbstractFormDataSourceInfo
- Returns:
- name of the element, can't be
null
-
getType
Description copied from class:PropertyInfo
GetsPropertyInfo
type- Overrides:
getType
in classPropertyInfo
- Returns:
PropertyInfo
type, nevernull
-
getValueType
Description copied from class:PropertyInfo
GetsTypeDescription
corresponding to thePropertyInfo
- Overrides:
getValueType
in classPropertyInfo
- Returns:
TypeDescription
corresponding to thePropertyInfo
, can't benull
-
getRealValueType
Description copied from class:PropertyInfo
GetsTypeDescription
corresponding to thePropertyInfo
. Takes user-defined types into the account.- Overrides:
getRealValueType
in classPropertyInfo
- Returns:
TypeDescription
corresponding to thePropertyInfo
, can't benull
-
getSource
Description copied from class:AbstractFormDataSourceInfo
Gets source element for. The source element is the element from form model or otherAbstractFormDataSourceInfo
which provide this element- Overrides:
getSource
in classAbstractFormDataSourceInfo
- Returns:
- source element, can be
null
if there is no source element for this element
-
getPropertyInfos
Description copied from class:PropertyInfo
Gets nestedPropertyInfo
- Overrides:
getPropertyInfos
in classPropertyInfo
- Returns:
- nested
PropertyInfo
, nevernull
-
getExtensionPropInfo
GetsPropertyInfo
for extension project- Returns:
PropertyInfo
, nevernull
-
getParentProjectPropInfo
GetsPropertyInfo
for extended project- Returns:
PropertyInfo
, nevernull
-