blob: 0c533199d056a04d8301b5d24a054e90a9eb422f [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 David Carlson and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* David Carlson (Clinical Cloud Solutions, LLC) - initial API and implementation
*******************************************************************************/
/**
*/
package org.eclipse.mdht.uml.fhir.core.resource;
import org.eclipse.emf.common.util.EList;
import org.eclipse.mdht.uml.fhir.core.datatype.Attachment;
import org.eclipse.mdht.uml.fhir.core.datatype.Code;
import org.eclipse.mdht.uml.fhir.core.datatype.CodeableConcept;
import org.eclipse.mdht.uml.fhir.core.datatype.Identifier;
import org.eclipse.mdht.uml.fhir.core.datatype.PositiveInt;
import org.eclipse.mdht.uml.fhir.core.datatype.UnsignedInt;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Media</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
*
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getSubtype <em>Subtype</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getIdentifiers <em>Identifier</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getSubject <em>Subject</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getOperator <em>Operator</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getView <em>View</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getDeviceName <em>Device Name</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getHeight <em>Height</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getWidth <em>Width</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getFrames <em>Frames</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getDuration <em>Duration</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getContent <em>Content</em>}</li>
* </ul>
*
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedia()
* @model
* @generated
*/
public interface Media extends DomainResource {
/**
* Returns the value of the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Type</em>' reference.
* @see #setType(Code)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedia_Type()
* @model required="true"
* @generated
*/
Code getType();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getType <em>Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' reference.
* @see #getType()
* @generated
*/
void setType(Code value);
/**
* Returns the value of the '<em><b>Subtype</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Subtype</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Subtype</em>' reference.
* @see #setSubtype(CodeableConcept)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedia_Subtype()
* @model
* @generated
*/
CodeableConcept getSubtype();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getSubtype <em>Subtype</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Subtype</em>' reference.
* @see #getSubtype()
* @generated
*/
void setSubtype(CodeableConcept value);
/**
* Returns the value of the '<em><b>Identifier</b></em>' reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.datatype.Identifier}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Identifier</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Identifier</em>' reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedia_Identifier()
* @model
* @generated
*/
EList<Identifier> getIdentifiers();
/**
* Returns the value of the '<em><b>Subject</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Subject</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Subject</em>' reference.
* @see #setSubject(Resource)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedia_Subject()
* @model
* @generated
*/
Resource getSubject();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getSubject <em>Subject</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Subject</em>' reference.
* @see #getSubject()
* @generated
*/
void setSubject(Resource value);
/**
* Returns the value of the '<em><b>Operator</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Operator</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Operator</em>' reference.
* @see #setOperator(Practitioner)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedia_Operator()
* @model
* @generated
*/
Practitioner getOperator();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getOperator <em>Operator</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Operator</em>' reference.
* @see #getOperator()
* @generated
*/
void setOperator(Practitioner value);
/**
* Returns the value of the '<em><b>View</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>View</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>View</em>' reference.
* @see #setView(CodeableConcept)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedia_View()
* @model
* @generated
*/
CodeableConcept getView();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getView <em>View</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>View</em>' reference.
* @see #getView()
* @generated
*/
void setView(CodeableConcept value);
/**
* Returns the value of the '<em><b>Device Name</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Device Name</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Device Name</em>' reference.
* @see #setDeviceName(org.eclipse.mdht.uml.fhir.core.datatype.String)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedia_DeviceName()
* @model
* @generated
*/
org.eclipse.mdht.uml.fhir.core.datatype.String getDeviceName();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getDeviceName <em>Device Name</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Device Name</em>' reference.
* @see #getDeviceName()
* @generated
*/
void setDeviceName(org.eclipse.mdht.uml.fhir.core.datatype.String value);
/**
* Returns the value of the '<em><b>Height</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Height</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Height</em>' reference.
* @see #setHeight(PositiveInt)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedia_Height()
* @model
* @generated
*/
PositiveInt getHeight();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getHeight <em>Height</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Height</em>' reference.
* @see #getHeight()
* @generated
*/
void setHeight(PositiveInt value);
/**
* Returns the value of the '<em><b>Width</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Width</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Width</em>' reference.
* @see #setWidth(PositiveInt)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedia_Width()
* @model
* @generated
*/
PositiveInt getWidth();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getWidth <em>Width</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Width</em>' reference.
* @see #getWidth()
* @generated
*/
void setWidth(PositiveInt value);
/**
* Returns the value of the '<em><b>Frames</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Frames</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Frames</em>' reference.
* @see #setFrames(PositiveInt)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedia_Frames()
* @model
* @generated
*/
PositiveInt getFrames();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getFrames <em>Frames</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Frames</em>' reference.
* @see #getFrames()
* @generated
*/
void setFrames(PositiveInt value);
/**
* Returns the value of the '<em><b>Duration</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Duration</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Duration</em>' reference.
* @see #setDuration(UnsignedInt)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedia_Duration()
* @model
* @generated
*/
UnsignedInt getDuration();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getDuration <em>Duration</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Duration</em>' reference.
* @see #getDuration()
* @generated
*/
void setDuration(UnsignedInt value);
/**
* Returns the value of the '<em><b>Content</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Content</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Content</em>' reference.
* @see #setContent(Attachment)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedia_Content()
* @model required="true"
* @generated
*/
Attachment getContent();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Media#getContent <em>Content</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Content</em>' reference.
* @see #getContent()
* @generated
*/
void setContent(Attachment value);
} // Media