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.Object
obj
- public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
obj
- public java.lang.String getDescription()
getDescription
in interface Describable
public int getId()
getId
in interface Identifiable
public int hashCode()
hashCode
in class java.lang.Object
public boolean isAlternatePrimaryScorable()
isAlternatePrimaryScorable
in interface DiagnosticGroupIF
public void setAlternatePrimaryScorable(boolean alternatePrimaryScorable)
setAlternatePrimaryScorable
in interface DiagnosticGroupIF
alternatePrimaryScorable
- public void setDescription(java.lang.String description)
setDescription
in interface Describable
description
- new value of descriptionpublic void setId(int id)
setId
in interface Identifiable
id
- new value of idpublic java.lang.String toString()
toString
in class java.lang.Object