public class SimpleClassificationNode extends SimpleNode implements org.azyva.dragom.model.ClassificationNode, org.azyva.dragom.model.MutableClassificationNode
ClassificationNode and
MutableClassificationNode.SimpleNode.StateindMutable, state| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanCaches(boolean indDelete)
Called when underlying
MutableConfig data have changed so that any
cache that could contain instantiated objects whose states are dependent on
this data is cleared. |
org.azyva.dragom.model.MutableClassificationNode |
createChildMutableClassificationNode() |
org.azyva.dragom.model.MutableModule |
createChildMutableModule() |
List<org.azyva.dragom.model.Node> |
getListChildNode()
Returns a List of all the child
Node's. |
org.azyva.dragom.model.Node |
getNodeChild(String name)
Returns a child
Node. |
org.azyva.dragom.model.config.NodeType |
getNodeType()
Returns
NodeType.CLASSIFICATION. |
void |
setNodeConfigTransferObject(org.azyva.dragom.model.config.NodeConfigTransferObject nodeConfigTransferObject,
org.azyva.dragom.model.config.OptimisticLockHandle optimisticLockHandle) |
boolean |
traverseNodeHierarchyDepthFirst(org.azyva.dragom.model.config.NodeType nodeTypeFilter,
org.azyva.dragom.model.NodeVisitor nodeVisitor) |
checkMutable, checkNotDeleted, createOptimisticLockHandle, delete, extractNodeConfigTransferObject, getClassificationNodeParent, getListPluginId, getModel, getName, getNodeConfig, getNodeConfigTransferObject, getNodePath, getNodePlugin, getProperty, isCreatedDynamically, isDeleted, isNew, isNodePluginExists, isOptimisticLockValid, raiseNodeEvent, registerListener, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic org.azyva.dragom.model.config.NodeType getNodeType()
NodeType.CLASSIFICATION.getNodeType in interface org.azyva.dragom.model.Nodepublic List<org.azyva.dragom.model.Node> getListChildNode()
Node's.
The order of the child SimpleNode's is as defined by the underlying
ClassificationNodeConfig, with child SimpleNodes inserted at runtime by
addNodeChild(org.azyva.dragom.model.impl.simple.SimpleNode) are included at the end of the List.
getListChildNode in interface org.azyva.dragom.model.ClassificationNodepublic org.azyva.dragom.model.Node getNodeChild(String name)
Node.getNodeChild in interface org.azyva.dragom.model.ClassificationNodename - Name of the child Node.public boolean traverseNodeHierarchyDepthFirst(org.azyva.dragom.model.config.NodeType nodeTypeFilter,
org.azyva.dragom.model.NodeVisitor nodeVisitor)
traverseNodeHierarchyDepthFirst in interface org.azyva.dragom.model.ClassificationNodepublic void setNodeConfigTransferObject(org.azyva.dragom.model.config.NodeConfigTransferObject nodeConfigTransferObject,
org.azyva.dragom.model.config.OptimisticLockHandle optimisticLockHandle)
throws org.azyva.dragom.model.config.OptimisticLockException,
org.azyva.dragom.model.config.DuplicateNodeException
setNodeConfigTransferObject in interface org.azyva.dragom.model.MutableNodeorg.azyva.dragom.model.config.OptimisticLockExceptionorg.azyva.dragom.model.config.DuplicateNodeExceptionpublic org.azyva.dragom.model.MutableClassificationNode createChildMutableClassificationNode()
createChildMutableClassificationNode in interface org.azyva.dragom.model.MutableClassificationNodepublic org.azyva.dragom.model.MutableModule createChildMutableModule()
createChildMutableModule in interface org.azyva.dragom.model.MutableClassificationNodeprotected void cleanCaches(boolean indDelete)
SimpleNodeMutableConfig data have changed so that any
cache that could contain instantiated objects whose states are dependent on
this data is cleared. The current SimpleNode and its children are
traversed and the same method is called on all of them because of the
inheritance mechanisms implemented in Dragom.
Subclasses that manage such caches must override which method to add the appropriate behavior.
cleanCaches in class SimpleNodeindDelete - Indicates to perform a full clean and put the MutableNode in
the State.DELETED to make it unusable.Copyright © 2015–2016 AZYVA INC.. All rights reserved.