uk.ac.ebi.intact.model.proxy
Class IntactObjectProxy

java.lang.Object
  |
  +--org.apache.ojb.broker.VirtualProxy
        |
        +--uk.ac.ebi.intact.model.proxy.IntactObjectProxy
All Implemented Interfaces:
IntactObject, java.io.Serializable
Direct Known Subclasses:
BasicObjectProxy

public class IntactObjectProxy
extends org.apache.ojb.broker.VirtualProxy
implements IntactObject

Version:
$Id: IntactObjectProxy.java,v 1.3 2004/03/12 10:05:02 clewing Exp $
Author:
Samuel Kerrien (skerrien@ebi.ac.uk)
See Also:
Serialized Form

Constructor Summary
IntactObjectProxy()
           
IntactObjectProxy(java.lang.reflect.InvocationHandler handler)
           
IntactObjectProxy(org.apache.ojb.broker.PBKey key, org.apache.ojb.broker.Identity uniqueId)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getAc()
          Implements IntactObject's methods
 java.sql.Timestamp getCreated()
           
 java.lang.Class getRealClassName()
          Return the class of the real subject.
 java.sql.Timestamp getUpdated()
           
 int hashCode()
           
 void setAc(java.lang.String ac)
           
 void setCreated(java.util.Date created)
           
 void setUpdated(java.util.Date updated)
           
 java.lang.String toString()
          A call to this method should materialize the real object.
 
Methods inherited from class org.apache.ojb.broker.VirtualProxy
alreadyMaterialized, createProxy, getIndirectionHandler, getRealSubject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntactObjectProxy

public IntactObjectProxy()

IntactObjectProxy

public IntactObjectProxy(org.apache.ojb.broker.PBKey key,
                         org.apache.ojb.broker.Identity uniqueId)
Parameters:
uniqueId - org.apache.ojb.broker.Identity

IntactObjectProxy

public IntactObjectProxy(java.lang.reflect.InvocationHandler handler)
Method Detail

getRealClassName

public java.lang.Class getRealClassName()
Return the class of the real subject.

Returns:
the class of the real subject

getAc

public java.lang.String getAc()
Implements IntactObject's methods

Specified by:
getAc in interface IntactObject

setAc

public void setAc(java.lang.String ac)
Specified by:
setAc in interface IntactObject

getCreated

public java.sql.Timestamp getCreated()
Specified by:
getCreated in interface IntactObject

setCreated

public void setCreated(java.util.Date created)
Specified by:
setCreated in interface IntactObject

getUpdated

public java.sql.Timestamp getUpdated()
Specified by:
getUpdated in interface IntactObject

setUpdated

public void setUpdated(java.util.Date updated)
Specified by:
setUpdated in interface IntactObject

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
A call to this method should materialize the real object.

Specified by:
toString in interface IntactObject
Overrides:
toString in class java.lang.Object
Returns:
String representation of the proxied object.


IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk