Package org.omg.space.xtce
Class UnitType
- java.lang.Object
-
- org.omg.space.xtce.UnitType
-
public class UnitType extends Object
Used to hold the unit(s) plus possibly the exponent and factor for the unitsJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcontentprotected Stringdescriptionprotected Stringfactorprotected BigDecimalpower
-
Constructor Summary
Constructors Constructor Description UnitType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()Used to hold the unit(s) plus possibly the exponent and factor for the unitsStringgetDescription()Gets the value of the description property.StringgetFactor()Gets the value of the factor property.BigDecimalgetPower()Gets the value of the power property.voidsetContent(String value)Sets the value of the content property.voidsetDescription(String value)Sets the value of the description property.voidsetFactor(String value)Sets the value of the factor property.voidsetPower(BigDecimal value)Sets the value of the power property.
-
-
-
Field Detail
-
content
protected String content
-
power
protected BigDecimal power
-
factor
protected String factor
-
description
protected String description
-
-
Method Detail
-
getContent
public String getContent()
Used to hold the unit(s) plus possibly the exponent and factor for the units- Returns:
- possible object is
String
-
setContent
public void setContent(String value)
Sets the value of the content property.- Parameters:
value- allowed object isString
-
getPower
public BigDecimal getPower()
Gets the value of the power property.- Returns:
- possible object is
BigDecimal
-
setPower
public void setPower(BigDecimal value)
Sets the value of the power property.- Parameters:
value- allowed object isBigDecimal
-
getFactor
public String getFactor()
Gets the value of the factor property.- Returns:
- possible object is
String
-
setFactor
public void setFactor(String value)
Sets the value of the factor property.- Parameters:
value- allowed object isString
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
-