org.datanucleus.store.rdbms.request
Class RequestIdentifier

java.lang.Object
  extended by org.datanucleus.store.rdbms.request.RequestIdentifier

public class RequestIdentifier
extends java.lang.Object

Representation of a request id.


Constructor Summary
RequestIdentifier(org.datanucleus.store.mapped.DatastoreClass table, org.datanucleus.metadata.AbstractMemberMetaData[] mmds, RequestType type, java.lang.String className)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
          Equality operator
 org.datanucleus.store.mapped.DatastoreClass getTable()
          Accessor for the table of this request.
 int hashCode()
          Accessor for the hashcode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestIdentifier

public RequestIdentifier(org.datanucleus.store.mapped.DatastoreClass table,
                         org.datanucleus.metadata.AbstractMemberMetaData[] mmds,
                         RequestType type,
                         java.lang.String className)
Constructor.

Parameters:
table - Datastore class for which this is a request
mmds - MetaData of fields/properties to use in the request (if required)
type - The type being represented
className - The name of the class
Method Detail

getTable

public org.datanucleus.store.mapped.DatastoreClass getTable()
Accessor for the table of this request.

Returns:
Table used in the request

hashCode

public int hashCode()
Accessor for the hashcode

Overrides:
hashCode in class java.lang.Object
Returns:
The hashcode

equals

public boolean equals(java.lang.Object o)
Equality operator

Overrides:
equals in class java.lang.Object
Parameters:
o - Object to compare with
Returns:
Whether the objects are equal


Copyright © 2009. All Rights Reserved.