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 ModelElementNode
ModelElementNode.Entity, ModelElementNode.Relation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendChildren(DataModelSupport dataModelSupport, IteratorFactory iteratorFactory) booleantoString()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
-
EntityNodeImpl
-
-
Method Details
-
getEntityModel
- Specified by:
getEntityModelin interfaceModelElementNode.Entity- Returns:
- the entity model this node represents
-
getChildren
- Specified by:
getChildrenin interfaceModelElementNode.Entity- Specified by:
getChildrenin interfaceTreeNode- Overrides:
getChildrenin classAbstractTreeNode- Returns:
- all column (fields an 1:n relations) of this entity
-
getOriginatingModule
- Specified by:
getOriginatingModulein interfaceModelElementNode.Entity- Returns:
- the module name that originally defined this entity in the first place
-
isExtended
public boolean isExtended()- Specified by:
isExtendedin interfaceModelElementNode.Entity- Returns:
- whether this entity is extending an existing entity from another module
-
getShortDescription
- Specified by:
getShortDescriptionin interfaceTreeNode
-
appendChildren
-
toString
-