org.apache.ojb.broker.accesslayer.sql
Class SqlCacheKey

java.lang.Object
  extended byorg.apache.ojb.broker.accesslayer.sql.SqlCacheKey

class SqlCacheKey
extends java.lang.Object

Helper key class to store generated sql statements

Version:
$Id: SqlCacheKey.java,v 1.5 2002/12/24 12:57:51 arminw Exp $
Author:
Matthew Baird

Field Summary
static int TYPE_DELETE
           
static int TYPE_INSERT
           
static int TYPE_SELECT
           
static int TYPE_UPDATE
           
 
Constructor Summary
SqlCacheKey(Query query, ClassDescriptor cld, int type)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 ClassDescriptor getCld()
           
 Query getQuery()
           
 int getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_SELECT

public static final int TYPE_SELECT
See Also:
Constant Field Values

TYPE_INSERT

public static final int TYPE_INSERT
See Also:
Constant Field Values

TYPE_UPDATE

public static final int TYPE_UPDATE
See Also:
Constant Field Values

TYPE_DELETE

public static final int TYPE_DELETE
See Also:
Constant Field Values
Constructor Detail

SqlCacheKey

public SqlCacheKey(Query query,
                   ClassDescriptor cld,
                   int type)
Method Detail

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object other)

getQuery

public Query getQuery()

getCld

public ClassDescriptor getCld()

getType

public int getType()


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14