com.metamatrix.query.sql.lang
Class GroupContext

java.lang.Object
  extended by com.metamatrix.query.sql.lang.GroupContext
All Implemented Interfaces:
java.lang.Cloneable

public class GroupContext
extends java.lang.Object
implements java.lang.Cloneable

A GroupContext represents a set of groups in a hierarchy that determines resolving order.


Constructor Summary
GroupContext()
           
GroupContext(GroupContext parent, java.util.Collection groups)
           
 
Method Summary
 void addGroup(GroupSymbol symbol)
           
 java.lang.Object clone()
           
 java.util.List getAllGroups()
          Flattens all contexts to a single list
 java.util.Collection getGroups()
           
 GroupContext getParent()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupContext

public GroupContext()

GroupContext

public GroupContext(GroupContext parent,
                    java.util.Collection groups)
Method Detail

getGroups

public java.util.Collection getGroups()

addGroup

public void addGroup(GroupSymbol symbol)

getParent

public GroupContext getParent()

getAllGroups

public java.util.List getAllGroups()
Flattens all contexts to a single list

Returns:

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

toString

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


Copyright © 2009. All Rights Reserved.