public final class Evolution
extends java.lang.Object
| Constructor and Description |
|---|
Evolution(int revision,
java.lang.String sqlUp,
java.lang.String sqlDown)
Create the evolution.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getRevision()
Get the revision of the evolution.
|
java.lang.String |
getSqlDown()
Get the SQL script for tearing the evolution down.
|
java.lang.String |
getSqlUp()
Get the SQL script for bringing the evolution up.
|
int |
hashCode() |
public Evolution(int revision,
java.lang.String sqlUp,
java.lang.String sqlDown)
revision - The revision of the evolution to create.sqlUp - The SQL script for bringing the evolution up.sqlDown - The SQL script for tearing the evolution down.public int getRevision()
public java.lang.String getSqlUp()
public java.lang.String getSqlDown()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object