org.teiid.translator.salesforce
Class RelationshipImpl

java.lang.Object
  extended by org.teiid.translator.salesforce.RelationshipImpl
All Implemented Interfaces:
Relationship

public class RelationshipImpl
extends java.lang.Object
implements Relationship


Field Summary
 java.lang.String childTablename
           
 java.lang.String foreignKeyField
           
 java.lang.String parentTableName
           
 
Constructor Summary
RelationshipImpl()
           
 
Method Summary
 java.lang.String getChildTable()
           
 java.lang.String getForeignKeyField()
           
 java.lang.String getParentTable()
           
 boolean isCascadeDelete()
           
 void setCascadeDelete(boolean delete)
           
 void setChildTable(java.lang.String childTable)
           
 void setForeignKeyField(java.lang.String foreignKeyField)
           
 void setParentTable(java.lang.String parentTableName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

childTablename

public java.lang.String childTablename

parentTableName

public java.lang.String parentTableName

foreignKeyField

public java.lang.String foreignKeyField
Constructor Detail

RelationshipImpl

public RelationshipImpl()
Method Detail

setCascadeDelete

public void setCascadeDelete(boolean delete)
Specified by:
setCascadeDelete in interface Relationship

isCascadeDelete

public boolean isCascadeDelete()
Specified by:
isCascadeDelete in interface Relationship

setChildTable

public void setChildTable(java.lang.String childTable)
Specified by:
setChildTable in interface Relationship

getChildTable

public java.lang.String getChildTable()
Specified by:
getChildTable in interface Relationship

getForeignKeyField

public java.lang.String getForeignKeyField()
Specified by:
getForeignKeyField in interface Relationship

setForeignKeyField

public void setForeignKeyField(java.lang.String foreignKeyField)
Specified by:
setForeignKeyField in interface Relationship

getParentTable

public java.lang.String getParentTable()
Specified by:
getParentTable in interface Relationship

setParentTable

public void setParentTable(java.lang.String parentTableName)
Specified by:
setParentTable in interface Relationship


Copyright © 2010. All Rights Reserved.