public class UnitType extends Object
Java class for UnitType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="UnitType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="power" type="{http://www.w3.org/2001/XMLSchema}decimal" default="1" />
<attribute name="factor" type="{http://www.w3.org/2001/XMLSchema}string" default="1" />
<attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
content |
protected String |
description |
protected String |
factor |
protected BigDecimal |
power |
| Constructor and Description |
|---|
UnitType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Used to hold the unit(s) plus possibly the exponent and factor for the units
|
String |
getDescription()
Gets the value of the description property.
|
String |
getFactor()
Gets the value of the factor property.
|
BigDecimal |
getPower()
Gets the value of the power property.
|
void |
setContent(String value)
Sets the value of the content property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setFactor(String value)
Sets the value of the factor property.
|
void |
setPower(BigDecimal value)
Sets the value of the power property.
|
protected String content
protected BigDecimal power
protected String factor
protected String description
public String getContent()
Stringpublic void setContent(String value)
value - allowed object is
Stringpublic BigDecimal getPower()
BigDecimalpublic void setPower(BigDecimal value)
value - allowed object is
BigDecimalpublic String getFactor()
Stringpublic void setFactor(String value)
value - allowed object is
Stringpublic String getDescription()
StringCopyright © 2015–2020. All rights reserved.