public class AlertOccurrenceImpl extends java.lang.Object implements AlertOccurrence
Modifier and Type | Field and Description |
---|---|
protected long |
creationTimeInMS |
protected java.lang.String |
group |
protected long |
id |
protected java.lang.String |
key |
protected long |
nbEntries |
protected Alert |
underlyingAlert |
Constructor and Description |
---|
AlertOccurrenceImpl(Alert underlyingAlert) |
Modifier and Type | Method and Description |
---|---|
long |
getCreationTimeInMS()
Returns a timestamp in milliseconds representing when this alert occurrence has been created.
|
java.lang.String |
getGroup()
Returns the group which led to this alert occurrence.
|
long |
getId()
Returns the identifier of this alert occurrence.
|
java.lang.String |
getKey()
Returns the key of this alert occurrence.
|
int |
getNbEntries()
Deprecated.
|
long |
getTotalEntries() |
Alert |
getUnderlyingAlert()
Returns the alert which led to thie alert occurrence.
|
void |
setCreationTimeInMS(long creationTimeInMS) |
void |
setGroup(java.lang.String group) |
void |
setId(long id) |
void |
setKey(java.lang.String key) |
void |
setNbEntries(long nbEntries) |
protected long id
protected java.lang.String key
protected java.lang.String group
protected long creationTimeInMS
protected long nbEntries
protected final Alert underlyingAlert
public AlertOccurrenceImpl(Alert underlyingAlert)
public long getId()
AlertOccurrence
getId
in interface AlertOccurrence
public void setId(long id)
public java.lang.String getKey()
AlertOccurrence
getKey
in interface AlertOccurrence
public void setKey(java.lang.String key)
public java.lang.String getGroup()
AlertOccurrence
getGroup
in interface AlertOccurrence
public void setGroup(java.lang.String group)
public long getCreationTimeInMS()
AlertOccurrence
getCreationTimeInMS
in interface AlertOccurrence
public void setCreationTimeInMS(long creationTimeInMS)
@Deprecated public int getNbEntries()
getNbEntries
in interface AlertOccurrence
public long getTotalEntries()
getTotalEntries
in interface AlertOccurrence
public void setNbEntries(long nbEntries)
public Alert getUnderlyingAlert()
AlertOccurrence
getUnderlyingAlert
in interface AlertOccurrence
Copyright © 2013 Dassault Systèmes, All Rights Reserved.