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.hl7.fhir.utilities.ucum; 013 014public class BaseUnit extends Unit { 015 016 017 /** 018 * abbrevation for property 019 */ 020 private char dim; 021 022 /** 023 * @param code 024 * @param codeUC 025 */ 026 public BaseUnit(String code, String codeUC) { 027 super(ConceptKind.BASEUNIT, code, codeUC); 028 } 029 030 /** 031 * @return the dim 032 */ 033 public char getDim() { 034 return dim; 035 } 036 037 /** 038 * @param dim the dim to set 039 */ 040 public void setDim(char dim) { 041 this.dim = dim; 042 } 043 044 045}