Class RelationNodeImpl
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.model.AbstractTreeNode
ch.tocco.nice2.dbrefactoring.impl.model.ModelElementNodeImpl
ch.tocco.nice2.dbrefactoring.impl.model.RelationNodeImpl
- All Implemented Interfaces:
ModelElementNode,ModelElementNode.Relation,TreeNode
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.dbrefactoring.api.model.ModelElementNode
ModelElementNode.Entity, ModelElementNode.Relation -
Constructor Summary
ConstructorsConstructorDescriptionRelationNodeImpl(DatabaseTypeMap typeMap, ModuleNodeImpl parent, RelationModel model) RelationNodeImpl(DatabaseTypeMap typeMap, ModuleNodeImpl parent, RelationModel model, boolean removed) -
Method Summary
Methods inherited from class ch.tocco.nice2.dbrefactoring.impl.model.ModelElementNodeImpl
getModel, getParentMethods inherited from class ch.tocco.nice2.dbrefactoring.impl.model.AbstractTreeNode
getName, getParentNode, visitChildren, visitChildren, visitParents, visitParentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.tocco.nice2.dbrefactoring.api.model.ModelElementNode
getParentMethods inherited from interface ch.tocco.nice2.dbrefactoring.api.model.TreeNode
getName, getParentNode, visitChildren, visitChildren, visitParents, visitParents
-
Constructor Details
-
RelationNodeImpl
public RelationNodeImpl(DatabaseTypeMap typeMap, ModuleNodeImpl parent, RelationModel model, boolean removed) -
RelationNodeImpl
-
-
Method Details
-
getRelationModel
- Specified by:
getRelationModelin interfaceModelElementNode.Relation- Returns:
- the relation model this node represents
-
getConstraintInfos
- Specified by:
getConstraintInfosin interfaceModelElementNode.Relation- Returns:
- all constraints this relation implies. these are either one
ConstraintInfo.ForeignKeyor aConstraintInfo.JoinTablewith its twoConstraintInfo.ForeignKeys.
-
isRemoved
public boolean isRemoved()- Specified by:
isRemovedin interfaceModelElementNode.Relation
-
getShortDescription
- Specified by:
getShortDescriptionin interfaceTreeNode
-
getChildren
- Specified by:
getChildrenin interfaceTreeNode- Overrides:
getChildrenin classAbstractTreeNode
-
toString
-