ca.sqlpower.wabit
Class WabitConstantsContainer

java.lang.Object
  extended by ca.sqlpower.wabit.AbstractWabitObject
      extended by ca.sqlpower.wabit.WabitContainer<WabitConstantItem>
          extended by ca.sqlpower.wabit.WabitConstantsContainer
All Implemented Interfaces:
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.WabitContainer
children
 
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
protected  java.lang.Class<WabitConstantItem> getChildClass()
          Returns the class type of the children this container contains.
 
Methods inherited from class ca.sqlpower.wabit.WabitContainer
addChildImpl, allowsChildren, childPositionOffset, cleanup, getAlias, getChildren, getDelegate, getDependencies, getPosition, removeChildImpl, removeDependency, setAlias, setPosition
 
Methods inherited from class ca.sqlpower.wabit.AbstractWabitObject
addChild, addWabitListener, begin, beginTransaction, commit, commitTransaction, equals, fireChildAdded, fireChildRemoved, firePropertyChange, firePropertyChange, firePropertyChange, fireTransactionEnded, fireTransactionRollback, fireTransactionStarted, generateNewUUID, getChildren, getName, getParent, getSession, getUUID, isForegroundThread, removeChild, removeWabitListener, rollback, rollbackTransaction, runInBackground, runInForeground, setName, setParent, setUUID, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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>


Copyright © 2009. All Rights Reserved.