Package com.wisecoders.dbs.diagram.model
Interface Relation<T extends Entity>
- All Superinterfaces:
Unit
- All Known Implementing Classes:
ChildEntityRelation
,ForeignKey
,ForeignKeyCollector.InternalFk
,Line
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptiongetColumnAt
(int index, boolean atSource) int
getName()
boolean
hasFlag
(int flag) boolean
boolean
boolean
void
resetFlag
(int flag) void
setFlag
(int flag) Methods inherited from interface com.wisecoders.dbs.diagram.model.Unit
getComment, getCommentTag, getCommentTags, getDisplayName, getParentEntity, getSymbolicName, is, isMarkedForDeletion, markForDeletion, ref, setComment, setCommentTag, setCommentTags
-
Field Details
-
SOURCE_MANDATORY
static final int SOURCE_MANDATORY- See Also:
-
TARGET_MANDATORY
static final int TARGET_MANDATORY- See Also:
-
MANY_TO_MANY
static final int MANY_TO_MANY- See Also:
-
-
Method Details
-
getName
String getName() -
getEntity
T getEntity() -
getTargetEntity
T getTargetEntity() -
getSourceAttributes
-
getTargetAttributes
-
getColumnAt
-
getColumnsName
String getColumnsName() -
getCascadeText
String getCascadeText() -
getColumnCount
int getColumnCount() -
isAutoReference
boolean isAutoReference() -
getLastSourceAttribute
Attribute getLastSourceAttribute() -
getLastTargetAttribute
Attribute getLastTargetAttribute() -
isVirtual
boolean isVirtual() -
isDeduced
boolean isDeduced() -
setFlag
void setFlag(int flag) -
resetFlag
void resetFlag(int flag) -
hasFlag
boolean hasFlag(int flag) -
getRelationType
RelationType getRelationType() -
getRelationCardinality
RelationCardinality getRelationCardinality()
-