/******************************************************************************* | |
* Crown Copyright (c) 2006, 2008, 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 | |
*******************************************************************************/ | |
package org.eclipse.uomo.ucum.expression; | |
public class Factor extends Component { | |
private int value; | |
/** | |
* | |
*/ | |
public Factor() { | |
super(); | |
// TODO Auto-generated constructor stub | |
} | |
/** | |
* @param value | |
*/ | |
public Factor(int value) { | |
super(); | |
this.value = value; | |
} | |
/** | |
* @return the value | |
*/ | |
public int getValue() { | |
return value; | |
} | |
/** | |
* @param value the value to set | |
*/ | |
public void setValue(int value) { | |
this.value = value; | |
} | |
} |