com.redhat.rhn.domain.server
Class ServerHistoryEvent

java.lang.Object
  extended by com.redhat.rhn.domain.BaseDomainHelper
      extended by com.redhat.rhn.domain.server.ServerHistoryEvent

public class ServerHistoryEvent
extends BaseDomainHelper

Class representation of the rhnserverhistory table ServerHistoryEvent


Constructor Summary
ServerHistoryEvent()
          Constructor for ServerHistoryEvent
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 java.lang.String getDetails()
          Getter for details
 java.lang.Long getId()
          Getter for id
 Server getServer()
          Getter for server
 java.lang.String getSummary()
          Getter for summary
 int hashCode()
          
 void setDetails(java.lang.String detailsIn)
          Set the details of an event
 void setId(java.lang.Long idIn)
          Set the id of an event
 void setServer(Server serverIn)
          associate a server with the event
 void setSummary(java.lang.String summaryIn)
          sets the summary of the event
 
Methods inherited from class com.redhat.rhn.domain.BaseDomainHelper
getCreated, getModified, setCreated, setModified
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerHistoryEvent

public ServerHistoryEvent()
Constructor for ServerHistoryEvent

Method Detail

getDetails

public java.lang.String getDetails()
Getter for details

Returns:
the details of the event

setDetails

public void setDetails(java.lang.String detailsIn)
Set the details of an event

Parameters:
detailsIn - the details to set

getId

public java.lang.Long getId()
Getter for id

Returns:
the id of the event

setId

public void setId(java.lang.Long idIn)
Set the id of an event

Parameters:
idIn - the id to set

getServer

public Server getServer()
Getter for server

Returns:
the server associated with the event

setServer

public void setServer(Server serverIn)
associate a server with the event

Parameters:
serverIn - the Server to associate

getSummary

public java.lang.String getSummary()
Getter for summary

Returns:
the summary of the event

setSummary

public void setSummary(java.lang.String summaryIn)
sets the summary of the event

Parameters:
summaryIn - the summary to set

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