com.im.df.api 5.9

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

All Superinterfaces:
DFNewTypeOptions, DFNewTypeWellKnownOptions.NewRelationship, DFNewTypeWellKnownOptions.SingleDFItem
Enclosing interface:
DFNewTypeWellKnownOptions

public static interface DFNewTypeWellKnownOptions.NewRelationshipMN
extends DFNewTypeWellKnownOptions.NewRelationship

Extension options for M:N relationship type. The options make no sense in the case of other relationships


Field Summary
static String PROP_DEST_COLUMN_NAMES
           
static String PROP_DEST_FK
           
static String PROP_JOIN_TABLE_NAME
           
static String PROP_SOURCE_FK
           
static String PROP_SRC_COLUMN_NAMES
           
 
Fields inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationship
PROP_CREATE_FOREIGN_KEY, PROP_DEST_FIELD, PROP_REL_TYPE, 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
 DFNewTypeWellKnownOptions.NewRelationshipFK getDestFK()
          Returns specification of destination ForeignKey.
 List<String> getDstColumnNames()
           
 SchemaQualifiedName getJoinTableName()
           
 DFNewTypeWellKnownOptions.NewRelationshipFK getSourceFK()
          Returns specification of source ForeignKey.
 List<String> getSrcColumnNames()
           
 void setDstColumnNames(List<String> dstColumnNames)
          Sets names for columns that represent FK into the destination table
 void setJoinTableName(SchemaQualifiedName joinTableName)
          Sets the join table name
 void setSrcColumnNames(List<String> srcColumnNames)
          Sets names for columns that represent FK into the source table
 
Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationship
getDstField, getRelType, getSrcField, isCreateConstraints, setCreateConstraints, setDstField, setRelType, setSrcField
 
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_JOIN_TABLE_NAME

static final String PROP_JOIN_TABLE_NAME
See Also:
Constant Field Values

PROP_SRC_COLUMN_NAMES

static final String PROP_SRC_COLUMN_NAMES
See Also:
Constant Field Values

PROP_DEST_COLUMN_NAMES

static final String PROP_DEST_COLUMN_NAMES
See Also:
Constant Field Values

PROP_SOURCE_FK

static final String PROP_SOURCE_FK
See Also:
Constant Field Values

PROP_DEST_FK

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

getSourceFK

DFNewTypeWellKnownOptions.NewRelationshipFK getSourceFK()
Returns specification of source ForeignKey. May return null, if the createConstraints is false.


getDestFK

DFNewTypeWellKnownOptions.NewRelationshipFK getDestFK()
Returns specification of destination ForeignKey. May return null, if the createConstraints is false.


getJoinTableName

SchemaQualifiedName getJoinTableName()

setJoinTableName

void setJoinTableName(SchemaQualifiedName joinTableName)
Sets the join table name


getSrcColumnNames

List<String> getSrcColumnNames()

setSrcColumnNames

void setSrcColumnNames(List<String> srcColumnNames)
Sets names for columns that represent FK into the source table


getDstColumnNames

List<String> getDstColumnNames()

setDstColumnNames

void setDstColumnNames(List<String> dstColumnNames)
Sets names for columns that represent FK into the destination table


com.im.df.api 5.9