org.nsdl.mptstore.query.component
Class MPTable

java.lang.Object
  extended by org.nsdl.mptstore.query.component.MPTable

public class MPTable
extends java.lang.Object

Mapped Predicate Table.

Represents a specific mapping of a predicate to a table. This mapped table has both a name and an alias. The table name is determined by the predicate mapping, but the alias is arbitrary.

Author:
birkland

Constructor Summary
MPTable(java.lang.String name, java.lang.String alias)
          Construct an MPTable.
 
Method Summary
 java.lang.String alias()
          Get the alias.
 java.lang.String name()
          Get the name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MPTable

public MPTable(java.lang.String name,
               java.lang.String alias)
Construct an MPTable.

Parameters:
name - the name of the table.
alias - the alias.
Method Detail

alias

public java.lang.String alias()
Get the alias.

Returns:
the alias.

name

public java.lang.String name()
Get the name.

Returns:
the name.