public static class NumberToStringType.NumberFormat extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="numberBase" type="{http://www.omg.org/space/xtce}RadixType" default="Decimal" />
<attribute name="minimumFractionDigits" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
<attribute name="maximumFractionDigits" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
<attribute name="minimumIntegerDigits" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
<attribute name="maximumIntegerDigits" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
<attribute name="negativeSuffix" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="positiveSuffix" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="negativePrefix" type="{http://www.w3.org/2001/XMLSchema}string" default="-" />
<attribute name="positivePrefix" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="showThousandsGrouping" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="notation" default="normal">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="normal"/>
<enumeration value="scientific"/>
<enumeration value="engineering"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BigInteger |
maximumFractionDigits |
protected BigInteger |
maximumIntegerDigits |
protected BigInteger |
minimumFractionDigits |
protected BigInteger |
minimumIntegerDigits |
protected String |
negativePrefix |
protected String |
negativeSuffix |
protected String |
notation |
protected RadixType |
numberBase |
protected String |
positivePrefix |
protected String |
positiveSuffix |
protected Boolean |
showThousandsGrouping |
| Constructor and Description |
|---|
NumberFormat() |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getMaximumFractionDigits()
Gets the value of the maximumFractionDigits property.
|
BigInteger |
getMaximumIntegerDigits()
Gets the value of the maximumIntegerDigits property.
|
BigInteger |
getMinimumFractionDigits()
Gets the value of the minimumFractionDigits property.
|
BigInteger |
getMinimumIntegerDigits()
Gets the value of the minimumIntegerDigits property.
|
String |
getNegativePrefix()
Gets the value of the negativePrefix property.
|
String |
getNegativeSuffix()
Gets the value of the negativeSuffix property.
|
String |
getNotation()
Gets the value of the notation property.
|
RadixType |
getNumberBase()
Gets the value of the numberBase property.
|
String |
getPositivePrefix()
Gets the value of the positivePrefix property.
|
String |
getPositiveSuffix()
Gets the value of the positiveSuffix property.
|
boolean |
isShowThousandsGrouping()
Gets the value of the showThousandsGrouping property.
|
void |
setMaximumFractionDigits(BigInteger value)
Sets the value of the maximumFractionDigits property.
|
void |
setMaximumIntegerDigits(BigInteger value)
Sets the value of the maximumIntegerDigits property.
|
void |
setMinimumFractionDigits(BigInteger value)
Sets the value of the minimumFractionDigits property.
|
void |
setMinimumIntegerDigits(BigInteger value)
Sets the value of the minimumIntegerDigits property.
|
void |
setNegativePrefix(String value)
Sets the value of the negativePrefix property.
|
void |
setNegativeSuffix(String value)
Sets the value of the negativeSuffix property.
|
void |
setNotation(String value)
Sets the value of the notation property.
|
void |
setNumberBase(RadixType value)
Sets the value of the numberBase property.
|
void |
setPositivePrefix(String value)
Sets the value of the positivePrefix property.
|
void |
setPositiveSuffix(String value)
Sets the value of the positiveSuffix property.
|
void |
setShowThousandsGrouping(Boolean value)
Sets the value of the showThousandsGrouping property.
|
protected RadixType numberBase
protected BigInteger minimumFractionDigits
protected BigInteger maximumFractionDigits
protected BigInteger minimumIntegerDigits
protected BigInteger maximumIntegerDigits
protected String negativeSuffix
protected String positiveSuffix
protected String negativePrefix
protected String positivePrefix
protected Boolean showThousandsGrouping
protected String notation
public RadixType getNumberBase()
RadixTypepublic void setNumberBase(RadixType value)
value - allowed object is
RadixTypepublic BigInteger getMinimumFractionDigits()
BigIntegerpublic void setMinimumFractionDigits(BigInteger value)
value - allowed object is
BigIntegerpublic BigInteger getMaximumFractionDigits()
BigIntegerpublic void setMaximumFractionDigits(BigInteger value)
value - allowed object is
BigIntegerpublic BigInteger getMinimumIntegerDigits()
BigIntegerpublic void setMinimumIntegerDigits(BigInteger value)
value - allowed object is
BigIntegerpublic BigInteger getMaximumIntegerDigits()
BigIntegerpublic void setMaximumIntegerDigits(BigInteger value)
value - allowed object is
BigIntegerpublic String getNegativeSuffix()
Stringpublic void setNegativeSuffix(String value)
value - allowed object is
Stringpublic String getPositiveSuffix()
Stringpublic void setPositiveSuffix(String value)
value - allowed object is
Stringpublic String getNegativePrefix()
Stringpublic void setNegativePrefix(String value)
value - allowed object is
Stringpublic String getPositivePrefix()
Stringpublic void setPositivePrefix(String value)
value - allowed object is
Stringpublic boolean isShowThousandsGrouping()
Booleanpublic void setShowThousandsGrouping(Boolean value)
value - allowed object is
Booleanpublic String getNotation()
StringCopyright © 2015–2020. All rights reserved.