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
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
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()