Class DataHistorySupportProvider


  • public final class DataHistorySupportProvider
    extends Object
    Provider of data history support
    • Method Detail

      • isDataHistorySupported

        public static boolean isDataHistorySupported​(org.eclipse.emf.ecore.EObject object,
                                                     Version version)
        Returns whether the given object supports data history.
        Parameters:
        object - , the given object, cannot be null
        version - , the project version, cannot be null
        Returns:
        true if the given object supports data history, and false otherwise
      • isDataHistoryStandardObjectSupported

        public static boolean isDataHistoryStandardObjectSupported​(org.eclipse.emf.ecore.EObject parentObject,
                                                                   String standardObjectName,
                                                                   Version version)
        Returns whether the given standard object supports data history.
        Parameters:
        parentObject - the given standard object parent, cannot be null
        standardObjectName - the given standard object name, cannot be null
        Returns:
        true if the given standard object supports data history, and false otherwise