org.rhq.core.domain.event
Class EventDefinition

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

public class EventDefinition
extends Object
implements Serializable

The definition of a type of Event supported by a particular ResourceType.

See Also:
Serialized Form

Field Summary
static String TABLE_NAME
           
 
Constructor Summary
EventDefinition()
           
EventDefinition(ResourceType resourceType, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 String getDisplayName()
           
 int getId()
           
 String getName()
           
 ResourceType getResourceType()
           
 int getResourceTypeId()
           
 int hashCode()
           
 void setDescription(String description)
           
 void setDisplayName(String displayName)
           
 void setResourceTypeId(int resourceTypeId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TABLE_NAME

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

EventDefinition

public EventDefinition()

EventDefinition

public EventDefinition(@NotNull
                       ResourceType resourceType,
                       @NotNull
                       String name)
Method Detail

getId

public int getId()

getResourceType

@NotNull
public ResourceType getResourceType()

getResourceTypeId

public int getResourceTypeId()

getName

@NotNull
public String getName()

getDisplayName

public String getDisplayName()

setDisplayName

public void setDisplayName(String displayName)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

setResourceTypeId

public void setResourceTypeId(int resourceTypeId)


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