Interface ModelElementNode.Relation
- All Superinterfaces:
ModelElementNode
,TreeNode
- All Known Implementing Classes:
RelationNodeImpl
- Enclosing interface:
ModelElementNode
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.dbrefactoring.api.model.ModelElementNode
ModelElementNode.Entity, ModelElementNode.Relation
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Methods inherited from interface ch.tocco.nice2.dbrefactoring.api.model.ModelElementNode
getParent
Methods inherited from interface ch.tocco.nice2.dbrefactoring.api.model.TreeNode
getChildren, getName, getParentNode, getShortDescription, visitChildren, visitChildren, visitParents, visitParents
-
Method Details
-
getRelationModel
RelationModel getRelationModel()- Returns:
- the relation model this node represents
-
getConstraintInfos
List<ConstraintInfo> getConstraintInfos()- Returns:
- all constraints this relation implies. these are either one
ConstraintInfo.ForeignKey
or aConstraintInfo.JoinTable
with its twoConstraintInfo.ForeignKey
s.
-
isRemoved
boolean isRemoved()
-