public class MeasureType extends Object
Java class for MeasureType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MeasureType">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>double">
<attribute name="uom" use="required" type="{http://www.opengis.net/gml/3.2}UomIdentifier" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
uom |
protected double |
value |
| Constructor and Description |
|---|
MeasureType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getUom()
Gets the value of the uom property.
|
double |
getValue()
Gets the value of the value property.
|
void |
setUom(String value)
Sets the value of the uom property.
|
void |
setValue(double value)
Sets the value of the value property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
MeasureType |
withUom(String value) |
MeasureType |
withValue(double value) |
protected double value
protected String uom
public double getValue()
public void setValue(double value)
public String getUom()
Stringpublic void setUom(String value)
value - allowed object is
Stringpublic MeasureType withValue(double value)
public MeasureType withUom(String value)
Copyright © 2018 Entur AS. All rights reserved.