Package com.wisecoders.dbs.diagram.model
Class Line
java.lang.Object
com.wisecoders.dbs.diagram.model.AbstractUnit
com.wisecoders.dbs.diagram.model.Line
- All Implemented Interfaces:
Relation<Shape>
,TreeUnit
,Unit
,Comparable<AbstractUnit>
-
Field Summary
FieldsFields inherited from interface com.wisecoders.dbs.diagram.model.Relation
MANY_TO_MANY, SOURCE_MANDATORY, TARGET_MANDATORY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColumnAt
(int index, boolean atSource) int
com.wisecoders.dbs.sys.fx.glyph.Glyph
boolean
hasFlag
(int flag) boolean
boolean
void
refresh()
void
resetFlag
(int flag) void
setFlag
(int flag) void
setTargetShape
(Shape shape) Methods inherited from class com.wisecoders.dbs.diagram.model.AbstractUnit
compareTo, fixNull, getByName, getByName, getChildAt, getChildrenCount, getComment, getCommentNotNull, getCommentTag, getCommentTags, getDefaultKey, getDisplayName, getKey, getName, getParentEntity, getPlainName, getPropertyAddOnFolder, getString, getSyncFolders, getTickId, getTouchId, getUnitProperty, has, is, is, isMarkedForDeletion, isVirtual, markForDeletion, matches, ref, removeUnitProperty, rename, sameAs, sameAs, setComment, setCommentTag, setCommentTags, setTouchId, setUnitProperty, setVirtual, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.wisecoders.dbs.diagram.model.Unit
getComment, getCommentTag, getCommentTags, getDisplayName, getParentEntity, is, isMarkedForDeletion, markForDeletion, ref, setComment, setCommentTag, setCommentTags
-
Field Details
-
shape
-
-
Constructor Details
-
Line
-
-
Method Details
-
refresh
public void refresh()- Specified by:
refresh
in classAbstractUnit
-
getParent
- Specified by:
getParent
in interfaceTreeUnit
- Specified by:
getParent
in classAbstractUnit
-
getSymbolicName
- Specified by:
getSymbolicName
in interfaceUnit
- Specified by:
getSymbolicName
in classAbstractUnit
-
getSymbolicIcon
- Specified by:
getSymbolicIcon
in classAbstractUnit
-
getSymbolicGlyph
public com.wisecoders.dbs.sys.fx.glyph.Glyph getSymbolicGlyph()- Specified by:
getSymbolicGlyph
in classAbstractUnit
-
getEntity
-
setTargetShape
-
getTargetEntity
- Specified by:
getTargetEntity
in interfaceRelation<Shape>
-
getSourceAttributes
- Specified by:
getSourceAttributes
in interfaceRelation<Shape>
-
getTargetAttributes
- Specified by:
getTargetAttributes
in interfaceRelation<Shape>
-
getColumnAt
- Specified by:
getColumnAt
in interfaceRelation<Shape>
-
getColumnsName
- Specified by:
getColumnsName
in interfaceRelation<Shape>
-
getCascadeText
- Specified by:
getCascadeText
in interfaceRelation<Shape>
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCount
in interfaceRelation<Shape>
-
isAutoReference
public boolean isAutoReference()- Specified by:
isAutoReference
in interfaceRelation<Shape>
-
getLastSourceAttribute
- Specified by:
getLastSourceAttribute
in interfaceRelation<Shape>
-
getLastTargetAttribute
- Specified by:
getLastTargetAttribute
in interfaceRelation<Shape>
-
setFlag
public void setFlag(int flag) -
resetFlag
public void resetFlag(int flag) -
hasFlag
public boolean hasFlag(int flag) -
getRelationType
- Specified by:
getRelationType
in interfaceRelation<Shape>
-
getRelationCardinality
- Specified by:
getRelationCardinality
in interfaceRelation<Shape>
-
isDeduced
public boolean isDeduced()
-