Class RequestIdentifier

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

public class RequestIdentifier extends Object
Representation of a request id.
  • Field Details

    • table

      private final DatastoreClass table
    • memberNumbers

      private final int[] memberNumbers
    • secondaryMemberNumbers

      private final int[] secondaryMemberNumbers
    • type

      private final RequestType type
    • hashCode

      private final int hashCode
    • className

      private final String className
  • Constructor Details

    • RequestIdentifier

      public RequestIdentifier(DatastoreClass table, org.datanucleus.metadata.AbstractMemberMetaData[] mmds, RequestType type, 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
    • RequestIdentifier

      public RequestIdentifier(DatastoreClass table, org.datanucleus.metadata.AbstractMemberMetaData[] mmds, org.datanucleus.metadata.AbstractMemberMetaData[] secondaryMmds, RequestType type, String className)
      Constructor.
      Parameters:
      table - Datastore class for which this is a request
      mmds - MetaData of members to use in the request (if required)
      secondaryMmds - MetaData of secondary members to use the in the request
      type - The type being represented
      className - The name of the class
  • Method Details

    • getTable

      public 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 Object
      Returns:
      The hashcode
    • equals

      public boolean equals(Object o)
      Equality operator
      Overrides:
      equals in class Object
      Parameters:
      o - Object to compare with
      Returns:
      Whether the objects are equal