de.unidu.is.pdatalog.ds
Class DBProbExpression

java.lang.Object
  extended byde.unidu.is.expressions.AbstractExpression
      extended byde.unidu.is.pdatalog.ds.DBProbExpression
All Implemented Interfaces:
Expression

public class DBProbExpression
extends AbstractExpression

An expression representing the column for the fact probabilities in a relational table.

Version:
$Revision: 1.5 $, $Date: 2005/02/28 22:27:55 $
Author:
Henrik Nottelmann

Field Summary
protected  java.lang.String table
          Table name.
 
Constructor Summary
DBProbExpression(java.lang.String table)
          Creates a new object.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String get()
           
 java.lang.String getTable()
          Returns the table name.
 int hashCode()
           
 void set(java.lang.String arg)
          Sets the table name (the string can be the table name or [table].
 void setTable(java.lang.String string)
          Sets the table name
 java.lang.String toString()
           
 
Methods inherited from class de.unidu.is.expressions.AbstractExpression
getSQLTemplate, substitute
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

table

protected java.lang.String table
Table name.

Constructor Detail

DBProbExpression

public DBProbExpression(java.lang.String table)
Creates a new object.

Parameters:
table - table name
Method Detail

get

public java.lang.String get()

set

public void set(java.lang.String arg)
Sets the table name (the string can be the table name or [table].[col]).

Parameters:
arg - specification of table name

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

getTable

public java.lang.String getTable()
Returns the table name.

Returns:
table name

setTable

public void setTable(java.lang.String string)
Sets the table name

Parameters:
string - table name