public class HL7v2ReadResponse
extends java.lang.Object
HL7v2IO.HL7v2Read
.Constructor and Description |
---|
HL7v2ReadResponse(java.lang.String metadata,
HL7v2Message hl7v2Message) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
HL7v2Message |
getHL7v2Message()
Gets hl7v2Message.
|
java.lang.String |
getMetadata()
Gets metadata.
|
int |
hashCode() |
static HL7v2ReadResponse |
of(java.lang.String metadata,
HL7v2Message hl7v2Message)
From metadata and hl7v2Message to
HL7v2ReadResponse . |
java.lang.String |
toString() |
public HL7v2ReadResponse(@Nullable java.lang.String metadata, HL7v2Message hl7v2Message)
public java.lang.String toString()
toString
in class java.lang.Object
public static HL7v2ReadResponse of(java.lang.String metadata, HL7v2Message hl7v2Message)
HL7v2ReadResponse
.metadata
- the metadatahl7v2Message
- the hl7v2 message@Nullable public java.lang.String getMetadata()
public HL7v2Message getHL7v2Message()
public boolean equals(@Nullable java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object