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

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

public class TransactionComparator<T>
extends Object
implements Comparator<Transaction>


Field Summary
(package private)  String artifactId
           
(package private)  String constraints
           
(package private)  String suffix
           
 
Constructor Summary
TransactionComparator()
           
TransactionComparator(String artifactId)
           
 
Method Summary
 int compare(Transaction one, 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
 

Field Detail

suffix

String suffix

constraints

String constraints

artifactId

String artifactId
Constructor Detail

TransactionComparator

public TransactionComparator()

TransactionComparator

public TransactionComparator(String artifactId)
Method Detail

compare

public int compare(Transaction one,
                   Transaction two)
Specified by:
compare in interface Comparator<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 © 2007-2011 The Kuali Foundation. All Rights Reserved.