public class Event extends BaseResource
Java class for Event complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Event">
<complexContent>
<extension base="{}BaseResource">
<sequence>
<element name="code" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="severity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="time" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="correlation_id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element ref="{}user" minOccurs="0"/>
<element ref="{}vm" minOccurs="0"/>
<element ref="{}storage_domain" minOccurs="0"/>
<element ref="{}host" minOccurs="0"/>
<element ref="{}template" minOccurs="0"/>
<element ref="{}cluster" minOccurs="0"/>
<element ref="{}data_center" minOccurs="0"/>
<element name="origin" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="custom_id" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="flood_rate" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="custom_data" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Event() |
| Modifier and Type | Method and Description |
|---|---|
Cluster |
getCluster()
Gets the value of the cluster property.
|
Integer |
getCode()
Gets the value of the code property.
|
String |
getCorrelationId()
Gets the value of the correlationId property.
|
String |
getCustomData()
Gets the value of the customData property.
|
Integer |
getCustomId()
Gets the value of the customId property.
|
DataCenter |
getDataCenter()
Gets the value of the dataCenter property.
|
Integer |
getFloodRate()
Gets the value of the floodRate property.
|
Host |
getHost()
Gets the value of the host property.
|
String |
getOrigin()
Gets the value of the origin property.
|
String |
getSeverity()
Gets the value of the severity property.
|
StorageDomain |
getStorageDomain()
Gets the value of the storageDomain property.
|
Template |
getTemplate()
Gets the value of the template property.
|
XMLGregorianCalendar |
getTime()
Gets the value of the time property.
|
User |
getUser()
Gets the value of the user property.
|
VM |
getVm()
Gets the value of the vm property.
|
boolean |
isSetCluster() |
boolean |
isSetCode() |
boolean |
isSetCorrelationId() |
boolean |
isSetCustomData() |
boolean |
isSetCustomId() |
boolean |
isSetDataCenter() |
boolean |
isSetFloodRate() |
boolean |
isSetHost() |
boolean |
isSetOrigin() |
boolean |
isSetSeverity() |
boolean |
isSetStorageDomain() |
boolean |
isSetTemplate() |
boolean |
isSetTime() |
boolean |
isSetUser() |
boolean |
isSetVm() |
void |
setCluster(Cluster value)
Sets the value of the cluster property.
|
void |
setCode(Integer value)
Sets the value of the code property.
|
void |
setCorrelationId(String value)
Sets the value of the correlationId property.
|
void |
setCustomData(String value)
Sets the value of the customData property.
|
void |
setCustomId(Integer value)
Sets the value of the customId property.
|
void |
setDataCenter(DataCenter value)
Sets the value of the dataCenter property.
|
void |
setFloodRate(Integer value)
Sets the value of the floodRate property.
|
void |
setHost(Host value)
Sets the value of the host property.
|
void |
setOrigin(String value)
Sets the value of the origin property.
|
void |
setSeverity(String value)
Sets the value of the severity property.
|
void |
setStorageDomain(StorageDomain value)
Sets the value of the storageDomain property.
|
void |
setTemplate(Template value)
Sets the value of the template property.
|
void |
setTime(XMLGregorianCalendar value)
Sets the value of the time property.
|
void |
setUser(User value)
Sets the value of the user property.
|
void |
setVm(VM value)
Sets the value of the vm property.
|
getComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic Integer getCode()
Integerpublic void setCode(Integer value)
value - allowed object is
Integerpublic boolean isSetCode()
public String getSeverity()
Stringpublic void setSeverity(String value)
value - allowed object is
Stringpublic boolean isSetSeverity()
public XMLGregorianCalendar getTime()
XMLGregorianCalendarpublic void setTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic boolean isSetTime()
public String getCorrelationId()
Stringpublic void setCorrelationId(String value)
value - allowed object is
Stringpublic boolean isSetCorrelationId()
public void setUser(User value)
value - allowed object is
Userpublic boolean isSetUser()
public void setVm(VM value)
value - allowed object is
VMpublic boolean isSetVm()
public StorageDomain getStorageDomain()
StorageDomainpublic void setStorageDomain(StorageDomain value)
value - allowed object is
StorageDomainpublic boolean isSetStorageDomain()
public void setHost(Host value)
value - allowed object is
Hostpublic boolean isSetHost()
public Template getTemplate()
Templatepublic void setTemplate(Template value)
value - allowed object is
Templatepublic boolean isSetTemplate()
public Cluster getCluster()
Clusterpublic void setCluster(Cluster value)
value - allowed object is
Clusterpublic boolean isSetCluster()
public DataCenter getDataCenter()
DataCenterpublic void setDataCenter(DataCenter value)
value - allowed object is
DataCenterpublic boolean isSetDataCenter()
public String getOrigin()
Stringpublic void setOrigin(String value)
value - allowed object is
Stringpublic boolean isSetOrigin()
public Integer getCustomId()
Integerpublic void setCustomId(Integer value)
value - allowed object is
Integerpublic boolean isSetCustomId()
public Integer getFloodRate()
Integerpublic void setFloodRate(Integer value)
value - allowed object is
Integerpublic boolean isSetFloodRate()
public String getCustomData()
Stringpublic void setCustomData(String value)
value - allowed object is
Stringpublic boolean isSetCustomData()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0