ca.sqlpower.wabit.rs.query
Class WabitConstantsContainer

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

public class WabitConstantsContainer
extends WabitContainer<WabitConstantItem>

This class represents a specific implementation of WabitContainer that wraps the constants container in a Query.


Field Summary
 
Fields inherited from class ca.sqlpower.wabit.rs.query.WabitContainer
children
 
Fields inherited from class ca.sqlpower.object.AbstractSPObject
uuid
 
Constructor Summary
WabitConstantsContainer(ca.sqlpower.query.Container delegate)
           
WabitConstantsContainer(ca.sqlpower.query.Container delegate, boolean createItemWrappers)
           
 
Method Summary
protected  WabitConstantItem 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<WabitConstantItem> getChildClass()
          Returns the class type of the children this container contains.
 
Methods inherited from class ca.sqlpower.wabit.rs.query.WabitContainer
addChildImpl, allowsChildren, childPositionOffset, cleanup, getAlias, getChildren, getDelegate, getDependencies, getPosition, removeChildImpl, 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

WabitConstantsContainer

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

WabitConstantsContainer

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

createWabitItemChild

protected WabitConstantItem 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<WabitConstantItem>
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<WabitConstantItem> getChildClass()
Description copied from class: WabitContainer
Returns the class type of the children this container contains.

Specified by:
getChildClass in class WabitContainer<WabitConstantItem>

getAllowedChildTypes

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


Copyright © 2009. All Rights Reserved.