edu.sc.seis.fissuresUtil.cache
Class CacheEvent
java.lang.Object
edu.sc.seis.fissuresUtil.cache.ProxyEventAccessOperations
edu.sc.seis.fissuresUtil.cache.CacheEvent
- All Implemented Interfaces:
- AuditSystemAccess, EventAccess, EventAccessOperations, EventDC, EventDCOperations, EventMgr, EventMgrOperations, CorbaServerWrapper, java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity
- Direct Known Subclasses:
- MockEventAccess
public class CacheEvent
- extends ProxyEventAccessOperations
CacheEvent.java Created: Mon Jan 8 16:33:52 2001
- See Also:
- Serialized Form
| Methods inherited from class edu.sc.seis.fissuresUtil.cache.ProxyEventAccessOperations |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override, a_channel_finder, a_factory, a_finder, a_writeable, close, equals, get_audit_trail_for_origin, get_audit_trail, get_locators, getCorbaObject, getEventAccess, getFullName, getOrigin, getServerDNS, getServerName, getServerType, getWrappedEventAccess, getWrappedEventAccess, hasCorbaObject, hashCode, parm_svc, reset, setEventAccess, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
attr
protected EventAttr attr
origins
protected Origin[] origins
preferred
protected OriginImpl preferred
CacheEvent
protected CacheEvent()
- for use by hibernate
CacheEvent
public CacheEvent(EventAttr attr,
Origin preferred)
CacheEvent
public CacheEvent(EventAttr attr,
OriginImpl preferred)
- Initializes the origins array to be just the single prefferred origin.
CacheEvent
public CacheEvent(EventAttr attr,
Origin[] origins,
OriginImpl preferred)
CacheEvent
public CacheEvent(EventAccessOperations event)
get_attributes
public EventAttr get_attributes()
- Specified by:
get_attributes in interface EventAccessOperations- Overrides:
get_attributes in class ProxyEventAccessOperations
getAttributes
public EventAttrImpl getAttributes()
get_origins
public Origin[] get_origins()
- Specified by:
get_origins in interface EventAccessOperations- Overrides:
get_origins in class ProxyEventAccessOperations
getOrigins
public Origin[] getOrigins()
setOrigins
protected void setOrigins(Origin[] origins)
- for use by hibernate
get_origin
public Origin get_origin(java.lang.String the_origin)
throws OriginNotFound
- Specified by:
get_origin in interface EventAccessOperations- Overrides:
get_origin in class ProxyEventAccessOperations
- Throws:
OriginNotFound
get_preferred_origin
public Origin get_preferred_origin()
throws NoPreferredOrigin
- Specified by:
get_preferred_origin in interface EventAccessOperations- Overrides:
get_preferred_origin in class ProxyEventAccessOperations
- Throws:
NoPreferredOrigin
getPreferred
public OriginImpl getPreferred()
throws NoPreferredOrigin
- Throws:
NoPreferredOrigin
setPreferred
protected void setPreferred(OriginImpl o)
isLoaded
public boolean isLoaded()
- Returns:
- true if both the attributes and the preferred origin are cached
hasDbid
public boolean hasDbid()
getDbid
public int getDbid()
setDbid
public void setDbid(int id)