blob: 54669948378dcd1da01667400f68102e1921e6b3 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2011 IBM Corporation 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.mdht.uml.hl7.datatypes;
import java.math.BigDecimal;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>MO</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.mdht.uml.hl7.datatypes.MO#getValue <em>Value</em>}</li>
* <li>{@link org.eclipse.mdht.uml.hl7.datatypes.MO#getCurrency <em>Currency</em>}</li>
* </ul>
*
* @see org.eclipse.mdht.uml.hl7.datatypes.DatatypesPackage#getMO()
* @model
* @generated
*/
public interface MO extends QTY {
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(BigDecimal)
* @see org.eclipse.mdht.uml.hl7.datatypes.DatatypesPackage#getMO_Value()
* @model ordered="false"
* @generated
*/
BigDecimal getValue();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.hl7.datatypes.MO#getValue <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' attribute.
* @see #getValue()
* @generated
*/
void setValue(BigDecimal value);
/**
* Returns the value of the '<em><b>Currency</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Currency</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Currency</em>' attribute.
* @see #setCurrency(String)
* @see org.eclipse.mdht.uml.hl7.datatypes.DatatypesPackage#getMO_Currency()
* @model dataType="org.eclipse.mdht.uml.hl7.datatypes.csType" ordered="false"
* @generated
*/
String getCurrency();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.hl7.datatypes.MO#getCurrency <em>Currency</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Currency</em>' attribute.
* @see #getCurrency()
* @generated
*/
void setCurrency(String value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* @param diagnostics The chain of diagnostics to which problems are to be appended.
* @param context The cache of context-specific information.
* <!-- end-model-doc -->
* @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='not(self.isNullFlavorDefined() and (self.isDefined(\'value\') or self.isDefined(\'currency\')))'"
* @generated
*/
boolean validateMO(DiagnosticChain diagnostics, Map<Object, Object> context);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model newValueRequired="true" newValueOrdered="false"
* @generated
*/
void setValue(Double newValue);
} // MO