Package org.omg.space.xtce
Class NumberToStringType.NumberFormat
- java.lang.Object
-
- org.omg.space.xtce.NumberToStringType.NumberFormat
-
- Enclosing class:
- NumberToStringType
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected BigIntegermaximumFractionDigitsprotected BigIntegermaximumIntegerDigitsprotected BigIntegerminimumFractionDigitsprotected BigIntegerminimumIntegerDigitsprotected StringnegativePrefixprotected StringnegativeSuffixprotected Stringnotationprotected RadixTypenumberBaseprotected StringpositivePrefixprotected StringpositiveSuffixprotected BooleanshowThousandsGrouping
-
Constructor Summary
Constructors Constructor Description NumberFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegergetMaximumFractionDigits()Gets the value of the maximumFractionDigits property.BigIntegergetMaximumIntegerDigits()Gets the value of the maximumIntegerDigits property.BigIntegergetMinimumFractionDigits()Gets the value of the minimumFractionDigits property.BigIntegergetMinimumIntegerDigits()Gets the value of the minimumIntegerDigits property.StringgetNegativePrefix()Gets the value of the negativePrefix property.StringgetNegativeSuffix()Gets the value of the negativeSuffix property.StringgetNotation()Gets the value of the notation property.RadixTypegetNumberBase()Gets the value of the numberBase property.StringgetPositivePrefix()Gets the value of the positivePrefix property.StringgetPositiveSuffix()Gets the value of the positiveSuffix property.booleanisShowThousandsGrouping()Gets the value of the showThousandsGrouping property.voidsetMaximumFractionDigits(BigInteger value)Sets the value of the maximumFractionDigits property.voidsetMaximumIntegerDigits(BigInteger value)Sets the value of the maximumIntegerDigits property.voidsetMinimumFractionDigits(BigInteger value)Sets the value of the minimumFractionDigits property.voidsetMinimumIntegerDigits(BigInteger value)Sets the value of the minimumIntegerDigits property.voidsetNegativePrefix(String value)Sets the value of the negativePrefix property.voidsetNegativeSuffix(String value)Sets the value of the negativeSuffix property.voidsetNotation(String value)Sets the value of the notation property.voidsetNumberBase(RadixType value)Sets the value of the numberBase property.voidsetPositivePrefix(String value)Sets the value of the positivePrefix property.voidsetPositiveSuffix(String value)Sets the value of the positiveSuffix property.voidsetShowThousandsGrouping(Boolean value)Sets the value of the showThousandsGrouping property.
-
-
-
Field Detail
-
numberBase
protected RadixType numberBase
-
minimumFractionDigits
protected BigInteger minimumFractionDigits
-
maximumFractionDigits
protected BigInteger maximumFractionDigits
-
minimumIntegerDigits
protected BigInteger minimumIntegerDigits
-
maximumIntegerDigits
protected BigInteger maximumIntegerDigits
-
negativeSuffix
protected String negativeSuffix
-
positiveSuffix
protected String positiveSuffix
-
negativePrefix
protected String negativePrefix
-
positivePrefix
protected String positivePrefix
-
showThousandsGrouping
protected Boolean showThousandsGrouping
-
notation
protected String notation
-
-
Method Detail
-
getNumberBase
public RadixType getNumberBase()
Gets the value of the numberBase property.- Returns:
- possible object is
RadixType
-
setNumberBase
public void setNumberBase(RadixType value)
Sets the value of the numberBase property.- Parameters:
value- allowed object isRadixType
-
getMinimumFractionDigits
public BigInteger getMinimumFractionDigits()
Gets the value of the minimumFractionDigits property.- Returns:
- possible object is
BigInteger
-
setMinimumFractionDigits
public void setMinimumFractionDigits(BigInteger value)
Sets the value of the minimumFractionDigits property.- Parameters:
value- allowed object isBigInteger
-
getMaximumFractionDigits
public BigInteger getMaximumFractionDigits()
Gets the value of the maximumFractionDigits property.- Returns:
- possible object is
BigInteger
-
setMaximumFractionDigits
public void setMaximumFractionDigits(BigInteger value)
Sets the value of the maximumFractionDigits property.- Parameters:
value- allowed object isBigInteger
-
getMinimumIntegerDigits
public BigInteger getMinimumIntegerDigits()
Gets the value of the minimumIntegerDigits property.- Returns:
- possible object is
BigInteger
-
setMinimumIntegerDigits
public void setMinimumIntegerDigits(BigInteger value)
Sets the value of the minimumIntegerDigits property.- Parameters:
value- allowed object isBigInteger
-
getMaximumIntegerDigits
public BigInteger getMaximumIntegerDigits()
Gets the value of the maximumIntegerDigits property.- Returns:
- possible object is
BigInteger
-
setMaximumIntegerDigits
public void setMaximumIntegerDigits(BigInteger value)
Sets the value of the maximumIntegerDigits property.- Parameters:
value- allowed object isBigInteger
-
getNegativeSuffix
public String getNegativeSuffix()
Gets the value of the negativeSuffix property.- Returns:
- possible object is
String
-
setNegativeSuffix
public void setNegativeSuffix(String value)
Sets the value of the negativeSuffix property.- Parameters:
value- allowed object isString
-
getPositiveSuffix
public String getPositiveSuffix()
Gets the value of the positiveSuffix property.- Returns:
- possible object is
String
-
setPositiveSuffix
public void setPositiveSuffix(String value)
Sets the value of the positiveSuffix property.- Parameters:
value- allowed object isString
-
getNegativePrefix
public String getNegativePrefix()
Gets the value of the negativePrefix property.- Returns:
- possible object is
String
-
setNegativePrefix
public void setNegativePrefix(String value)
Sets the value of the negativePrefix property.- Parameters:
value- allowed object isString
-
getPositivePrefix
public String getPositivePrefix()
Gets the value of the positivePrefix property.- Returns:
- possible object is
String
-
setPositivePrefix
public void setPositivePrefix(String value)
Sets the value of the positivePrefix property.- Parameters:
value- allowed object isString
-
isShowThousandsGrouping
public boolean isShowThousandsGrouping()
Gets the value of the showThousandsGrouping property.- Returns:
- possible object is
Boolean
-
setShowThousandsGrouping
public void setShowThousandsGrouping(Boolean value)
Sets the value of the showThousandsGrouping property.- Parameters:
value- allowed object isBoolean
-
getNotation
public String getNotation()
Gets the value of the notation property.- Returns:
- possible object is
String
-
-