Expresso 5-6

com.jcorporate.expresso.core.dataobjects.jdbc
Class JoinedDataObjectMetaData.Relation

java.lang.Object
  extended bycom.jcorporate.expresso.core.dataobjects.jdbc.JoinedDataObjectMetaData.Relation
Enclosing class:
JoinedDataObjectMetaData

public class JoinedDataObjectMetaData.Relation
extends Object

Bean-like class for keeping track of relations

Author:
Michael Rimov

Constructor Summary
JoinedDataObjectMetaData.Relation()
           
 
Method Summary
 String getForeignAlias()
          Retrieve the foreign alias
 String getForeignField()
          Retrieve the foreign field
 int getJoinType()
           
 String getLocalAlias()
          Retrieve the local alias
 String getLocalField()
          Retrieve the local field
 void setForeignAlias(String newValue)
          Sets the foreign alias value
 void setForeignKey(String newValue)
          Set the foreign key field
 void setJoinType(int newValue)
           
 void setLocalAlias(String newValue)
          Sets the local alias value
 void setLocalKey(String newValue)
          Set the local key field name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinedDataObjectMetaData.Relation

public JoinedDataObjectMetaData.Relation()
Method Detail

setLocalAlias

public void setLocalAlias(String newValue)
Sets the local alias value

Parameters:
newValue - java.lang.String an alias name

setForeignAlias

public void setForeignAlias(String newValue)
Sets the foreign alias value

Parameters:
newValue - java.lang.String an alias name

setLocalKey

public void setLocalKey(String newValue)
Set the local key field name

Parameters:
newValue - java.lang.String

setForeignKey

public void setForeignKey(String newValue)
Set the foreign key field

Parameters:
newValue - the new Key field name

setJoinType

public void setJoinType(int newValue)

getLocalAlias

public String getLocalAlias()
Retrieve the local alias

Returns:
the local alias

getForeignAlias

public String getForeignAlias()
Retrieve the foreign alias

Returns:
java.lang.String

getLocalField

public String getLocalField()
Retrieve the local field

Returns:
java.lang.String

getForeignField

public String getForeignField()
Retrieve the foreign field

Returns:
java.lang.String

getJoinType

public int getJoinType()

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.