org.rhq.core.domain.event.composite
Class EventComposite

java.lang.Object
  extended by org.rhq.core.domain.event.composite.EventComposite
All Implemented Interfaces:
Serializable

public class EventComposite
extends Object
implements Serializable

A Data transfer object for the Event structure. Not all fields will be filled in every given time.

See Also:
Serialized Form

Constructor Summary
EventComposite()
           
EventComposite(String eventDetail, int resourceId, String resourceName, String resourceAncestry, int resourceTypeId, int eventId, EventSeverity severity, String sourceLocation, Long timestamp)
           
 
Method Summary
 String getEventDetail()
           
 int getEventId()
           
 String getResourceAncestry()
           
 int getResourceId()
           
 String getResourceName()
           
 int getResourceTypeId()
           
 EventSeverity getSeverity()
           
 String getSourceLocation()
           
 Date getTimestamp()
           
 void setEventDetail(String eventDetail)
           
 void setEventId(int eventId)
           
 void setResourceAncestry(String resourceAncestry)
           
 void setResourceId(int resourceId)
           
 void setResourceName(String resourceName)
           
 void setResourceTypeId(int resourceTypeId)
           
 void setSeverity(EventSeverity severity)
           
 void setSourceLocation(String sourceLocation)
           
 void setTimestamp(Date timestamp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventComposite

public EventComposite()

EventComposite

public EventComposite(String eventDetail,
                      int resourceId,
                      String resourceName,
                      String resourceAncestry,
                      int resourceTypeId,
                      int eventId,
                      EventSeverity severity,
                      String sourceLocation,
                      Long timestamp)
Method Detail

getEventDetail

public String getEventDetail()

setEventDetail

public void setEventDetail(String eventDetail)

getResourceId

public int getResourceId()

setResourceId

public void setResourceId(int resourceId)

getResourceName

public String getResourceName()

setResourceName

public void setResourceName(String resourceName)

getEventId

public int getEventId()

setEventId

public void setEventId(int eventId)

getSourceLocation

public String getSourceLocation()

setSourceLocation

public void setSourceLocation(String sourceLocation)

getSeverity

public EventSeverity getSeverity()

setSeverity

public void setSeverity(EventSeverity severity)

getTimestamp

public Date getTimestamp()

setTimestamp

public void setTimestamp(Date timestamp)

getResourceAncestry

public String getResourceAncestry()

setResourceAncestry

public void setResourceAncestry(String resourceAncestry)

getResourceTypeId

public int getResourceTypeId()

setResourceTypeId

public void setResourceTypeId(int resourceTypeId)


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.