com.redhat.persistence.pdl.adapters
Class IntegerAd

java.lang.Object
  extended bycom.redhat.persistence.metadata.Adapter
      extended bycom.redhat.persistence.pdl.adapters.SimpleAdapter
          extended bycom.redhat.persistence.pdl.adapters.IntegerAd

public class IntegerAd
extends com.redhat.persistence.pdl.adapters.SimpleAdapter

IntegerAd

Version:
$Revision: #6 $ $Date: 2004/04/07 $
Author:
Rafael H. Schloming <rhs@mit.edu>

Field Summary
static String versionId
           
 
Constructor Summary
IntegerAd()
           
 
Method Summary
 void bind(PreparedStatement ps, int index, Object obj, int type)
           
 int defaultJDBCType()
           
 Object fetch(ResultSet rs, String column)
           
 ObjectType getObjectType(Object obj)
           
 PropertyMap getProperties(Object obj)
           
 boolean isMutation(Object value, int jdbcType)
           
 
Methods inherited from class com.redhat.persistence.metadata.Adapter
getObject, getRoot, getSessionKey, getSessionKey, mutate, setSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

IntegerAd

public IntegerAd()
Method Detail

bind

public void bind(PreparedStatement ps,
                 int index,
                 Object obj,
                 int type)
          throws SQLException
Overrides:
bind in class Adapter
Throws:
SQLException

fetch

public Object fetch(ResultSet rs,
                    String column)
             throws SQLException
Overrides:
fetch in class Adapter
Throws:
SQLException

getProperties

public PropertyMap getProperties(Object obj)
Specified by:
getProperties in class Adapter

getObjectType

public ObjectType getObjectType(Object obj)
Specified by:
getObjectType in class Adapter

defaultJDBCType

public int defaultJDBCType()
Overrides:
defaultJDBCType in class Adapter

isMutation

public boolean isMutation(Object value,
                          int jdbcType)
Overrides:
isMutation in class Adapter


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC