public class QuantityType
extends java.lang.Object
Java class for QuantityType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="QuantityType"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>double"> <attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}token" /> </extension> </simpleContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
unit |
protected double |
value |
Constructor and Description |
---|
QuantityType() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getUnit()
Gets the value of the unit property.
|
double |
getValue()
Gets the value of the value property.
|
void |
setUnit(java.lang.String value)
Sets the value of the unit property.
|
void |
setValue(double value)
Sets the value of the value property.
|
public double getValue()
public void setValue(double value)
public java.lang.String getUnit()
String
public void setUnit(java.lang.String value)
value
- the value
allowed object is
String
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.