uk.co.kimble.cobra
Class SQLSelectStatement

java.lang.Object
  |
  +--uk.co.kimble.cobra.SQLStatement
        |
        +--uk.co.kimble.cobra.SQLSelectStatement

public class SQLSelectStatement
extends SQLStatement

Builds SQL Select Statements for an object


Fields inherited from class uk.co.kimble.cobra.SQLStatement
class_dictionary, sql
 
Constructor Summary
SQLSelectStatement(uk.co.kimble.cobra.ClassDictionary cd)
          Build a Select statement to retrieve a single instance of the object based on the primary keys
 
Method Summary
 java.lang.String buildForObject()
           
 
Methods inherited from class uk.co.kimble.cobra.SQLStatement
asSQLClause, asSQLStatement, buildForCriteria, getClassDictionary, setKeyValues, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLSelectStatement

public SQLSelectStatement(uk.co.kimble.cobra.ClassDictionary cd)
                   throws PersistentException
Build a Select statement to retrieve a single instance of the object based on the primary keys
Parameters:
cd - - Class Dictionary instance
Throws:
PersistentException -  
Method Detail

buildForObject

public java.lang.String buildForObject()
                                throws PersistentException
Overrides:
buildForObject in class SQLStatement