Package dev.pcvolkmer.mv64e.model
Class Response
- java.lang.Object
-
- dev.pcvolkmer.mv64e.model.Response
-
public class Response extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponse.Builder
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_EFFECTIVE_DATEstatic java.lang.StringJSON_PROPERTY_IDstatic java.lang.StringJSON_PROPERTY_METHODstatic java.lang.StringJSON_PROPERTY_PATIENTstatic java.lang.StringJSON_PROPERTY_THERAPYstatic java.lang.StringJSON_PROPERTY_VALUE
-
Constructor Summary
Constructors Constructor Description Response()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Response.Builderbuilder()ResponseeffectiveDate(java.util.Date effectiveDate)booleanequals(java.lang.Object o)java.util.DategetEffectiveDate()java.lang.StringgetId()ResponseMethodCodinggetMethod()ReferencegetPatient()ReferencegetTherapy()RecistCodinggetValue()inthashCode()Responseid(java.lang.String id)Responsemethod(ResponseMethodCoding method)Responsepatient(Reference patient)voidsetEffectiveDate(java.util.Date effectiveDate)voidsetId(java.lang.String id)voidsetMethod(ResponseMethodCoding method)voidsetPatient(Reference patient)voidsetTherapy(Reference therapy)voidsetValue(RecistCoding value)Responsetherapy(Reference therapy)Response.BuildertoBuilder()java.lang.StringtoString()Responsevalue(RecistCoding value)
-
-
-
Field Detail
-
JSON_PROPERTY_METHOD
public static final java.lang.String JSON_PROPERTY_METHOD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THERAPY
public static final java.lang.String JSON_PROPERTY_THERAPY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final java.lang.String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EFFECTIVE_DATE
public static final java.lang.String JSON_PROPERTY_EFFECTIVE_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALUE
public static final java.lang.String JSON_PROPERTY_VALUE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PATIENT
public static final java.lang.String JSON_PROPERTY_PATIENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
method
public Response method(ResponseMethodCoding method)
-
getMethod
public ResponseMethodCoding getMethod()
-
setMethod
public void setMethod(ResponseMethodCoding method)
-
getTherapy
public Reference getTherapy()
-
setTherapy
public void setTherapy(Reference therapy)
-
id
public Response id(java.lang.String id)
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
effectiveDate
public Response effectiveDate(java.util.Date effectiveDate)
-
getEffectiveDate
public java.util.Date getEffectiveDate()
-
setEffectiveDate
public void setEffectiveDate(java.util.Date effectiveDate)
-
value
public Response value(RecistCoding value)
-
getValue
public RecistCoding getValue()
-
setValue
public void setValue(RecistCoding value)
-
getPatient
public Reference getPatient()
-
setPatient
public void setPatient(Reference patient)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static Response.Builder builder()
-
toBuilder
public Response.Builder toBuilder()
-
-