Class DcsDataSetInfoUtil


  • public class DcsDataSetInfoUtil
    extends Object
    Util class for DataSetInfo
    • Constructor Detail

      • DcsDataSetInfoUtil

        public DcsDataSetInfoUtil()
    • Method Detail

      • fillFieldAvailability

        public static void fillFieldAvailability​(DcsDataSetInfoAvailableFieldInfo field,
                                                 SettingsContext settingsContext,
                                                 boolean allowUnlimited)
        Fill field availability
        Parameters:
        field - field, can't be null
        settingsContext - settings context object, can't be null
        allowUnlimited - 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 null
        settingsContext - settings context object, can't be null
        acceptRefs - accept references
        acceptUnlimited - accept unlimited data
        acceptUndefined - 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 null
        settingsContext - settings context object, can't be null
        Returns:
        list of DbObjectDef, never null