public final class IdNextTreatment extends Object implements NextTreatment
NextTreatment.Type| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
int | 
hashCode()  | 
int | 
nextId()
Returns next id. 
 | 
static IdNextTreatment | 
of(int nextId)
Returns an instance of IdNextTreatment with given next id. 
 | 
String | 
toString()  | 
NextTreatment.Type | 
type()
Type of this next action. 
 | 
public int nextId()
public static IdNextTreatment of(int nextId)
nextId - next idpublic NextTreatment.Type type()
NextTreatmenttype in interface NextTreatment