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, EventAccessOperations, EventDCOperations, EventMgrOperations, Serializable, IDLEntity
- Direct Known Subclasses:
- MockEventAccess
public class CacheEvent
- extends ProxyEventAccessOperations
CacheEvent.java Created: Mon Jan 8 16:33:52 2001
- Version:
- Author:
- Philip Crotwell
- See Also:
- Serialized Form
| Methods inherited from class edu.sc.seis.fissuresUtil.cache.ProxyEventAccessOperations |
a_channel_finder, a_factory, a_finder, a_writeable, close, equals, get_audit_trail_for_origin, get_audit_trail, get_locators, getCorbaObject, getEventAccess, getOrigin, getWrappedEventAccess, getWrappedEventAccess, hasCorbaObject, hashCode, parm_svc, reset, setEventAccess, toString |
attr
protected EventAttr attr
origins
protected Origin[] origins
preferred
protected Origin preferred
CacheEvent
public CacheEvent(EventAttr attr,
Origin preferred)
- Initializes the origins array to be just the single prefferred origin.
CacheEvent
public CacheEvent(EventAttr attr,
Origin[] origins,
Origin 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
get_origins
public Origin[] get_origins()
- Specified by:
get_origins in interface EventAccessOperations- Overrides:
get_origins in class ProxyEventAccessOperations
get_origin
public Origin get_origin(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
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)
Copyright © 2002-2007 Seismology at the University of South Carolina. All Rights Reserved.