ca.sqlpower.wabit.rs.query
Class WabitTableContainer

java.lang.Object
  extended by ca.sqlpower.object.AbstractSPObject
      extended by ca.sqlpower.wabit.AbstractWabitObject
          extended by ca.sqlpower.wabit.rs.query.WabitContainer<WabitColumnItem>
              extended by ca.sqlpower.wabit.rs.query.WabitTableContainer
All Implemented Interfaces:
ca.sqlpower.object.SPObject, WabitObject

public class WabitTableContainer
extends WabitContainer<WabitColumnItem>

This class distinguishes a WabitContainer as more specifically containing a TableContainer.


Field Summary
 
Fields inherited from class ca.sqlpower.wabit.rs.query.WabitContainer
children
 
Fields inherited from class ca.sqlpower.object.AbstractSPObject
uuid
 
Constructor Summary
WabitTableContainer(ca.sqlpower.query.Container delegate)
           
WabitTableContainer(ca.sqlpower.query.Container delegate, boolean createItemWrappers)
           
 
Method Summary
protected  void addChildImpl(ca.sqlpower.object.SPObject child, int index)
           
protected  WabitColumnItem createWabitItemChild(ca.sqlpower.query.Item item)
          Creates a child of the type this class contains
 java.util.List<java.lang.Class<? extends ca.sqlpower.object.SPObject>> getAllowedChildTypes()
           
protected  java.lang.Class<WabitColumnItem> getChildClass()
          Returns the class type of the children this container contains.
protected  boolean removeChildImpl(ca.sqlpower.object.SPObject child)
           
 
Methods inherited from class ca.sqlpower.wabit.rs.query.WabitContainer
allowsChildren, childPositionOffset, cleanup, getAlias, getChildren, getDelegate, getDependencies, getPosition, removeDependency, setAlias, setPosition
 
Methods inherited from class ca.sqlpower.wabit.AbstractWabitObject
commit, equals, generateNewUUID, getParent, getSession, isForegroundThread, removeChild, rollback, runInBackground, runInForeground, toString
 
Methods inherited from class ca.sqlpower.object.AbstractSPObject
addChild, addSPListener, begin, fireChildAdded, fireChildRemoved, firePropertyChange, firePropertyChange, firePropertyChange, fireTransactionEnded, fireTransactionRollback, fireTransactionStarted, getChildren, getName, getUUID, removeSPListener, setName, setParent, setUUID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ca.sqlpower.object.SPObject
addChild, addSPListener, begin, getChildren, getName, getUUID, removeSPListener, setName, setParent, setUUID
 

Constructor Detail

WabitTableContainer

public WabitTableContainer(ca.sqlpower.query.Container delegate)

WabitTableContainer

public WabitTableContainer(ca.sqlpower.query.Container delegate,
                           boolean createItemWrappers)
Method Detail

createWabitItemChild

protected WabitColumnItem createWabitItemChild(ca.sqlpower.query.Item item)
Description copied from class: WabitContainer
Creates a child of the type this class contains

Specified by:
createWabitItemChild in class WabitContainer<WabitColumnItem>
Parameters:
item - The item to wrap in a WabitItem.
Returns:
A new WabitItem that is the correct sub-type for this class.

getChildClass

protected java.lang.Class<WabitColumnItem> getChildClass()
Description copied from class: WabitContainer
Returns the class type of the children this container contains.

Specified by:
getChildClass in class WabitContainer<WabitColumnItem>

addChildImpl

protected void addChildImpl(ca.sqlpower.object.SPObject child,
                            int index)
Overrides:
addChildImpl in class WabitContainer<WabitColumnItem>

removeChildImpl

protected boolean removeChildImpl(ca.sqlpower.object.SPObject child)
Overrides:
removeChildImpl in class WabitContainer<WabitColumnItem>

getAllowedChildTypes

public java.util.List<java.lang.Class<? extends ca.sqlpower.object.SPObject>> getAllowedChildTypes()


Copyright © 2009. All Rights Reserved.