org.jtheque.core.managers.schema
Class AbstractSchema
java.lang.Object
org.jtheque.core.managers.schema.AbstractSchema
- All Implemented Interfaces:
- Comparable<Schema>, Schema
public abstract class AbstractSchema
- extends Object
- implements Schema
An abstract schema. The only thing this abstract class do is implementing the compareTo() method to ensure for
good order in collections.
- Author:
- Baptiste Wicht
AbstractSchema
public AbstractSchema()
getJdbcTemplate
public org.springframework.jdbc.core.simple.SimpleJdbcTemplate getJdbcTemplate()
- Return the jdbc template to execute JDBC request.
- Returns:
- The jdbc template.
update
public void update(String request,
Object... args)
- Update the the database executing the specified request.
- Parameters:
request
- The request to execute.args
- The args to give to the request.
compareTo
public final int compareTo(Schema other)
- Specified by:
compareTo
in interface Comparable<Schema>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public final String toString()
- Overrides:
toString
in class Object
Copyright © 2010 JTheque. All Rights Reserved.