blob: e3838027cc6a9856fbd3d92cc9cc53d328688edb [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.Code;
import org.eclipse.mdht.uml.fhir.core.datatype.Coding;
import org.eclipse.mdht.uml.fhir.core.datatype.ContactPoint;
import org.eclipse.mdht.uml.fhir.core.datatype.Instant;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Subscription</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.Subscription#getCriteria <em>Criteria</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Subscription#getContacts <em>Contact</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Subscription#getReason <em>Reason</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Subscription#getStatus <em>Status</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Subscription#getError <em>Error</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Subscription#getChannel <em>Channel</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Subscription#getEnd <em>End</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Subscription#getTags <em>Tag</em>}</li>
* </ul>
*
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getSubscription()
* @model
* @generated
*/
public interface Subscription extends DomainResource {
/**
* Returns the value of the '<em><b>Criteria</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Criteria</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Criteria</em>' reference.
* @see #setCriteria(org.eclipse.mdht.uml.fhir.core.datatype.String)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getSubscription_Criteria()
* @model required="true"
* @generated
*/
org.eclipse.mdht.uml.fhir.core.datatype.String getCriteria();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Subscription#getCriteria <em>Criteria</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Criteria</em>' reference.
* @see #getCriteria()
* @generated
*/
void setCriteria(org.eclipse.mdht.uml.fhir.core.datatype.String value);
/**
* Returns the value of the '<em><b>Contact</b></em>' reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.datatype.ContactPoint}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Contact</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>Contact</em>' reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getSubscription_Contact()
* @model
* @generated
*/
EList<ContactPoint> getContacts();
/**
* Returns the value of the '<em><b>Reason</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Reason</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Reason</em>' reference.
* @see #setReason(org.eclipse.mdht.uml.fhir.core.datatype.String)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getSubscription_Reason()
* @model required="true"
* @generated
*/
org.eclipse.mdht.uml.fhir.core.datatype.String getReason();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Subscription#getReason <em>Reason</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Reason</em>' reference.
* @see #getReason()
* @generated
*/
void setReason(org.eclipse.mdht.uml.fhir.core.datatype.String value);
/**
* Returns the value of the '<em><b>Status</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Status</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Status</em>' reference.
* @see #setStatus(Code)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getSubscription_Status()
* @model required="true"
* @generated
*/
Code getStatus();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Subscription#getStatus <em>Status</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Status</em>' reference.
* @see #getStatus()
* @generated
*/
void setStatus(Code value);
/**
* Returns the value of the '<em><b>Error</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Error</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Error</em>' reference.
* @see #setError(org.eclipse.mdht.uml.fhir.core.datatype.String)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getSubscription_Error()
* @model
* @generated
*/
org.eclipse.mdht.uml.fhir.core.datatype.String getError();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Subscription#getError <em>Error</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Error</em>' reference.
* @see #getError()
* @generated
*/
void setError(org.eclipse.mdht.uml.fhir.core.datatype.String value);
/**
* Returns the value of the '<em><b>Channel</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Channel</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Channel</em>' containment reference.
* @see #setChannel(SubscriptionChannel)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getSubscription_Channel()
* @model containment="true" required="true"
* @generated
*/
SubscriptionChannel getChannel();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Subscription#getChannel <em>Channel</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Channel</em>' containment reference.
* @see #getChannel()
* @generated
*/
void setChannel(SubscriptionChannel value);
/**
* Returns the value of the '<em><b>End</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>End</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>End</em>' reference.
* @see #setEnd(Instant)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getSubscription_End()
* @model
* @generated
*/
Instant getEnd();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Subscription#getEnd <em>End</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>End</em>' reference.
* @see #getEnd()
* @generated
*/
void setEnd(Instant value);
/**
* Returns the value of the '<em><b>Tag</b></em>' reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.datatype.Coding}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Tag</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>Tag</em>' reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getSubscription_Tag()
* @model
* @generated
*/
EList<Coding> getTags();
} // Subscription