public class MessageHeaderDestination extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for MessageHeader.Destination complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MessageHeader.Destination">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="name" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="target" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="endpoint" type="{http://hl7.org/fhir}uri"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Uri |
endpoint |
protected String |
name |
protected Reference |
target |
modifierExtension| Constructor and Description |
|---|
MessageHeaderDestination() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
Uri |
getEndpoint()
Gets the value of the endpoint property.
|
String |
getName()
Gets the value of the name property.
|
Reference |
getTarget()
Gets the value of the target property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setEndpoint(Uri value)
Sets the value of the endpoint property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setTarget(Reference value)
Sets the value of the target property.
|
java.lang.String |
toString() |
MessageHeaderDestination |
withEndpoint(Uri value) |
MessageHeaderDestination |
withExtension(java.util.Collection<Extension> values) |
MessageHeaderDestination |
withExtension(Extension... values) |
MessageHeaderDestination |
withId(java.lang.String value) |
MessageHeaderDestination |
withModifierExtension(java.util.Collection<Extension> values) |
MessageHeaderDestination |
withModifierExtension(Extension... values) |
MessageHeaderDestination |
withName(String value) |
MessageHeaderDestination |
withTarget(Reference value) |
getModifierExtensiongetExtension, getId, setIdprotected String name
protected Reference target
protected Uri endpoint
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic Reference getTarget()
Referencepublic void setTarget(Reference value)
value - allowed object is
Referencepublic Uri getEndpoint()
Uripublic void setEndpoint(Uri value)
value - allowed object is
Uripublic MessageHeaderDestination withName(String value)
public MessageHeaderDestination withTarget(Reference value)
public MessageHeaderDestination withEndpoint(Uri value)
public MessageHeaderDestination withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic MessageHeaderDestination withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic MessageHeaderDestination withExtension(Extension... values)
withExtension in class BackboneElementpublic MessageHeaderDestination withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic MessageHeaderDestination withId(java.lang.String value)
withId in class BackboneElementpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class BackboneElementpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class BackboneElement