uk.co.agena.minerva.model.querymodel
Class QueryObjectNode
java.lang.Object
uk.co.agena.minerva.model.querymodel.QueryObjectNode
public class QueryObjectNode
- extends java.lang.Object
Keeps track of objects created by queries. A Structured query
can have many child queries, each of which was created by a
different set of parameters from its parents queries. Each set
of results from each child query, must create new objects only
under the precise node corredponding to its parameters. This
Object Tree allows that object to be found.
The top level node in the tree does not usually correspond
to a real object, it is simply a holder for the root of the
object type tree.
- Author:
- hearty
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryObjectNode
public QueryObjectNode(StructureElement structureElement,
java.lang.String name,
java.lang.Object[] queryParameters,
QueryObjectNode parent)
getMdi
public uk.co.agena.minerva.model.metadata.MetaDataItem getMdi()
setMdi
public void setMdi(uk.co.agena.minerva.model.metadata.MetaDataItem mdi)
getChildren
public java.util.List getChildren()
getDisplayNode
public uk.co.agena.minerva.guicomponents.tree.FamilyTreeNode getDisplayNode()
setDisplayNode
public void setDisplayNode(uk.co.agena.minerva.guicomponents.tree.FamilyTreeNode displayNode)
getObjectName
public java.lang.String getObjectName()
setObjectName
public void setObjectName(java.lang.String metaDataItem)
getParent
public QueryObjectNode getParent()
setParent
public void setParent(QueryObjectNode parent)
getQueryParameters
public java.lang.Object[] getQueryParameters()
setQueryParameters
public void setQueryParameters(java.lang.Object[] queryParameters)
getStructureElement
public StructureElement getStructureElement()
setStructureElement
public void setStructureElement(StructureElement structureElement)
getBnToEvidenceMapping
public java.util.HashMap getBnToEvidenceMapping()
addChild
public void addChild(QueryObjectNode child)
pathToRoot
public java.lang.Object[] pathToRoot()
- Returns the object path between this node and the root node.
The node's parent is first and its oldest ancestor is last.
The path includes this object but not the root.
Copyright © 2006 Agena Ltd. All Rights Reserved.