public class SchemaKey
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SchemaKey.Type |
Constructor and Description |
---|
SchemaKey(java.lang.String keyName,
SchemaKey.Type type,
java.util.List<java.lang.String> columns)
A Schema Key represents a key in the database
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<java.lang.String> |
getColumns() |
java.lang.String |
getName() |
SchemaKey.Type |
getType()
The type of key, the DataManager only uses primary keys and foreign keys
|
int |
hashCode() |
java.lang.String |
toString() |
public SchemaKey(java.lang.String keyName, SchemaKey.Type type, @NotNull java.util.List<java.lang.String> columns)
keyName
- type
- columns
- @NotNull public java.util.List<java.lang.String> getColumns()
public SchemaKey.Type getType()
public java.lang.String getName()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
@NotNull public java.lang.String toString()
toString
in class java.lang.Object