public class ContractLegal extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Contract.Legal complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Contract.Legal">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<choice>
<element name="contentAttachment" type="{http://hl7.org/fhir}Attachment"/>
<element name="contentReference" type="{http://hl7.org/fhir}Reference"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Attachment |
contentAttachment |
protected Reference |
contentReference |
modifierExtension| Constructor and Description |
|---|
ContractLegal() |
| 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) |
Attachment |
getContentAttachment()
Gets the value of the contentAttachment property.
|
Reference |
getContentReference()
Gets the value of the contentReference property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setContentAttachment(Attachment value)
Sets the value of the contentAttachment property.
|
void |
setContentReference(Reference value)
Sets the value of the contentReference property.
|
java.lang.String |
toString() |
ContractLegal |
withContentAttachment(Attachment value) |
ContractLegal |
withContentReference(Reference value) |
ContractLegal |
withExtension(java.util.Collection<Extension> values) |
ContractLegal |
withExtension(Extension... values) |
ContractLegal |
withId(java.lang.String value) |
ContractLegal |
withModifierExtension(java.util.Collection<Extension> values) |
ContractLegal |
withModifierExtension(Extension... values) |
getModifierExtensiongetExtension, getId, setIdprotected Attachment contentAttachment
protected Reference contentReference
public Attachment getContentAttachment()
Attachmentpublic void setContentAttachment(Attachment value)
value - allowed object is
Attachmentpublic Reference getContentReference()
Referencepublic void setContentReference(Reference value)
value - allowed object is
Referencepublic ContractLegal withContentAttachment(Attachment value)
public ContractLegal withContentReference(Reference value)
public ContractLegal withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic ContractLegal withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic ContractLegal withExtension(Extension... values)
withExtension in class BackboneElementpublic ContractLegal withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic ContractLegal 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