blob: 37004a074553e2c6434b6432934aa334fd822ab9 [file] [log] [blame]
/*******************************************************************************
* Crown Copyright (c) 2006, 2014, Copyright (c) 2006, 2008 Kestral Computing P/L.
* 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:
* Kestral Computing P/L - initial implementation
* Werner Keil - modularization, integration with other UOMo parts
*******************************************************************************/
package org.eclipse.uomo.ucum.special;
import org.eclipse.uomo.core.ICode;
import org.unitsofmeasurement.quantity.Quantity;
public abstract class SpecialUnitHandler<Q extends Quantity<Q>> implements Quantity<Q>, ICode<String> {
/**
* Used to connect this handler with the case sensitive unit
* @return
*/
public abstract String getCode();
/**
* the alternate units to convert to
* TODO use Unit-API here where possible
* @return
*/
public abstract String getUnits();
}