org.apache.torque.util
Class TransactionComparator<T>

java.lang.Object
  extended by org.apache.torque.util.TransactionComparator<T>
All Implemented Interfaces:
Comparator<org.kuali.db.Transaction>

public class TransactionComparator<T>
extends Object
implements Comparator<org.kuali.db.Transaction>


Constructor Summary
TransactionComparator()
           
TransactionComparator(String artifactId)
           
 
Method Summary
 int compare(org.kuali.db.Transaction one, org.kuali.db.Transaction two)
           
 String getArtifactId()
           
 String getConstraints()
           
 String getSuffix()
           
protected  boolean isSchemaConstraintsSQL(String location)
           
protected  boolean isSchemaSQL(String location)
           
 void setArtifactId(String schema)
           
 void setConstraints(String constraints)
           
 void setSuffix(String suffix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

TransactionComparator

public TransactionComparator()

TransactionComparator

public TransactionComparator(String artifactId)
Method Detail

compare

public int compare(org.kuali.db.Transaction one,
                   org.kuali.db.Transaction two)
Specified by:
compare in interface Comparator<org.kuali.db.Transaction>

isSchemaSQL

protected boolean isSchemaSQL(String location)

isSchemaConstraintsSQL

protected boolean isSchemaConstraintsSQL(String location)

getArtifactId

public String getArtifactId()

setArtifactId

public void setArtifactId(String schema)

getSuffix

public String getSuffix()

setSuffix

public void setSuffix(String suffix)

getConstraints

public String getConstraints()

setConstraints

public void setConstraints(String constraints)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.