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 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 ModelElementNodeImpl
getModel, getParentMethods inherited from class AbstractTreeNode
getName, getParentNode, visitChildren, visitChildren, visitParents, visitParentsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ModelElementNode
getParentMethods inherited from interface 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
-