BEA Systems, Inc.

com.beasys.commerce.portal
Interface KeyedObject

All Known Subinterfaces:
Portal, PortalCategory, Portlet

public interface KeyedObject
extends java.io.Serializable, java.lang.Cloneable

For efficiency sake it would be nice to attach the primary key to the objects that get passed back and forth.


Method Summary
 java.lang.Object clone()
           
 java.lang.Object getPK()
          Get primary key object.
 void setPK(java.lang.Object anObject)
          Set primary key object.
 

Method Detail

setPK

public void setPK(java.lang.Object anObject)
Set primary key object.
Parameters:
anObject -  

getPK

public java.lang.Object getPK()
Get primary key object.
Returns:
Object

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved