Package csw.params.events
Interface Event
- All Known Implementing Classes:
ObserveEvent,SystemEvent
public interface Event
Common trait representing events in TMT like
SystemEvent and ObserveEvent-
Method Summary
Modifier and TypeMethodDescriptioneventId()unique Id for eventeventKey()The EventKey used to publish or subscribe an eventThe name of eventThe time of event creationbooleanscala.collection.immutable.Set<Parameter<?>>paramSet()An optional initial set of parameters (keys with values)A helper to give access of public members of ParameterSetTypesource()Prefix representing source of the eventtoString()A common toString method for all concrete implementationtypeName()A name identifying the type of parameter set, such as "SystemEvent", "ObserveEvent".
-
Method Details
-
paramType
ParameterSetType<?> paramType()A helper to give access of public members of ParameterSetType- Returns:
- a handle to ParameterSetType extended by concrete implementation of this class
-
eventId
Id eventId()unique Id for event- Returns:
- (undocumented)
-
source
Prefix source()Prefix representing source of the event- Returns:
- (undocumented)
-
eventName
EventName eventName()The name of event- Returns:
- (undocumented)
-
eventTime
UTCTime eventTime()The time of event creation- Returns:
- (undocumented)
-
paramSet
scala.collection.immutable.Set<Parameter<?>> paramSet()An optional initial set of parameters (keys with values)- Returns:
- (undocumented)
-
typeName
String typeName()A name identifying the type of parameter set, such as "SystemEvent", "ObserveEvent". This is used in the JSON and toString output.- Returns:
- a string representation of concrete type of this class
-
eventKey
EventKey eventKey()The EventKey used to publish or subscribe an event- Returns:
- an EventKey formed by combination of prefix and eventName of an event
-
toString
String toString()A common toString method for all concrete implementation -
isInvalid
boolean isInvalid()
-