org.rhq.core.domain.alert.notification
Class SubjectNotification

java.lang.Object
  extended by org.rhq.core.domain.alert.notification.AlertNotification
      extended by org.rhq.core.domain.alert.notification.SubjectNotification
All Implemented Interfaces:
Serializable

public class SubjectNotification
extends AlertNotification

See Also:
Serialized Form

Field Summary
static String QUERY_FIND_ALL_BY_ALERT_DEFINITION_ID
           
static String QUERY_FIND_BY_IDS
           
static String QUERY_FIND_BY_SUBJECT_IDS
           
 
Fields inherited from class org.rhq.core.domain.alert.notification.AlertNotification
DELETE_BY_ID, QUERY_DELETE_BY_RESOURCES, QUERY_DELETE_ORPHANED
 
Constructor Summary
protected SubjectNotification()
           
  SubjectNotification(AlertDefinition alertDefinition, Subject subject)
           
  SubjectNotification(SubjectNotification subjectNotification)
           
 
Method Summary
protected  AlertNotification copy()
           
 boolean equals(Object obj)
           
 Subject getSubject()
           
 int hashCode()
           
 void prepareForOrphanDelete()
           
 String toString()
           
 
Methods inherited from class org.rhq.core.domain.alert.notification.AlertNotification
copy, getAlertDefinition, getId, setAlertDefinition
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY_FIND_ALL_BY_ALERT_DEFINITION_ID

public static final String QUERY_FIND_ALL_BY_ALERT_DEFINITION_ID
See Also:
Constant Field Values

QUERY_FIND_BY_IDS

public static final String QUERY_FIND_BY_IDS
See Also:
Constant Field Values

QUERY_FIND_BY_SUBJECT_IDS

public static final String QUERY_FIND_BY_SUBJECT_IDS
See Also:
Constant Field Values
Constructor Detail

SubjectNotification

protected SubjectNotification()

SubjectNotification

public SubjectNotification(SubjectNotification subjectNotification)

SubjectNotification

public SubjectNotification(@NotNull
                           AlertDefinition alertDefinition,
                           @NotNull
                           Subject subject)
Method Detail

getSubject

@NotNull
public Subject getSubject()

copy

protected AlertNotification copy()
Specified by:
copy in class AlertNotification

prepareForOrphanDelete

public void prepareForOrphanDelete()
Overrides:
prepareForOrphanDelete in class AlertNotification

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.