com.infomaximum.database.schema.table.TableReference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rdao Show documentation
Show all versions of rdao Show documentation
Library for creating a light cluster
The newest version!
package com.infomaximum.database.schema.table;
import java.util.Objects;
public class TableReference {
private final String name;
private final String namespace;
public TableReference(String name, String namespace) {
this.name = name;
this.namespace = namespace;
}
public String getName() {
return name;
}
public String getNamespace() {
return namespace;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
TableReference that = (TableReference) o;
return Objects.equals(name, that.name) &&
Objects.equals(namespace, that.namespace);
}
@Override
public int hashCode() {
return Objects.hash(name, namespace);
}
@Override
public String toString() {
return "TableReference{" +
"name='" + name + '\'' +
", namespace='" + namespace + '\'' +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy