blob: e18772b99cf55fefa009d0a52ce82f3ea79b1325 [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.operations;
import java.math.BigDecimal;
import org.eclipse.mdht.uml.hl7.datatypes.PQ;
/**
* <!-- begin-user-doc -->
* A static utility class that provides operations related to '<em><b>PQ</b></em>' model objects.
* <!-- end-user-doc -->
*
* <p>
* The following operations are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.mdht.uml.hl7.datatypes.PQ#setValue(java.lang.Double) <em>Set Value</em>}</li>
* </ul>
*
* @generated
*/
public class PQOperations extends ANYOperations {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected PQOperations() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated NOT
*/
public static void setValue(PQ pq, Double newValue) {
if (newValue != null) {
pq.setValue(BigDecimal.valueOf(newValue.doubleValue()));
} else {
pq.setValue((BigDecimal) null);
}
}
} // PQOperations