Skip to main content
summaryrefslogblamecommitdiffstats
blob: 2f64b2d8b6e73d9cf73dba0e998a15f8142ad4b1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                










                                                                            
           

                                                                           
           
                                     
        


                                                                                   
                



                                                                                       
/*******************************************************************************
 * Copyright (c) 2008 Oracle. All rights reserved.
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0, which accompanies this distribution
 * and is available at http://www.eclipse.org/legal/epl-v10.html.
 * 
 * Contributors:
 *     Oracle - initial API and implementation
 ******************************************************************************/
package org.eclipse.jpt.eclipselink.core.context;

import org.eclipse.jpt.core.context.JpaContextNode;

/**
 * Provisional API: This interface is part of an interim API that is still
 * under development and expected to change significantly before reaching
 * stability. It is available at this early stage to solicit feedback from
 * pioneering adopters on the understanding that any code that uses this API
 * will almost certainly be broken (repeatedly) as the API evolves.
 * 
 * @version 2.1
 * @since 2.1
 */
public interface ChangeTracking extends JpaContextNode
{
	/**
	 * This is the combination of defaultType and specifiedType.
	 * If getSpecifiedType() returns null, then return getDefaultType()
	 */
	ChangeTrackingType getType();
	
	ChangeTrackingType getDefaultType();		
		String DEFAULT_TYPE_PROPERTY = "defaultTypeProperty"; //$NON-NLS-1$
		ChangeTrackingType DEFAULT_TYPE = ChangeTrackingType.AUTO;
		
	ChangeTrackingType getSpecifiedType();	
	void setSpecifiedType(ChangeTrackingType newSpecifiedType);
		String SPECIFIED_TYPE_PROPERTY = "specifiedTypeProperty"; //$NON-NLS-1$
}

Back to the top