Class EntityNodeImpl
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.model.AbstractTreeNode
ch.tocco.nice2.dbrefactoring.impl.model.ModelElementNodeImpl
ch.tocco.nice2.dbrefactoring.impl.model.EntityNodeImpl
- All Implemented Interfaces:
ModelElementNode
,ModelElementNode.Entity
,TreeNode
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.dbrefactoring.api.model.ModelElementNode
ModelElementNode.Entity, ModelElementNode.Relation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendChildren
(DataModelSupport dataModelSupport, IteratorFactory iteratorFactory) boolean
toString()
Methods inherited from class ch.tocco.nice2.dbrefactoring.impl.model.ModelElementNodeImpl
getModel, getParent
Methods inherited from class ch.tocco.nice2.dbrefactoring.impl.model.AbstractTreeNode
getName, getParentNode, visitChildren, visitChildren, visitParents, visitParents
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.dbrefactoring.api.model.ModelElementNode
getParent
Methods inherited from interface ch.tocco.nice2.dbrefactoring.api.model.TreeNode
getName, getParentNode, visitChildren, visitChildren, visitParents, visitParents
-
Constructor Details
-
EntityNodeImpl
-
-
Method Details
-
getEntityModel
- Specified by:
getEntityModel
in interfaceModelElementNode.Entity
- Returns:
- the entity model this node represents
-
getChildren
- Specified by:
getChildren
in interfaceModelElementNode.Entity
- Specified by:
getChildren
in interfaceTreeNode
- Overrides:
getChildren
in classAbstractTreeNode
- Returns:
- all column (fields an 1:n relations) of this entity
-
getOriginatingModule
- Specified by:
getOriginatingModule
in interfaceModelElementNode.Entity
- Returns:
- the module name that originally defined this entity in the first place
-
isExtended
public boolean isExtended()- Specified by:
isExtended
in interfaceModelElementNode.Entity
- Returns:
- whether this entity is extending an existing entity from another module
-
getShortDescription
- Specified by:
getShortDescription
in interfaceTreeNode
-
appendChildren
-
toString
-