public class ModuleMetadataRelatedResource extends Element implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for ModuleMetadata.RelatedResource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ModuleMetadata.RelatedResource">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<element name="type" type="{http://hl7.org/fhir}ModuleMetadataResourceType"/>
<element name="document" type="{http://hl7.org/fhir}Attachment" minOccurs="0"/>
<element name="resource" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Attachment |
document |
protected Reference |
resource |
protected ModuleMetadataResourceType |
type |
| Constructor and Description |
|---|
ModuleMetadataRelatedResource() |
| 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 |
getDocument()
Gets the value of the document property.
|
Reference |
getResource()
Gets the value of the resource property.
|
ModuleMetadataResourceType |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDocument(Attachment value)
Sets the value of the document property.
|
void |
setResource(Reference value)
Sets the value of the resource property.
|
void |
setType(ModuleMetadataResourceType value)
Sets the value of the type property.
|
java.lang.String |
toString() |
ModuleMetadataRelatedResource |
withDocument(Attachment value) |
ModuleMetadataRelatedResource |
withExtension(java.util.Collection<Extension> values) |
ModuleMetadataRelatedResource |
withExtension(Extension... values) |
ModuleMetadataRelatedResource |
withId(java.lang.String value) |
ModuleMetadataRelatedResource |
withResource(Reference value) |
ModuleMetadataRelatedResource |
withType(ModuleMetadataResourceType value) |
getExtension, getId, setIdprotected ModuleMetadataResourceType type
protected Attachment document
protected Reference resource
public ModuleMetadataResourceType getType()
ModuleMetadataResourceTypepublic void setType(ModuleMetadataResourceType value)
value - allowed object is
ModuleMetadataResourceTypepublic Attachment getDocument()
Attachmentpublic void setDocument(Attachment value)
value - allowed object is
Attachmentpublic Reference getResource()
Referencepublic void setResource(Reference value)
value - allowed object is
Referencepublic ModuleMetadataRelatedResource withType(ModuleMetadataResourceType value)
public ModuleMetadataRelatedResource withDocument(Attachment value)
public ModuleMetadataRelatedResource withResource(Reference value)
public ModuleMetadataRelatedResource withExtension(Extension... values)
withExtension in class Elementpublic ModuleMetadataRelatedResource withExtension(java.util.Collection<Extension> values)
withExtension in class Elementpublic ModuleMetadataRelatedResource withId(java.lang.String value)
public 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)
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
public 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 Element