public class FaultDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
action
Optional text description of a reply action
|
java.util.ArrayList<java.lang.String> |
conceptList
A list of concepts to create a descriptive tree from.
|
protected java.lang.String |
event
Optional text description of the fault event
|
protected java.lang.String |
faultID
An optional unique key to identify the fault
|
protected java.lang.String |
faultType
The type of fault
|
protected java.lang.Object |
reference
An optional reference to the fault object.
|
protected long |
timestamp
Timestamp for the fault
|
Constructor and Description |
---|
FaultDetails(java.lang.String faultType,
java.lang.Object faultReference)
Create a new instance of FaultDetails
|
FaultDetails(java.lang.String faultType,
java.lang.String faultKey)
Create a new instance of FaultDetails
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAction()
Get the reply action.
|
java.util.ArrayList<java.lang.String> |
getConceptList()
Get the descriptive concept list.
|
java.lang.String |
getEvent()
Get the fault event.
|
java.lang.String |
getKey()
Get the key identifier for the fault.
|
java.lang.Object |
getReference()
Get the key identifier for the fault.
|
long |
getTimestamp()
Get the fault timestamp.
|
java.lang.String |
getType()
Get the fault type.
|
void |
setAction(java.lang.String thisAction)
Set a description for the reply action.
|
void |
setConceptList(java.util.ArrayList<java.lang.String> thisConceptList)
Set the descriptive concept list.
|
void |
setEvent(java.lang.String thisEvent)
Set a description for the fault event.
|
protected java.lang.String faultType
protected java.lang.String faultID
protected java.lang.Object reference
faultID
is null
, then
the key is determined by ObjectHandler
.getKey()
.protected java.lang.String event
protected java.lang.String action
protected long timestamp
public java.util.ArrayList<java.lang.String> conceptList
public FaultDetails(java.lang.String faultType, java.lang.String faultKey)
faultType
- the fault type.faultKey
- a unique id to represent the fault.public FaultDetails(java.lang.String faultType, java.lang.Object faultReference)
faultType
- the fault type.faultReference
- some reference to the offending object.public java.lang.String getType()
public java.lang.String getKey()
faultID
.public java.lang.Object getReference()
faultID
.public void setEvent(java.lang.String thisEvent)
thisEvent
- the fault event.public java.lang.String getEvent()
public void setAction(java.lang.String thisAction)
thisAction
- the reply action.public java.lang.String getAction()
public long getTimestamp()
public void setConceptList(java.util.ArrayList<java.lang.String> thisConceptList)
thisConceptList
- the descriptive concept list.public java.util.ArrayList<java.lang.String> getConceptList()