|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fuberlin.wiwiss.d2rq.algebra.RelationName
public class RelationName
A relation name, including an optional schema name. TODO: Should know about its database and not be equal if the databases are not equal. (?)
Constructor Summary | |
---|---|
RelationName(String schemaName,
String tableName)
Constructs a new relation name. |
Method Summary | |
---|---|
int |
compareTo(Object otherObject)
Relations without schema are less than relations with schema. |
boolean |
equals(Object otherObject)
Two relation names are identical if and only if they share the same name and schema, or they share the same name and both have no schema. |
int |
hashCode()
|
String |
qualifiedName()
Returns the full name, including the schema if present, in schema.table or table notation. |
String |
schemaName()
|
String |
tableName()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RelationName(String schemaName, String tableName)
schemaName
- The schema name, or null if nonetableName
- The table nameMethod Detail |
---|
public String tableName()
public String schemaName()
public String qualifiedName()
public int hashCode()
hashCode
in class Object
public boolean equals(Object otherObject)
equals
in class Object
public String toString()
toString
in class Object
public int compareTo(Object otherObject)
compareTo
in interface Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |