| java.lang.Object jimm.datavision.source.Join
Join | public Join(Column fromCol, String relation, Column toCol)(Code) | | Constructor.
Parameters: fromCol - a database column Parameters: relation - a string like "=" or "<" used to join the two databasecolumns Parameters: toCol - another database column See Also: Column |
getFrom | public Column getFrom()(Code) | | Returns the "from" column.
a column |
getRelation | public String getRelation()(Code) | | Returns the relation string (for example, "=" or "<").
a string used to define the relationship between the twodatabase columns |
getTo | public Column getTo()(Code) | | Returns the "to" column.
a column |
setFrom | public void setFrom(Column newFrom)(Code) | | Sets the "from" column.
Parameters: newFrom - the new column |
setRelation | public void setRelation(String newRelation)(Code) | | Sets the relation string (for example, "=" or "<").
Parameters: newRelation - the new string |
setTo | public void setTo(Column newTo)(Code) | | Sets the "to" column.
Parameters: newTo - the new column |
toString | public String toString()(Code) | | Returns a string representation of this join, usable as a where
clause in a SQL query.
|
writeXML | public void writeXML(XMLWriter out)(Code) | | Writes this join as an XML tag.
Parameters: out - a writer that knows how to write XML |
|
|