com.triactive.jdo.store
Class MapMapping

java.lang.Object
  extended bycom.triactive.jdo.store.Mapping
      extended bycom.triactive.jdo.store.MapMapping
All Implemented Interfaces:
MappingCallbacks

public class MapMapping
extends Mapping
implements MappingCallbacks


Field Summary
 
Fields inherited from class com.triactive.jdo.store.Mapping
dba, type
 
Constructor Summary
MapMapping(ClassBaseTable table, int relativeFieldNumber)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Column getColumn()
           
 MapStore getMapStore()
           
 java.lang.String getSQLInsertionValue()
           
 java.lang.String getSQLUpdateValue()
           
 int hashCode()
           
 boolean includeInSQLFetchStatement()
           
 SQLExpression newSQLExpression(QueryStatement qs, QueryStatement.QueryColumn qsc, java.lang.String fieldName)
           
 SQLExpression newSQLExpression(QueryStatement qs, TableExpression te, java.lang.String fieldName)
           
 SQLExpression newSQLLiteral(QueryStatement qs, java.lang.Object value)
           
 void postFetch(StateManager sm)
           
 void postInsert(StateManager sm)
           
 void postUpdate(StateManager sm)
           
 void preDelete(StateManager sm)
           
 
Methods inherited from class com.triactive.jdo.store.Mapping
failureMessage, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getObject, getShort, getString, getType, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setShort, setString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapMapping

public MapMapping(ClassBaseTable table,
                  int relativeFieldNumber)
Method Detail

getMapStore

public MapStore getMapStore()

getColumn

public Column getColumn()
Specified by:
getColumn in class Mapping

getSQLInsertionValue

public java.lang.String getSQLInsertionValue()
Specified by:
getSQLInsertionValue in class Mapping

includeInSQLFetchStatement

public boolean includeInSQLFetchStatement()
Specified by:
includeInSQLFetchStatement in class Mapping

getSQLUpdateValue

public java.lang.String getSQLUpdateValue()
Specified by:
getSQLUpdateValue in class Mapping

postInsert

public void postInsert(StateManager sm)
Specified by:
postInsert in interface MappingCallbacks

postFetch

public void postFetch(StateManager sm)
Specified by:
postFetch in interface MappingCallbacks

postUpdate

public void postUpdate(StateManager sm)
Specified by:
postUpdate in interface MappingCallbacks

preDelete

public void preDelete(StateManager sm)
Specified by:
preDelete in interface MappingCallbacks

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()

newSQLLiteral

public SQLExpression newSQLLiteral(QueryStatement qs,
                                   java.lang.Object value)
Specified by:
newSQLLiteral in class Mapping

newSQLExpression

public SQLExpression newSQLExpression(QueryStatement qs,
                                      QueryStatement.QueryColumn qsc,
                                      java.lang.String fieldName)
Specified by:
newSQLExpression in class Mapping

newSQLExpression

public SQLExpression newSQLExpression(QueryStatement qs,
                                      TableExpression te,
                                      java.lang.String fieldName)
Specified by:
newSQLExpression in class Mapping


Copyright ? 2001 TriActive, Inc. All Rights Reserved.