org.gcube.data.analysis.tabulardata.model.relationship
Class TableRelationshipImpl

java.lang.Object
  extended by org.gcube.data.analysis.tabulardata.model.relationship.TableRelationshipImpl
All Implemented Interfaces:
Serializable, ColumnRelationship, TableRelationship

public class TableRelationshipImpl
extends Object
implements TableRelationship

See Also:
Serialized Form

Constructor Summary
TableRelationshipImpl(ColumnReference sourceForeignKeyColumnReference, ColumnRelationship columnRelationship)
           
 
Method Summary
 ColumnReference getSourceTableFKRef()
           
 ColumnReference getTargetPKRef()
           
 TableReference getTargetTableRef()
           
 boolean isChildParentRelationship()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableRelationshipImpl

public TableRelationshipImpl(ColumnReference sourceForeignKeyColumnReference,
                             ColumnRelationship columnRelationship)
Method Detail

isChildParentRelationship

public boolean isChildParentRelationship()
Specified by:
isChildParentRelationship in interface ColumnRelationship

getTargetTableRef

public TableReference getTargetTableRef()
Specified by:
getTargetTableRef in interface ColumnRelationship

getTargetPKRef

public ColumnReference getTargetPKRef()
Specified by:
getTargetPKRef in interface ColumnRelationship

getSourceTableFKRef

public ColumnReference getSourceTableFKRef()
Specified by:
getSourceTableFKRef in interface TableRelationship

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.