com.instantbank.component.job.util
Class JoinElement

java.lang.Object
  |
  +--com.instantbank.component.job.util.JoinElement

public class JoinElement
extends java.lang.Object

Description of a join element in a job SQL sentence

Author:
InstantBank (Consuelo Franky)

Field Summary
private  java.lang.String joinType
          type of join: "" or "(+)"
private  java.lang.String parentAlias
          name of parent table alias
private  java.lang.String parentColumn
          column name in parent table for join
private  java.lang.String sonAlias
          name of table alias
private  java.lang.String sonColumn
          column name in sonAlias for join
 
Constructor Summary
JoinElement(java.lang.String parentAlias, java.lang.String parentColumn, java.lang.String sonAlias, java.lang.String sonColumn, java.lang.String joinType)
          Constructor for the JoinElement object
 
Method Summary
 java.lang.String getJoinType()
          Gets the joinType attribute of the JoinElement object
 java.lang.String getParentAlias()
          Gets the parentAlias attribute of the JoinElement object
 java.lang.String getParentColumn()
          Gets the parentColumn attribute of the JoinElement object
 java.lang.String getSonAlias()
          Gets the sonAlias attribute of the JoinElement object
 java.lang.String getSonColumn()
          Gets the sonColumn attribute of the JoinElement object
 java.lang.String toString()
          Textual representation of JoinElement
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

parentAlias

private java.lang.String parentAlias
name of parent table alias

parentColumn

private java.lang.String parentColumn
column name in parent table for join

sonAlias

private java.lang.String sonAlias
name of table alias

sonColumn

private java.lang.String sonColumn
column name in sonAlias for join

joinType

private java.lang.String joinType
type of join: "" or "(+)"
Constructor Detail

JoinElement

public JoinElement(java.lang.String parentAlias,
                   java.lang.String parentColumn,
                   java.lang.String sonAlias,
                   java.lang.String sonColumn,
                   java.lang.String joinType)
Constructor for the JoinElement object
Parameters:
parentAlias - name of parent table alias
parentColumn - column name in parent table for join
sonAlias - name of table alias
sonColumn - column name in sonAlias for join
joinType - type of join
Method Detail

getParentAlias

public java.lang.String getParentAlias()
Gets the parentAlias attribute of the JoinElement object
Returns:
The parentAlias value

getParentColumn

public java.lang.String getParentColumn()
Gets the parentColumn attribute of the JoinElement object
Returns:
The parentColumn value

getSonAlias

public java.lang.String getSonAlias()
Gets the sonAlias attribute of the JoinElement object
Returns:
The sonAlias value

getSonColumn

public java.lang.String getSonColumn()
Gets the sonColumn attribute of the JoinElement object
Returns:
The sonColumn value

getJoinType

public java.lang.String getJoinType()
Gets the joinType attribute of the JoinElement object
Returns:
The joinType value

toString

public java.lang.String toString()
Textual representation of JoinElement
Overrides:
toString in class java.lang.Object
Returns:
text corresponding to JoinElement instance