001/******************************************************************************* 002 * Crown Copyright (c) 2006 - 2014, Copyright (c) 2006 - 2014 Kestral Computing P/L. 003 * All rights reserved. This program and the accompanying materials 004 * are made available under the terms of the Eclipse Public License v1.0 005 * which accompanies this distribution, and is available at 006 * http://www.eclipse.org/legal/epl-v10.html 007 * 008 * Contributors: 009 * Kestral Computing P/L - initial implementation 010 *******************************************************************************/ 011 012package org.fhir.ucum; 013 014public class Pair { 015 016 private Decimal value; 017 private String code; 018 019 020 /** 021 * @param value 022 * @param code 023 */ 024 public Pair(Decimal value, String code) { 025 super(); 026 this.value = value; 027 this.code = code; 028 } 029 /** 030 * @return the value 031 */ 032 public Decimal getValue() { 033 return value; 034 } 035 /** 036 * @return the code 037 */ 038 public String getCode() { 039 return code; 040 } 041 042}