Class HL7v2ReadResponse
- java.lang.Object
-
- org.apache.beam.sdk.io.gcp.healthcare.HL7v2ReadResponse
-
public class HL7v2ReadResponse extends java.lang.ObjectHL7v2ReadResponse represents the response format for a HL7v2 read request, used as the output type ofHL7v2IO.HL7v2Read.
-
-
Constructor Summary
Constructors Constructor Description HL7v2ReadResponse(java.lang.String metadata, HL7v2Message hl7v2Message)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)HL7v2MessagegetHL7v2Message()Gets hl7v2Message.java.lang.StringgetMetadata()Gets metadata.inthashCode()static HL7v2ReadResponseof(java.lang.String metadata, HL7v2Message hl7v2Message)From metadata and hl7v2Message toHL7v2ReadResponse.java.lang.StringtoString()
-
-
-
Constructor Detail
-
HL7v2ReadResponse
public HL7v2ReadResponse(@Nullable java.lang.String metadata, HL7v2Message hl7v2Message)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
of
public static HL7v2ReadResponse of(java.lang.String metadata, HL7v2Message hl7v2Message)
From metadata and hl7v2Message toHL7v2ReadResponse.- Parameters:
metadata- the metadatahl7v2Message- the hl7v2 message- Returns:
- the hl7v2 read response
-
getMetadata
@Nullable public java.lang.String getMetadata()
Gets metadata.- Returns:
- the metadata
-
getHL7v2Message
public HL7v2Message getHL7v2Message()
Gets hl7v2Message.- Returns:
- the hl7v2Message
-
equals
public boolean equals(@Nullable java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-