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 TypeMethodDescriptionbooleanMethods inherited from interface ch.tocco.nice2.dbrefactoring.api.model.ModelElementNode
getParentMethods 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.ForeignKeyor aConstraintInfo.JoinTablewith its twoConstraintInfo.ForeignKeys.
-
isRemoved
boolean isRemoved()
-