stomp.service
Class AbstractServiceEnabled

java.lang.Object
  |
  +--stomp.jdo.AbstractPersistentObject
        |
        +--stomp.service.AbstractServiceEnabled
All Implemented Interfaces:
AccessControlled, Persistent, java.io.Serializable, ServiceEnabled, TransientTransactional
Direct Known Subclasses:
AbstractServiceDelegate

public abstract class AbstractServiceEnabled
extends AbstractPersistentObject
implements ServiceEnabled

convenience method which clients may use in implementing the Persistent and ServiceEnabled interfaces.

Author:
Eric Lindauer
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class stomp.service.ServiceEnabled
ServiceEnabled.AccessFactory
 
Field Summary
 
Fields inherited from interface stomp.jdo.Persistent
STOMP
 
Constructor Summary
AbstractServiceEnabled()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object getReadOnly()
           
 ServiceEnabled getServiceDelegate()
          returns the object whose methods are being serviced.
 ServiceEnabled getServiceLayer()
          returns the service layer view of this object.
 void setServiceLayer(ServiceEnabled serviceLayer)
           
 
Methods inherited from class stomp.jdo.AbstractPersistentObject
dataChanged, getDeletedInfo, getSchemaGroup, getStaticSchemaGroup, writeReplace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface stomp.jdo.TransientTransactional
findInPm
 

Constructor Detail

AbstractServiceEnabled

public AbstractServiceEnabled()
Method Detail

setServiceLayer

public void setServiceLayer(ServiceEnabled serviceLayer)
Specified by:
setServiceLayer in interface ServiceEnabled

getServiceDelegate

public ServiceEnabled getServiceDelegate()
Description copied from interface: ServiceEnabled
returns the object whose methods are being serviced.

Specified by:
getServiceDelegate in interface ServiceEnabled

getReadOnly

public java.lang.Object getReadOnly()
Specified by:
getReadOnly in interface AccessControlled

getServiceLayer

public ServiceEnabled getServiceLayer()
Description copied from interface: ServiceEnabled
returns the service layer view of this object.

Specified by:
getServiceLayer in interface ServiceEnabled

equals

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