org.enableit.db.darrt.resolvers
Class IgnoreConflictResolver

java.lang.Object
  |
  +--org.enableit.db.darrt.resolvers.IgnoreConflictResolver
All Implemented Interfaces:
ConflictResolver

public class IgnoreConflictResolver
extends java.lang.Object
implements ConflictResolver

Conflict resolver that assumes the existing row should be kept.

Author:
Tim Stephenson

Field Summary
static java.lang.String about
          CVS info ABOUT this class and its current version
 
Constructor Summary
IgnoreConflictResolver()
          Default Constructor
 
Method Summary
 org.enableit.db.beans.RowSet resolve(org.enableit.db.beans.Provider target, org.enableit.db.beans.RowSet rows)
          When a record already exists with the same primary key it will be ignored.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

about

public static final java.lang.String about
CVS info ABOUT this class and its current version

See Also:
Constant Field Values
Constructor Detail

IgnoreConflictResolver

public IgnoreConflictResolver()
Default Constructor

Method Detail

resolve

public org.enableit.db.beans.RowSet resolve(org.enableit.db.beans.Provider target,
                                            org.enableit.db.beans.RowSet rows)
When a record already exists with the same primary key it will be ignored.

Implementation Note: This is currently assumed to be all rows.

Specified by:
resolve in interface ConflictResolver


Copyright © 1999-2004 enableIT.org. All Rights Reserved.