com.redhat.rhn.domain.action.errata
Class ErrataAction

java.lang.Object
  extended by com.redhat.rhn.domain.BaseDomainHelper
      extended by com.redhat.rhn.domain.action.Action
          extended by com.redhat.rhn.domain.action.errata.ErrataAction
All Implemented Interfaces:
java.io.Serializable

public class ErrataAction
extends Action

ErrataAction - Class representation of the table rhnAction.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.redhat.rhn.domain.action.Action
formatter
 
Constructor Summary
ErrataAction()
           
 
Method Summary
 void addErrata(Errata e)
          Add an Errata to this action.
 java.util.Set getErrata()
           
 ActionFormatter getFormatter()
          Get the Formatter for this class but in this case we use ErrataActionFormatter.
 void setErrata(java.util.Set errataIn)
           
 
Methods inherited from class com.redhat.rhn.domain.action.Action
addServerAction, equals, getActionType, getAgeString, getArchived, getCreated, getEarliestAction, getFailedCount, getId, getModified, getName, getOrg, getPrerequisite, getSchedulerUser, getServerActions, getSuccessfulCount, getVersion, hashCode, setActionType, setAgeString, setArchived, setCreated, setEarliestAction, setId, setModified, setName, setOrg, setPrerequisite, setSchedulerUser, setServerActions, setVersion, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ErrataAction

public ErrataAction()
Method Detail

getErrata

public java.util.Set getErrata()
Returns:
Returns the errata.

setErrata

public void setErrata(java.util.Set errataIn)
Parameters:
errataIn - The errata to set.

addErrata

public void addErrata(Errata e)
Add an Errata to this action.

Parameters:
e - Errata to add

getFormatter

public ActionFormatter getFormatter()
Get the Formatter for this class but in this case we use ErrataActionFormatter. Get the formatter for this class. Subclasses may override the ActionFormatter to provide custom output.

Overrides:
getFormatter in class Action
Returns:
ActionFormatter for this class.