public class Media extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Media complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Media">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}DigitalMediaType"/>
<element name="subtype" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="view" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="operator" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="deviceName" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="height" type="{http://hl7.org/fhir}positiveInt" minOccurs="0"/>
<element name="width" type="{http://hl7.org/fhir}positiveInt" minOccurs="0"/>
<element name="frames" type="{http://hl7.org/fhir}positiveInt" minOccurs="0"/>
<element name="duration" type="{http://hl7.org/fhir}unsignedInt" minOccurs="0"/>
<element name="content" type="{http://hl7.org/fhir}Attachment"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Attachment |
content |
protected String |
deviceName |
protected UnsignedInt |
duration |
protected PositiveInt |
frames |
protected PositiveInt |
height |
protected java.util.List<Identifier> |
identifier |
protected Reference |
operator |
protected Reference |
subject |
protected CodeableConcept |
subtype |
protected DigitalMediaType |
type |
protected CodeableConcept |
view |
protected PositiveInt |
width |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Media() |
| 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 |
getContent()
Gets the value of the content property.
|
String |
getDeviceName()
Gets the value of the deviceName property.
|
UnsignedInt |
getDuration()
Gets the value of the duration property.
|
PositiveInt |
getFrames()
Gets the value of the frames property.
|
PositiveInt |
getHeight()
Gets the value of the height property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
Reference |
getOperator()
Gets the value of the operator property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
CodeableConcept |
getSubtype()
Gets the value of the subtype property.
|
DigitalMediaType |
getType()
Gets the value of the type property.
|
CodeableConcept |
getView()
Gets the value of the view property.
|
PositiveInt |
getWidth()
Gets the value of the width property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setContent(Attachment value)
Sets the value of the content property.
|
void |
setDeviceName(String value)
Sets the value of the deviceName property.
|
void |
setDuration(UnsignedInt value)
Sets the value of the duration property.
|
void |
setFrames(PositiveInt value)
Sets the value of the frames property.
|
void |
setHeight(PositiveInt value)
Sets the value of the height property.
|
void |
setOperator(Reference value)
Sets the value of the operator property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
void |
setSubtype(CodeableConcept value)
Sets the value of the subtype property.
|
void |
setType(DigitalMediaType value)
Sets the value of the type property.
|
void |
setView(CodeableConcept value)
Sets the value of the view property.
|
void |
setWidth(PositiveInt value)
Sets the value of the width property.
|
java.lang.String |
toString() |
Media |
withContained(java.util.Collection<ResourceContainer> values) |
Media |
withContained(ResourceContainer... values) |
Media |
withContent(Attachment value) |
Media |
withDeviceName(String value) |
Media |
withDuration(UnsignedInt value) |
Media |
withExtension(java.util.Collection<Extension> values) |
Media |
withExtension(Extension... values) |
Media |
withFrames(PositiveInt value) |
Media |
withHeight(PositiveInt value) |
Media |
withId(Id value) |
Media |
withIdentifier(java.util.Collection<Identifier> values) |
Media |
withIdentifier(Identifier... values) |
Media |
withImplicitRules(Uri value) |
Media |
withLanguage(Code value) |
Media |
withMeta(Meta value) |
Media |
withModifierExtension(java.util.Collection<Extension> values) |
Media |
withModifierExtension(Extension... values) |
Media |
withOperator(Reference value) |
Media |
withSubject(Reference value) |
Media |
withSubtype(CodeableConcept value) |
Media |
withText(Narrative value) |
Media |
withType(DigitalMediaType value) |
Media |
withView(CodeableConcept value) |
Media |
withWidth(PositiveInt value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected DigitalMediaType type
protected CodeableConcept subtype
protected CodeableConcept view
protected Reference subject
protected Reference operator
protected String deviceName
protected PositiveInt height
protected PositiveInt width
protected PositiveInt frames
protected UnsignedInt duration
protected Attachment content
public java.util.List<Identifier> getIdentifier()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the identifier property.
For example, to add a new item, do as follows:
getIdentifier().add(newItem);
Objects of the following type(s) are allowed in the list
Identifier
public DigitalMediaType getType()
DigitalMediaTypepublic void setType(DigitalMediaType value)
value - allowed object is
DigitalMediaTypepublic CodeableConcept getSubtype()
CodeableConceptpublic void setSubtype(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getView()
CodeableConceptpublic void setView(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic Reference getOperator()
Referencepublic void setOperator(Reference value)
value - allowed object is
Referencepublic String getDeviceName()
Stringpublic void setDeviceName(String value)
value - allowed object is
Stringpublic PositiveInt getHeight()
PositiveIntpublic void setHeight(PositiveInt value)
value - allowed object is
PositiveIntpublic PositiveInt getWidth()
PositiveIntpublic void setWidth(PositiveInt value)
value - allowed object is
PositiveIntpublic PositiveInt getFrames()
PositiveIntpublic void setFrames(PositiveInt value)
value - allowed object is
PositiveIntpublic UnsignedInt getDuration()
UnsignedIntpublic void setDuration(UnsignedInt value)
value - allowed object is
UnsignedIntpublic Attachment getContent()
Attachmentpublic void setContent(Attachment value)
value - allowed object is
Attachmentpublic Media withIdentifier(Identifier... values)
public Media withIdentifier(java.util.Collection<Identifier> values)
public Media withType(DigitalMediaType value)
public Media withSubtype(CodeableConcept value)
public Media withView(CodeableConcept value)
public Media withHeight(PositiveInt value)
public Media withWidth(PositiveInt value)
public Media withFrames(PositiveInt value)
public Media withDuration(UnsignedInt value)
public Media withContent(Attachment value)
public Media withText(Narrative value)
withText in class DomainResourcepublic Media withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Media withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Media withExtension(Extension... values)
withExtension in class DomainResourcepublic Media withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Media withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Media withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Media withId(Id value)
withId in class DomainResourcepublic Media withMeta(Meta value)
withMeta in class DomainResourcepublic Media withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Media withLanguage(Code value)
withLanguage in class DomainResourcepublic 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 DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic 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 DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic 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 DomainResourcepublic 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 DomainResource