blob: 28dcea1c05b7dff61f257a4522eacd88987a634a [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.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>CR</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.mdht.uml.hl7.datatypes.CR#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.mdht.uml.hl7.datatypes.CR#getValue <em>Value</em>}</li>
* <li>{@link org.eclipse.mdht.uml.hl7.datatypes.CR#isInverted <em>Inverted</em>}</li>
* </ul>
*
* @see org.eclipse.mdht.uml.hl7.datatypes.DatatypesPackage#getCR()
* @model
* @generated
*/
public interface CR extends ANY {
/**
* Returns the value of the '<em><b>Name</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</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>Name</em>' containment reference.
* @see #setName(CV)
* @see org.eclipse.mdht.uml.hl7.datatypes.DatatypesPackage#getCR_Name()
* @model containment="true" ordered="false"
* extendedMetaData="namespace='urn:hl7-org:v3'"
* @generated
*/
CV getName();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.hl7.datatypes.CR#getName <em>Name</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' containment reference.
* @see #getName()
* @generated
*/
void setName(CV value);
/**
* Returns the value of the '<em><b>Value</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value</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>Value</em>' containment reference.
* @see #setValue(CD)
* @see org.eclipse.mdht.uml.hl7.datatypes.DatatypesPackage#getCR_Value()
* @model containment="true" ordered="false"
* extendedMetaData="namespace='urn:hl7-org:v3'"
* @generated
*/
CD getValue();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.hl7.datatypes.CR#getValue <em>Value</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' containment reference.
* @see #getValue()
* @generated
*/
void setValue(CD value);
/**
* Returns the value of the '<em><b>Inverted</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Inverted</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Inverted</em>' attribute.
* @see #setInverted(boolean)
* @see org.eclipse.mdht.uml.hl7.datatypes.DatatypesPackage#getCR_Inverted()
* @model default="false" dataType="org.eclipse.uml2.types.Boolean" ordered="false"
* @generated
*/
boolean isInverted();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.hl7.datatypes.CR#isInverted <em>Inverted</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Inverted</em>' attribute.
* @see #isInverted()
* @generated
*/
void setInverted(boolean 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='(self.isNullFlavorDefined() or self.isDefined(\'value\')) and not(self.isNullFlavorDefined() and self.isDefined(\'value\'))'"
* @generated
*/
boolean validateCR(DiagnosticChain diagnostics, Map<Object, Object> context);
} // CR