org.teiid.query.sql.lang
Class GroupContext

java.lang.Object
  extended by org.teiid.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<GroupSymbol> groups)
           
 
Method Summary
 void addGroup(GroupSymbol symbol)
           
 java.lang.Object clone()
           
 java.util.List<GroupSymbol> getAllGroups()
          Flattens all contexts to a single list
 java.util.Collection<GroupSymbol> 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<GroupSymbol> groups)
Method Detail

getGroups

public java.util.Collection<GroupSymbol> getGroups()

addGroup

public void addGroup(GroupSymbol symbol)

getParent

public GroupContext getParent()

getAllGroups

public java.util.List<GroupSymbol> 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 © 2010. All Rights Reserved.