com.im.df.api 5.9

com.im.df.api.support
Interface DFNewTypeWellKnownOptions.NewRelationship

All Superinterfaces:
DFNewTypeOptions, DFNewTypeWellKnownOptions.SingleDFItem
All Known Subinterfaces:
DFNewTypeWellKnownOptions.NewRelationshipMN, DFNewTypeWellKnownOptions.NewRelationshipSimple
Enclosing interface:
DFNewTypeWellKnownOptions

public static interface DFNewTypeWellKnownOptions.NewRelationship
extends DFNewTypeWellKnownOptions.SingleDFItem

Options for creating a new DFRelationship


Field Summary
static String PROP_CREATE_FOREIGN_KEY
           
static String PROP_DEST_FIELD
           
static String PROP_REL_TYPE
           
static String PROP_SRC_FIELD
           
 
Fields inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem
PROP_DESCRIPTION, PROP_NEW_DFITEM_NAME
 
Fields inherited from interface com.im.df.api.support.DFNewTypeOptions
PROP_ERROR_MESSAGE, PROP_VALID
 
Method Summary
 DFField getDstField()
           
 DFRelationship.Type getRelType()
           
 DFField getSrcField()
           
 boolean isCreateConstraints()
           
 void setCreateConstraints(boolean create)
          Instructs the NT to create the DB constraints on the table
 void setDstField(DFField dstField)
           
 void setRelType(DFRelationship.Type relType)
          Sets relationship type.
 void setSrcField(DFField srcField)
           
 
Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem
getDescription, getNewDFItemName, setDescription, setNewDFItemName, setNewDFItemNameSafe
 
Methods inherited from interface com.im.df.api.support.DFNewTypeOptions
addPropertyChangeListener, getErrorMessage, isValid, removeAllPropertyChangeListener, removePropertyChangeListener
 

Field Detail

PROP_SRC_FIELD

static final String PROP_SRC_FIELD
See Also:
Constant Field Values

PROP_DEST_FIELD

static final String PROP_DEST_FIELD
See Also:
Constant Field Values

PROP_CREATE_FOREIGN_KEY

static final String PROP_CREATE_FOREIGN_KEY
See Also:
Constant Field Values

PROP_REL_TYPE

static final String PROP_REL_TYPE
See Also:
Constant Field Values
Method Detail

getSrcField

DFField getSrcField()

setSrcField

void setSrcField(DFField srcField)

getDstField

DFField getDstField()

setDstField

void setDstField(DFField dstField)

getRelType

DFRelationship.Type getRelType()

setRelType

void setRelType(DFRelationship.Type relType)
Sets relationship type. This method makes no sense for M:N relationships


setCreateConstraints

void setCreateConstraints(boolean create)
Instructs the NT to create the DB constraints on the table


isCreateConstraints

boolean isCreateConstraints()

com.im.df.api 5.9