Package com._1c.g5.v8.dt.dcs
Class DcsDataSetInfoUtil
- java.lang.Object
-
- com._1c.g5.v8.dt.dcs.DcsDataSetInfoUtil
-
public class DcsDataSetInfoUtil extends Object
Util class for DataSetInfo
-
-
Constructor Summary
Constructors Constructor Description DcsDataSetInfoUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidfillFieldAvailability(DcsDataSetInfoAvailableFieldInfo field, SettingsContext settingsContext, boolean allowUnlimited)Fill field availabilitystatic List<DbObjectDef>getValueTypeTables(TypeDescriptionSource tdp, SettingsContext settingsContext)Get list of tables for typestatic booleanisCompatibleType(TypeDescriptionSource tdp, SettingsContext settingsContext, boolean acceptRefs, boolean acceptUnlimited, boolean acceptUndefined)Check whether type is compatible
-
-
-
Method Detail
-
fillFieldAvailability
public static void fillFieldAvailability(DcsDataSetInfoAvailableFieldInfo field, SettingsContext settingsContext, boolean allowUnlimited)
Fill field availability- Parameters:
field- field, can't be nullsettingsContext- settings context object, can't benullallowUnlimited- whether unlimited strings and binary is allowed
-
isCompatibleType
public static boolean isCompatibleType(TypeDescriptionSource tdp, SettingsContext settingsContext, boolean acceptRefs, boolean acceptUnlimited, boolean acceptUndefined)
Check whether type is compatible- Parameters:
tdp- type description, can be nullsettingsContext- settings context object, can't benullacceptRefs- accept referencesacceptUnlimited- accept unlimited dataacceptUndefined- accept Undefined- Returns:
- whether type is compatible
-
getValueTypeTables
public static List<DbObjectDef> getValueTypeTables(TypeDescriptionSource tdp, SettingsContext settingsContext)
Get list of tables for type- Parameters:
tdp- type description, can be nullsettingsContext- settings context object, can't benull- Returns:
- list of DbObjectDef, never null
-
-