org.apache.lokahi.core.api.state
Class StateModel

java.lang.Object
  extended by org.apache.lokahi.core.common.interfaces.LokahiModel<State>
      extended by org.apache.lokahi.core.api.state.StateModel

public class StateModel
extends LokahiModel<State>

Version:
$Id: StateModel.java,v 1.1 2006/03/06 22:31:48 drtobes Exp $
Author:
Stephen Toback

Field Summary
 
Fields inherited from class org.apache.lokahi.core.common.interfaces.LokahiModel
jp, tpe
 
Constructor Summary
StateModel()
           
 
Method Summary
 State getObject(int id)
           
 java.util.Collection<State> getObjects()
           
 State viewState(int id)
           
 java.util.Collection<State> viewStates()
           
 
Methods inherited from class org.apache.lokahi.core.common.interfaces.LokahiModel
jpInit, jpInit, jpInit, jpInit, perform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateModel

public StateModel()
Method Detail

viewState

public State viewState(int id)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

viewStates

public java.util.Collection<State> viewStates()
                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getObjects

public java.util.Collection<State> getObjects()
                                       throws java.sql.SQLException
Specified by:
getObjects in class LokahiModel<State>
Throws:
java.sql.SQLException

getObject

public State getObject(int id)
                throws java.sql.SQLException
Specified by:
getObject in class LokahiModel<State>
Throws:
java.sql.SQLException