org.rhq.core.domain.event
Class EventDefinition
java.lang.Object
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
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
EventDefinition
public EventDefinition()
EventDefinition
public EventDefinition(@NotNull
ResourceType resourceType,
@NotNull
String name)
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.