public class DiagnosticGroup extends java.lang.Object implements DiagnosticGroupIF
| Modifier and Type | Field and Description |
|---|---|
static DiagnosticGroupIF |
GROUP_UNKNOWN
The default "unknown" Group object.
|
| Constructor and Description |
|---|
DiagnosticGroup(int id)
Constructor with default Id
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object obj)
Compares this group with another based on the ID
|
boolean |
equals(java.lang.Object obj)
Compares the objects based on the id
|
java.lang.String |
getDescription()
Get the value of description
|
int |
getId()
Get the value of id
|
int |
hashCode()
The hash code based on the id
|
boolean |
isAlternatePrimaryScorable()
Gets the alternate primary code scorable flag
|
void |
setAlternatePrimaryScorable(boolean alternatePrimaryScorable)
Sets the alternate primary code scorable flag
|
void |
setDescription(java.lang.String description)
Set the value of description
|
void |
setId(int id)
Set the value of id
|
java.lang.String |
toString() |
public static final DiagnosticGroupIF GROUP_UNKNOWN
public DiagnosticGroup(int id)
id - public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - public int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparableobj - public java.lang.String getDescription()
getDescription in interface Describablepublic int getId()
getId in interface Identifiablepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isAlternatePrimaryScorable()
isAlternatePrimaryScorable in interface DiagnosticGroupIFpublic void setAlternatePrimaryScorable(boolean alternatePrimaryScorable)
setAlternatePrimaryScorable in interface DiagnosticGroupIFalternatePrimaryScorable - public void setDescription(java.lang.String description)
setDescription in interface Describabledescription - new value of descriptionpublic void setId(int id)
setId in interface Identifiableid - new value of idpublic java.lang.String toString()
toString in class java.lang.Object