blob: d2c6e352863cca6b59427ddd3f1a8fceb0cb93da [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.datatype;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Quantity</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.datatype.Quantity#getValue <em>Value</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.datatype.Quantity#getComparator <em>Comparator</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.datatype.Quantity#getUnit <em>Unit</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.datatype.Quantity#getSystem <em>System</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.datatype.Quantity#getCode <em>Code</em>}</li>
* </ul>
*
* @see org.eclipse.mdht.uml.fhir.core.datatype.FhirDatatypePackage#getQuantity()
* @model
* @generated
*/
public interface Quantity extends DataType {
/**
* Returns the value of the '<em><b>Value</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' reference.
* @see #setValue(Decimal)
* @see org.eclipse.mdht.uml.fhir.core.datatype.FhirDatatypePackage#getQuantity_Value()
* @model
* @generated
*/
Decimal getValue();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.datatype.Quantity#getValue <em>Value</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' reference.
* @see #getValue()
* @generated
*/
void setValue(Decimal value);
/**
* Returns the value of the '<em><b>Comparator</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Comparator</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Comparator</em>' reference.
* @see #setComparator(Code)
* @see org.eclipse.mdht.uml.fhir.core.datatype.FhirDatatypePackage#getQuantity_Comparator()
* @model
* @generated
*/
Code getComparator();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.datatype.Quantity#getComparator <em>Comparator</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Comparator</em>' reference.
* @see #getComparator()
* @generated
*/
void setComparator(Code value);
/**
* Returns the value of the '<em><b>Unit</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Unit</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Unit</em>' reference.
* @see #setUnit(org.eclipse.mdht.uml.fhir.core.datatype.String)
* @see org.eclipse.mdht.uml.fhir.core.datatype.FhirDatatypePackage#getQuantity_Unit()
* @model
* @generated
*/
org.eclipse.mdht.uml.fhir.core.datatype.String getUnit();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.datatype.Quantity#getUnit <em>Unit</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Unit</em>' reference.
* @see #getUnit()
* @generated
*/
void setUnit(org.eclipse.mdht.uml.fhir.core.datatype.String value);
/**
* Returns the value of the '<em><b>System</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>System</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>System</em>' reference.
* @see #setSystem(Uri)
* @see org.eclipse.mdht.uml.fhir.core.datatype.FhirDatatypePackage#getQuantity_System()
* @model
* @generated
*/
Uri getSystem();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.datatype.Quantity#getSystem <em>System</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>System</em>' reference.
* @see #getSystem()
* @generated
*/
void setSystem(Uri value);
/**
* Returns the value of the '<em><b>Code</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Code</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Code</em>' reference.
* @see #setCode(Code)
* @see org.eclipse.mdht.uml.fhir.core.datatype.FhirDatatypePackage#getQuantity_Code()
* @model
* @generated
*/
Code getCode();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.datatype.Quantity#getCode <em>Code</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Code</em>' reference.
* @see #getCode()
* @generated
*/
void setCode(Code value);
} // Quantity