liquibase.database.structure.Schema Maven / Gradle / Ivy
package liquibase.database.structure;
public class Schema implements DatabaseObject {
private String name;
public DatabaseObject[] getContainingObjects() {
return null;
}
public Schema(String name) {
this.name = name;
}
public String getName() {
return name;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Schema schema = (Schema) o;
if (name != null ? !name.equals(schema.name) : schema.name != null) return false;
return true;
}
@Override
public int hashCode() {
return name != null ? name.hashCode() : 0;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy