Keel 2.1RC2

org.keel.services.persist
Interface Relation

All Known Implementing Classes:
DefaultRelation

public interface Relation

A relationship between two persistents. This can take the form of a master/detail relationship, a lookup relationship (where one or more fields are "looked up" from another persistent), or a generalized relation, enforced via referential integrity or not.

Author:
Michael Nash

Field Summary
static int DETAIL
           
static int LOOKUP
           
static int OTHER
           
 
Method Summary
 java.util.Set getFromFields()
           
 java.lang.String getFromPersistent()
           
 java.util.Set getLookedUpFields()
           
 java.util.Set getToFields()
           
 java.lang.String getToPersistent()
           
 int getType()
           
 

Field Detail

DETAIL

public static final int DETAIL
See Also:
Constant Field Values

LOOKUP

public static final int LOOKUP
See Also:
Constant Field Values

OTHER

public static final int OTHER
See Also:
Constant Field Values
Method Detail

getType

public int getType()

getToPersistent

public java.lang.String getToPersistent()

getFromPersistent

public java.lang.String getFromPersistent()

getFromFields

public java.util.Set getFromFields()

getToFields

public java.util.Set getToFields()

getLookedUpFields

public java.util.Set getLookedUpFields()

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.