de.jdataset
Class Relation

java.lang.Object
  extended by de.jdataset.Relation
All Implemented Interfaces:
java.io.Serializable

public final class Relation
extends java.lang.Object
implements java.io.Serializable

Diese Klasse stellt eine Relation zwischen zwei Tabellen dar; wie im ER-Modell. Die Namen der Relationen einer Tabelle müssen eindeutig sein.

See Also:
Serialized Form

Constructor Summary
Relation()
          Deprecated. For serialization purpose only.
 
Method Summary
 JDataTable getChildTable()
           
 int getDeleteRule()
           
 java.lang.String getFK()
          Liefert den oder die Foreign Keys mit Komma getrennt.
 JDataTable getParentTable()
          Unused
 java.lang.String getRefName()
           
 int getUpdateRule()
           
 void setDeleteRule(int delete_rule)
           
 void setUpdateRule(int update_rule)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Relation

public Relation()
Deprecated. For serialization purpose only.

Method Detail

getChildTable

public JDataTable getChildTable()
Returns:
Returns the childTable.

getParentTable

public JDataTable getParentTable()
Unused

Returns:
Returns the parentTable.

getRefName

public java.lang.String getRefName()
Returns:
Returns the refName.

getFK

public java.lang.String getFK()
Liefert den oder die Foreign Keys mit Komma getrennt.

Returns:

getDeleteRule

public int getDeleteRule()
Returns:

setDeleteRule

public void setDeleteRule(int delete_rule)
Parameters:
delete_rule -

getUpdateRule

public int getUpdateRule()
Returns:

setUpdateRule

public void setUpdateRule(int update_rule)
Parameters:
update_rule -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object