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

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

public class RoleNotification
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_ROLE_IDS
           
 
Fields inherited from class org.rhq.core.domain.alert.notification.AlertNotification
DELETE_BY_ID, QUERY_DELETE_BY_RESOURCES
 
Constructor Summary
protected RoleNotification()
           
  RoleNotification(AlertDefinition alertDefinition, Role role)
           
  RoleNotification(RoleNotification roleNotification)
           
 
Method Summary
 AlertNotification copy()
           
 boolean equals(Object obj)
           
 Role getRole()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.rhq.core.domain.alert.notification.AlertNotification
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_ROLE_IDS

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

RoleNotification

protected RoleNotification()

RoleNotification

public RoleNotification(RoleNotification roleNotification)

RoleNotification

public RoleNotification(@NotNull
                        AlertDefinition alertDefinition,
                        @NotNull
                        Role role)
Method Detail

getRole

@NotNull
public Role getRole()

copy

public AlertNotification copy()
Specified by:
copy 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 RHQ Project Advisory Board (Red Hat, Inc. and Hyperic, Inc.). All Rights Reserved.