test.ojb.broker
Class ArticlePrimaryKey

java.lang.Object
  |
  +--test.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.

Overrides:
equals in class java.lang.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.

Overrides:
hashCode in class java.lang.Object


Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04