com.gomjabbar.querytree
Class AbstractQueryTreeAssociation

java.lang.Object
  |
  +--com.gomjabbar.querytree.AbstractQueryTreeAssociation
All Implemented Interfaces:
IQueryTreeAssociation
Direct Known Subclasses:
DefaultQueryTreeAssociation

public abstract class AbstractQueryTreeAssociation
extends java.lang.Object
implements IQueryTreeAssociation


Constructor Summary
AbstractQueryTreeAssociation(IQueryTree tree, IQueryTreeObject parent, java.lang.String str_type)
           
 
Method Summary
 void addChangeListener(IQueryTreeListener evt)
           
abstract  java.lang.String computeLabel()
           
abstract  IQueryTreeObject[] computeMembers()
           
 void destroy()
           
 void destroyChildren()
           
 java.lang.String getLabel()
           
 IQueryTreeObject[] getMembers()
           
 IQueryTreeObject getParent()
           
 IQueryTree getTree()
           
 java.lang.String getType()
           
 void tagChanged()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractQueryTreeAssociation

public AbstractQueryTreeAssociation(IQueryTree tree,
                                    IQueryTreeObject parent,
                                    java.lang.String str_type)
Method Detail

getType

public java.lang.String getType()
Specified by:
getType in interface IQueryTreeAssociation

getParent

public IQueryTreeObject getParent()
Specified by:
getParent in interface IQueryTreeAssociation

getTree

public IQueryTree getTree()

addChangeListener

public void addChangeListener(IQueryTreeListener evt)
Specified by:
addChangeListener in interface IQueryTreeAssociation

destroy

public void destroy()
Specified by:
destroy in interface IQueryTreeAssociation

tagChanged

public void tagChanged()
Specified by:
tagChanged in interface IQueryTreeAssociation

destroyChildren

public void destroyChildren()
Specified by:
destroyChildren in interface IQueryTreeAssociation

getMembers

public IQueryTreeObject[] getMembers()
Specified by:
getMembers in interface IQueryTreeAssociation

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface IQueryTreeAssociation

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

computeMembers

public abstract IQueryTreeObject[] computeMembers()

computeLabel

public abstract java.lang.String computeLabel()