org.apache.ojb.broker
Class ArticlePrimaryKey

java.lang.Object
  extended byorg.apache.ojb.broker.ArticlePrimaryKey
All Implemented Interfaces:
java.io.Serializable

public class ArticlePrimaryKey
extends java.lang.Object
implements java.io.Serializable

This is a Primary Key Class for Article class

See Also:
Serialized Form

Field Summary
(package private)  int id
           
 
Constructor Summary
ArticlePrimaryKey(Identity oid)
          PlzEntryBmpKey(String key) constructor
ArticlePrimaryKey(int key)
          PlzEntryBmpKey(String key) constructor
 
Method Summary
 boolean equals(java.lang.Object o)
          equals method - user must provide a proper implementation for the equal method.
 int hashCode()
          hashcode method - user must provide a proper implementation for the hashCode method.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

int id
Constructor Detail

ArticlePrimaryKey

public ArticlePrimaryKey(int key)
PlzEntryBmpKey(String key) constructor


ArticlePrimaryKey

public ArticlePrimaryKey(Identity oid)
PlzEntryBmpKey(String key) constructor

Method Detail

equals

public boolean equals(java.lang.Object o)
equals method - user must provide a proper implementation for the equal method. The generated method assumes the key is a String object.


hashCode

public int hashCode()
hashcode method - user must provide a proper implementation for the hashCode method. The generated method assumes the key is a String object.



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