Package 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
Fields Modifier and Type Field Description static java.lang.String
PROP_DEST_COLUMN_NAMES
static java.lang.String
PROP_DEST_FK
static java.lang.String
PROP_JOIN_TABLE_NAME
static java.lang.String
PROP_SOURCE_FK
static java.lang.String
PROP_SRC_COLUMN_NAMES
-
Fields inherited from interface com.im.df.api.support.DFNewTypeOptions
PROP_ERROR_MESSAGE, PROP_VALID
-
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DFNewTypeWellKnownOptions.NewRelationshipFK
getDestFK()
Returns specification of destination ForeignKey.java.util.List<java.lang.String>
getDstColumnNames()
com.im.commons.db.util.SchemaQualifiedName
getJoinTableName()
DFNewTypeWellKnownOptions.NewRelationshipFK
getSourceFK()
Returns specification of source ForeignKey.java.util.List<java.lang.String>
getSrcColumnNames()
void
setDstColumnNames(java.util.List<java.lang.String> dstColumnNames)
Sets names for columns that represent FK into the destination tablevoid
setJoinTableName(com.im.commons.db.util.SchemaQualifiedName joinTableName)
Sets the join table namevoid
setSrcColumnNames(java.util.List<java.lang.String> srcColumnNames)
Sets names for columns that represent FK into the source table-
Methods inherited from interface com.im.df.api.support.DFNewTypeOptions
addPropertyChangeListener, getErrorMessage, isValid, removePropertyChangeListener
-
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
-
-
-
-
Field Detail
-
PROP_JOIN_TABLE_NAME
static final java.lang.String PROP_JOIN_TABLE_NAME
- See Also:
- Constant Field Values
-
PROP_SRC_COLUMN_NAMES
static final java.lang.String PROP_SRC_COLUMN_NAMES
- See Also:
- Constant Field Values
-
PROP_DEST_COLUMN_NAMES
static final java.lang.String PROP_DEST_COLUMN_NAMES
- See Also:
- Constant Field Values
-
PROP_SOURCE_FK
static final java.lang.String PROP_SOURCE_FK
- See Also:
- Constant Field Values
-
PROP_DEST_FK
static final java.lang.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
com.im.commons.db.util.SchemaQualifiedName getJoinTableName()
-
setJoinTableName
void setJoinTableName(com.im.commons.db.util.SchemaQualifiedName joinTableName)
Sets the join table name
-
getSrcColumnNames
java.util.List<java.lang.String> getSrcColumnNames()
-
setSrcColumnNames
void setSrcColumnNames(java.util.List<java.lang.String> srcColumnNames)
Sets names for columns that represent FK into the source table
-
getDstColumnNames
java.util.List<java.lang.String> getDstColumnNames()
-
setDstColumnNames
void setDstColumnNames(java.util.List<java.lang.String> dstColumnNames)
Sets names for columns that represent FK into the destination table
-
-