net.ontopia.persistence.query.sql
Class SQLTable

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

public class SQLTable
extends 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  String alias
           
protected  String name
           
 
Constructor Summary
SQLTable(String name, String alias)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAlias()
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected String name

alias

protected String alias
Constructor Detail

SQLTable

public SQLTable(String name,
                String alias)
Method Detail

getName

public String getName()

getAlias

public String getAlias()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2012 Ontopia.