Package com._1c.g5.v8.dt.form.util
Class PropertyInfoUtil
- java.lang.Object
-
- com._1c.g5.v8.dt.form.util.PropertyInfoUtil
-
public final class PropertyInfoUtil extends Object
The utilities methods forPropertyInfo
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertyInfo
getRootPropertyInfo(PropertyInfo info)
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 Detail
-
isTable
public static boolean isTable(PropertyInfo info)
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
public static boolean isColumn(PropertyInfo info)
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
public static boolean isColumn(PropertyInfo info, boolean checkParents)
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
public static boolean isTableOnly(PropertyInfo info)
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
public static PropertyInfo getRootPropertyInfo(PropertyInfo info)
The method gets root property info.- Parameters:
info
- the poperty info.- Returns:
- the root property info.
-
-