net.ontopia.persistence.query.sql
Class SQLTable

java.lang.Object
  extended by net.ontopia.persistence.query.sql.SQLTable

public class SQLTable
extends java.lang.Object

INTERNAL: Represents a reference to a table in a relation database. The reference consist of the name of the table and the alias which it has been assigned in the query.


Field Summary
protected  java.lang.String alias
           
protected  java.lang.String name
           
 
Constructor Summary
SQLTable(java.lang.String name, java.lang.String alias)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAlias()
           
 java.lang.String getName()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

alias

protected java.lang.String alias
Constructor Detail

SQLTable

public SQLTable(java.lang.String name,
                java.lang.String alias)
Method Detail

getName

public java.lang.String getName()

getAlias

public java.lang.String getAlias()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2000-2012 Ontopia.