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 actualDataPath
forGets actual multi-languageDataPath
for the instancegetPresentation
(String languageCode, ScriptVariant scriptVariant) Gets string presentationGets caching nestedPropertyInfo
Gets nestedPropertyInfo
GetsTypeDescription
corresponding to thePropertyInfo
.Gets description ofPropertyInfo
getType()
GetsPropertyInfo
typeGetsTypeDescription
corresponding to thePropertyInfo
boolean
Checks that thisPropertyInfo
has nestedPropertyInfo
boolean
Checks thatPropertyInfo
corresponding to the aggregation functionboolean
boolean
Checks thatPropertyInfo
is read onlyboolean
isTable()
Checks thatPropertyInfo
corresponding to the table form attributeboolean
Checks thatPropertyInfo
has reference typesvoid
setAggregationFunction
(boolean aggregationFunction) Sets thatPropertyInfo
is read onlyvoid
setAliasedField
(boolean aliasedField) void
setPropertyInfoCache
(List<PropertyInfo> propertyInfoCache) Sets caching nestedPropertyInfo
void
setReadOnly
(boolean readOnly) Sets thatPropertyInfo
is read onlyvoid
setStaticDescription
(String staticDescription) Sets description ofPropertyInfo
void
setTable
(boolean table) Sets thatPropertyInfo
corresponding to the table form attributevoid
setThroughReference
(boolean throughReference) Sets thatPropertyInfo
has reference typesvoid
SetsPropertyInfo
typevoid
setValueType
(TypeDescription valueType) SetsTypeDescription
corresponding to thePropertyInfo
Methods 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 benull
scriptVariant
- actual script varian, can't benull
- Returns:
- string presentation of this
PropertyInfo
, nevernull
-
getDataPath
Description copied from class:AbstractFormDataSourceInfo
Gets actualDataPath
for- Specified by:
getDataPath
in classAbstractFormDataSourceInfo
- Parameters:
scriptVariant
- currentDataPath
ScriptVariant
, can't benull
- Returns:
- actual
DataPath
, nevernull
-
getMultyLanguageDataPath
Description copied from class:AbstractFormDataSourceInfo
Gets actual multi-languageDataPath
for the instance- Specified by:
getMultyLanguageDataPath
in classAbstractFormDataSourceInfo
- Returns:
- actual
DataPath
, nevernull
-
hasChildren
public boolean hasChildren()Checks that thisPropertyInfo
has nestedPropertyInfo
- Returns:
true
if thisPropertyInfo
has nestedPropertyInfo
,false
otherwise
-
getStaticDescription
Gets description ofPropertyInfo
- Returns:
- description of
PropertyInfo
, can benull
-
setStaticDescription
Sets description ofPropertyInfo
- Parameters:
staticDescription
- description ofPropertyInfo
, can benull
-
getValueType
GetsTypeDescription
corresponding to thePropertyInfo
- Returns:
TypeDescription
corresponding to thePropertyInfo
, can't benull
-
getRealValueType
GetsTypeDescription
corresponding to thePropertyInfo
. Takes user-defined types into the account.- Returns:
TypeDescription
corresponding to thePropertyInfo
, can't benull
-
setValueType
SetsTypeDescription
corresponding to thePropertyInfo
- Parameters:
valueType
-TypeDescription
corresponding to thePropertyInfo
, can't benull
-
isTable
public boolean isTable()Checks thatPropertyInfo
corresponding to the table form attribute- Returns:
true
PropertyInfo
corresponding to the table form attribute,false
otherwise
-
setTable
public void setTable(boolean table) Sets thatPropertyInfo
corresponding to the table form attribute- Parameters:
table
-true
PropertyInfo
corresponding to the table form attribute,false
otherwise
-
isReadOnly
public boolean isReadOnly()Checks thatPropertyInfo
is read only- Returns:
true
PropertyInfo
is read only,false
otherwise
-
setReadOnly
public void setReadOnly(boolean readOnly) Sets thatPropertyInfo
is read only- Parameters:
readOnly
-true
PropertyInfo
is read only,false
otherwise
-
isAggregationFunction
public boolean isAggregationFunction()Checks thatPropertyInfo
corresponding to the aggregation function- Returns:
true
ifPropertyInfo
corresponding to the aggregation function,false
-
setAggregationFunction
public void setAggregationFunction(boolean aggregationFunction) Sets thatPropertyInfo
is read only- Parameters:
aggregationFunction
-true
ifPropertyInfo
corresponding to the aggregation function,false
-
isThroughReference
public boolean isThroughReference()Checks thatPropertyInfo
has reference types- Returns:
true
ifPropertyInfo
has references types,false
otherwise
-
setThroughReference
public void setThroughReference(boolean throughReference) Sets thatPropertyInfo
has reference types- Parameters:
throughReference
-true
ifPropertyInfo
has references types,false
otherwise
-
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
GetsPropertyInfo
type- Returns:
PropertyInfo
type, nevernull
-
setType
SetsPropertyInfo
type- Parameters:
type
-PropertyInfo
type, can't benull
-
isAliasedField
public boolean isAliasedField()- Returns:
- the aliasedField
-
setAliasedField
public void setAliasedField(boolean aliasedField) - Parameters:
aliasedField
- the aliasedField to set
-