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 PropertyInfo
The method gets root property info.static boolean
isColumn
(PropertyInfo info) This method checks the type ofPropertyInfo
is the column value.static boolean
isColumn
(PropertyInfo info, boolean checkParents) This method checks the type ofPropertyInfo
is the column value.static boolean
isTable
(PropertyInfo info) This method checks the type ofPropertyInfo
is the tablestatic boolean
isTableOnly
(PropertyInfo info) This method checks the type ofPropertyInfo
is strict only table type.
-
Method Details
-
isTable
This method checks the type ofPropertyInfo
is the table- Parameters:
info
- the property info for check.- Returns:
- return
true
if a property info has the table type, otherwisefalse
.
-
isColumn
This method checks the type ofPropertyInfo
is the column value.- Parameters:
info
- the property info for check.(can not benull
).- Returns:
- return
true
if a property info has the column type, otherwisefalse
.
-
isColumn
This method checks the type ofPropertyInfo
is 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
true
if a property info (or one of its ancestors) has the column type, otherwisefalse
.
-
isTableOnly
This method checks the type ofPropertyInfo
is strict only table type.- Parameters:
info
- the property info for check.(can not benull
).- Returns:
- return
true
if 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.
-