Package org.hl7.fhir
Class Media
java.lang.Object
org.hl7.fhir.Resource
org.hl7.fhir.DomainResource
org.hl7.fhir.Media
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Media
extends DomainResource
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensions
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Attachmentprotected Stringprotected UnsignedIntprotected PositiveIntprotected PositiveIntprotected List<Identifier> protected Referenceprotected Referenceprotected CodeableConceptprotected DigitalMediaTypeprotected CodeableConceptprotected PositiveIntFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the content property.Gets the value of the deviceName property.Gets the value of the duration property.Gets the value of the frames property.Gets the value of the height property.Gets the value of the identifier property.Gets the value of the operator property.Gets the value of the subject property.Gets the value of the subtype property.getType()Gets the value of the type property.getView()Gets the value of the view property.getWidth()Gets the value of the width property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetContent(Attachment value) Sets the value of the content property.voidsetDeviceName(String value) Sets the value of the deviceName property.voidsetDuration(UnsignedInt value) Sets the value of the duration property.voidsetFrames(PositiveInt value) Sets the value of the frames property.voidsetHeight(PositiveInt value) Sets the value of the height property.voidsetIdentifier(List<Identifier> value) voidsetOperator(Reference value) Sets the value of the operator property.voidsetSubject(Reference value) Sets the value of the subject property.voidsetSubtype(CodeableConcept value) Sets the value of the subtype property.voidsetType(DigitalMediaType value) Sets the value of the type property.voidsetView(CodeableConcept value) Sets the value of the view property.voidsetWidth(PositiveInt value) Sets the value of the width property.toString()withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withContent(Attachment value) withDeviceName(String value) withDuration(UnsignedInt value) withExtension(Collection<Extension> values) withExtension(Extension... values) withFrames(PositiveInt value) withHeight(PositiveInt value) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withLanguage(Code value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withOperator(Reference value) withSubject(Reference value) withSubtype(CodeableConcept value) withType(DigitalMediaType value) withView(CodeableConcept value) withWidth(PositiveInt value) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
identifier
-
type
-
subtype
-
view
-
subject
-
operator
-
deviceName
-
height
-
width
-
frames
-
duration
-
-
-
Constructor Details
-
Media
public Media()
-
-
Method Details
-
getIdentifier
Gets the value of the identifier property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getType
Gets the value of the type property.- Returns:
- possible object is
DigitalMediaType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isDigitalMediaType
-
getSubtype
Gets the value of the subtype property.- Returns:
- possible object is
CodeableConcept
-
setSubtype
Sets the value of the subtype property.- Parameters:
value- allowed object isCodeableConcept
-
getView
Gets the value of the view property.- Returns:
- possible object is
CodeableConcept
-
setView
Sets the value of the view property.- Parameters:
value- allowed object isCodeableConcept
-
getSubject
Gets the value of the subject property.- Returns:
- possible object is
Reference
-
setSubject
Sets the value of the subject property.- Parameters:
value- allowed object isReference
-
getOperator
Gets the value of the operator property.- Returns:
- possible object is
Reference
-
setOperator
Sets the value of the operator property.- Parameters:
value- allowed object isReference
-
getDeviceName
Gets the value of the deviceName property.- Returns:
- possible object is
String
-
setDeviceName
Sets the value of the deviceName property.- Parameters:
value- allowed object isString
-
getHeight
Gets the value of the height property.- Returns:
- possible object is
PositiveInt
-
setHeight
Sets the value of the height property.- Parameters:
value- allowed object isPositiveInt
-
getWidth
Gets the value of the width property.- Returns:
- possible object is
PositiveInt
-
setWidth
Sets the value of the width property.- Parameters:
value- allowed object isPositiveInt
-
getFrames
Gets the value of the frames property.- Returns:
- possible object is
PositiveInt
-
setFrames
Sets the value of the frames property.- Parameters:
value- allowed object isPositiveInt
-
getDuration
Gets the value of the duration property.- Returns:
- possible object is
UnsignedInt
-
setDuration
Sets the value of the duration property.- Parameters:
value- allowed object isUnsignedInt
-
getContent
Gets the value of the content property.- Returns:
- possible object is
Attachment
-
setContent
Sets the value of the content property.- Parameters:
value- allowed object isAttachment
-
withIdentifier
-
withIdentifier
-
withType
-
withSubtype
-
withView
-
withSubject
-
withOperator
-
withDeviceName
-
withHeight
-
withWidth
-
withFrames
-
withDuration
-
withContent
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classDomainResource
-
toString
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setIdentifier
-