public class Diagnosis extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
entity
Source entity on which the diagnosis is relevant.
|
java.lang.String[] |
information
Any optional information which may be relevant for the specific
diagnosis.
|
DiagnosisType |
type
Diagnosis type.
|
| Constructor and Description |
|---|
Diagnosis(DiagnosisType type,
java.lang.String entity,
java.lang.String... information)
Construct a diagnosis instance given the type, entity and optional
information.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Object[] |
getMessageArgs()
Returns an array comprising of the entity followed by the information
array elements.
|
int |
hashCode() |
public final DiagnosisType type
public final java.lang.String entity
public final java.lang.String[] information
public Diagnosis(DiagnosisType type, java.lang.String entity, java.lang.String... information)
type - diagnosis typeentity - entity relevant for this diagnosisinformation - optional information relevant for this diagnosispublic java.lang.Object[] getMessageArgs()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2011–2023. All rights reserved.