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,
                                                 org.eclipse.emf.ecore.EObject context,
                                                 boolean allowUnlimited)
        Fill field availability
        Parameters:
        field - field, can't be null
        context - context object, can't be null
        allowUnlimited - whether unlimited strings and binary is allowed
      • isCompatibleType

        public static boolean isCompatibleType​(TypeDescriptionSource tdp,
                                               org.eclipse.emf.ecore.EObject context,
                                               boolean acceptRefs,
                                               boolean acceptUnlimited,
                                               boolean acceptUndefined)
        Check whether type is compatible
        Parameters:
        tdp - type description, can be null
        context - 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,
                                                           org.eclipse.emf.ecore.EObject context)
        Get list of tables for type
        Parameters:
        tdp - type description, can be null
        context - context object, can't be null
        Returns:
        list of DbObjectDef, never null