com.instantbank.component.job.util
Class Alias

java.lang.Object
  |
  +--com.instantbank.component.job.util.Alias
All Implemented Interfaces:
java.io.Serializable

public class Alias
extends java.lang.Object
implements java.io.Serializable

In memory representation of a system alias (corresponding to table : com.instantbank.common.utilcomponents.DatabaseNames.LETT_ALIAS)

Author:
InstantBank (Consuelo Franky)
See Also:
Serialized Form

Field Summary
private  java.lang.String builtTable
          sql text for building a temporal table when fieldCategory is LetterTemplateGlobals.TEMPORAL_FIELDS; it is optional
private  java.lang.String description
          description of tableAlias
private  java.lang.String fieldCategory
          category of fields associated to tableAlias : LetterTemplateGlobals.NORMAL_FIELDS, TEMPORAL_FIELDS, DERIVED_FIELDS
private  java.lang.String joinType
          type of join : LetterTemplateGlobals.SIMPLE_JOIN, OUTER_JOIN; it is optional
private  java.lang.String parentJoinColumn
          column name in parent table for join; it is optional
private  java.lang.String parentTableAlias
          alias of parent table for join; it is optional
private  java.lang.String realTable
          name of real table associated to tableAlias
private  java.lang.String rootType
          root type for joins: LetterTemplateGlobals.ROOT_AGREEMENTS
private  java.lang.String sonJoinColumn
          column name in son table (i.e.
private  java.lang.String tableAlias
          name of table alias
 
Constructor Summary
Alias(java.lang.String tableAlias, java.lang.String rootType, java.lang.String description, java.lang.String realTable, java.lang.String fieldCategory, java.lang.String parentTableAlias, java.lang.String parentJoinColumn, java.lang.String sonJoinColumn, java.lang.String joinType, java.lang.String builtTable)
          Constructor for the Alias object
 
Method Summary
 java.lang.String getBuiltTable()
          Gets the builtTable attribute of the Alias object
 java.lang.String getDescription()
          Gets the description attribute of the Alias object
 java.lang.String getFieldCategory()
          Gets the fieldCategory attribute of the Alias object
 java.lang.String getJoinType()
          Gets the joinType attribute of the Alias object
 java.lang.String getParentJoinColumn()
          Gets the parentJoinColumn attribute of the Alias object
 java.lang.String getParentTableAlias()
          Gets the parentTableAlias attribute of the Alias object
 java.lang.String getRealTable()
          Gets the realTable attribute of the Alias object
 java.lang.String getRootType()
          Gets the rootType attribute of the Alias object
 java.lang.String getSonJoinColumn()
          Gets the sonJoinColumn attribute of the Alias object
 java.lang.String getTableAlias()
          Gets the tableAlias attribute of the Alias object
 java.lang.String toString()
          Textual representation of the Alias object
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

tableAlias

private java.lang.String tableAlias
name of table alias

rootType

private java.lang.String rootType
root type for joins: LetterTemplateGlobals.ROOT_AGREEMENTS

description

private java.lang.String description
description of tableAlias

realTable

private java.lang.String realTable
name of real table associated to tableAlias

fieldCategory

private java.lang.String fieldCategory
category of fields associated to tableAlias : LetterTemplateGlobals.NORMAL_FIELDS, TEMPORAL_FIELDS, DERIVED_FIELDS

parentTableAlias

private java.lang.String parentTableAlias
alias of parent table for join; it is optional

parentJoinColumn

private java.lang.String parentJoinColumn
column name in parent table for join; it is optional

sonJoinColumn

private java.lang.String sonJoinColumn
column name in son table (i.e. tableAlias) for join; it is optional

joinType

private java.lang.String joinType
type of join : LetterTemplateGlobals.SIMPLE_JOIN, OUTER_JOIN; it is optional

builtTable

private java.lang.String builtTable
sql text for building a temporal table when fieldCategory is LetterTemplateGlobals.TEMPORAL_FIELDS; it is optional
Constructor Detail

Alias

public Alias(java.lang.String tableAlias,
             java.lang.String rootType,
             java.lang.String description,
             java.lang.String realTable,
             java.lang.String fieldCategory,
             java.lang.String parentTableAlias,
             java.lang.String parentJoinColumn,
             java.lang.String sonJoinColumn,
             java.lang.String joinType,
             java.lang.String builtTable)
Constructor for the Alias object
Parameters:
tableAlias - name of table alias
rootType - root type for joins
description - description of tableAlias
realTable - name of real table associated to tableAlias
fieldCategory - category of fields associated to tableAlias
parentTableAlias - alias of parent table for join
parentJoinColumn - column name in parent table for join
sonJoinColumn - column name in son table for join
joinType - type of join
builtTable - sql text for building a temporal table
Method Detail

getTableAlias

public java.lang.String getTableAlias()
Gets the tableAlias attribute of the Alias object
Returns:
The tableAlias value

getRootType

public java.lang.String getRootType()
Gets the rootType attribute of the Alias object
Returns:
The rootType value

getDescription

public java.lang.String getDescription()
Gets the description attribute of the Alias object
Returns:
The description value

getRealTable

public java.lang.String getRealTable()
Gets the realTable attribute of the Alias object
Returns:
The realTable value

getFieldCategory

public java.lang.String getFieldCategory()
Gets the fieldCategory attribute of the Alias object
Returns:
The fieldCategory value

getParentTableAlias

public java.lang.String getParentTableAlias()
Gets the parentTableAlias attribute of the Alias object
Returns:
The parentTableAlias value

getParentJoinColumn

public java.lang.String getParentJoinColumn()
Gets the parentJoinColumn attribute of the Alias object
Returns:
The parentJoinColumn value

getSonJoinColumn

public java.lang.String getSonJoinColumn()
Gets the sonJoinColumn attribute of the Alias object
Returns:
The sonJoinColumn value

getJoinType

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

getBuiltTable

public java.lang.String getBuiltTable()
Gets the builtTable attribute of the Alias object
Returns:
The builtTable value

toString

public java.lang.String toString()
Textual representation of the Alias object
Overrides:
toString in class java.lang.Object
Returns:
text of the Alias object