org.cagrid.tools.events
Class Event

java.lang.Object
  extended by org.cagrid.tools.events.Event
All Implemented Interfaces:
java.io.Serializable

public class Event
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Event()
           
Event(long eventId, java.lang.String eventType, java.lang.String message, long occurredAt, java.lang.String reportingPartyId, java.lang.String targetId)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 long getEventId()
          Gets the eventId value for this Event.
 java.lang.String getEventType()
          Gets the eventType value for this Event.
 java.lang.String getMessage()
          Gets the message value for this Event.
 long getOccurredAt()
          Gets the occurredAt value for this Event.
 java.lang.String getReportingPartyId()
          Gets the reportingPartyId value for this Event.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.lang.String getTargetId()
          Gets the targetId value for this Event.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setEventId(long eventId)
          Sets the eventId value for this Event.
 void setEventType(java.lang.String eventType)
          Sets the eventType value for this Event.
 void setMessage(java.lang.String message)
          Sets the message value for this Event.
 void setOccurredAt(long occurredAt)
          Sets the occurredAt value for this Event.
 void setReportingPartyId(java.lang.String reportingPartyId)
          Sets the reportingPartyId value for this Event.
 void setTargetId(java.lang.String targetId)
          Sets the targetId value for this Event.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Event

public Event()

Event

public Event(long eventId,
             java.lang.String eventType,
             java.lang.String message,
             long occurredAt,
             java.lang.String reportingPartyId,
             java.lang.String targetId)
Method Detail

getEventId

public long getEventId()
Gets the eventId value for this Event.

Returns:
eventId

setEventId

public void setEventId(long eventId)
Sets the eventId value for this Event.

Parameters:
eventId -

getTargetId

public java.lang.String getTargetId()
Gets the targetId value for this Event.

Returns:
targetId

setTargetId

public void setTargetId(java.lang.String targetId)
Sets the targetId value for this Event.

Parameters:
targetId -

getReportingPartyId

public java.lang.String getReportingPartyId()
Gets the reportingPartyId value for this Event.

Returns:
reportingPartyId

setReportingPartyId

public void setReportingPartyId(java.lang.String reportingPartyId)
Sets the reportingPartyId value for this Event.

Parameters:
reportingPartyId -

getEventType

public java.lang.String getEventType()
Gets the eventType value for this Event.

Returns:
eventType

setEventType

public void setEventType(java.lang.String eventType)
Sets the eventType value for this Event.

Parameters:
eventType -

getOccurredAt

public long getOccurredAt()
Gets the occurredAt value for this Event.

Returns:
occurredAt

setOccurredAt

public void setOccurredAt(long occurredAt)
Sets the occurredAt value for this Event.

Parameters:
occurredAt -

getMessage

public java.lang.String getMessage()
Gets the message value for this Event.

Returns:
message

setMessage

public void setMessage(java.lang.String message)
Sets the message value for this Event.

Parameters:
message -

equals

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

hashCode

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

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer