Package com._1c.g5.v8.dt.form.util
Class PropertyInfoUtil
java.lang.Object
com._1c.g5.v8.dt.form.util.PropertyInfoUtil
The utilities methods for
PropertyInfo.-
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyInfoThe method gets root property info.static booleanisColumn(PropertyInfo info) This method checks the type ofPropertyInfois the column value.static booleanisColumn(PropertyInfo info, boolean checkParents) This method checks the type ofPropertyInfois the column value.static booleanisTable(PropertyInfo info) This method checks the type ofPropertyInfois the tablestatic booleanisTableOnly(PropertyInfo info) This method checks the type ofPropertyInfois strict only table type.
-
Method Details
-
isTable
This method checks the type ofPropertyInfois the table- Parameters:
info- the property info for check.- Returns:
- return
trueif a property info has the table type, otherwisefalse.
-
isColumn
This method checks the type ofPropertyInfois the column value.- Parameters:
info- the property info for check.(can not benull).- Returns:
- return
trueif a property info has the column type, otherwisefalse.
-
isColumn
This method checks the type ofPropertyInfois the column value.- Parameters:
info- the property info for check.(can not benull).checkParents- check that one of the property parents is column.- Returns:
- return
trueif a property info (or one of its ancestors) has the column type, otherwisefalse.
-
isTableOnly
This method checks the type ofPropertyInfois strict only table type.- Parameters:
info- the property info for check.(can not benull).- Returns:
- return
trueif a property info has the stict table type, otherwisefalse.
-
getRootPropertyInfo
The method gets root property info.- Parameters:
info- the poperty info.- Returns:
- the root property info.
-