public class NumberDescriptor extends Bean
SERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
NumberDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
NumberDescriptor |
expandToFit(NumberDescriptor other) |
NumberDescriptor |
fromBigDecimal(BigDecimal bigDecimal) |
NumberDescriptor |
fromBigInteger(BigInteger bigInteger) |
NumberDescriptor |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
NumberDescriptor |
fromXmlElement(Element element) |
FieldType |
getFieldType() |
int |
getFractionDigits() |
int |
getPrecision() |
int |
getScale() |
int |
getWholeDigits() |
int |
hashCode() |
boolean |
isNegative() |
boolean |
isSigned() |
Number |
parseNumber(String value) |
NumberDescriptor |
setFractionDigits(int fractionDigits) |
NumberDescriptor |
setNegative(boolean negative) |
NumberDescriptor |
setWholeDigits(int wholeDigits) |
Record |
toRecord() |
String |
toString()
Returns a basic JSON representation of this instance.
|
Element |
toXmlElement(Document document) |
addExceptionPropertiesclone, finalize, getClass, notify, notifyAll, wait, wait, waitfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exceptionpublic boolean isNegative()
public NumberDescriptor setNegative(boolean negative)
public int getWholeDigits()
public NumberDescriptor setWholeDigits(int wholeDigits)
public int getFractionDigits()
public NumberDescriptor setFractionDigits(int fractionDigits)
public boolean isSigned()
public int getPrecision()
public int getScale()
public FieldType getFieldType()
public NumberDescriptor expandToFit(NumberDescriptor other)
public NumberDescriptor fromBigDecimal(BigDecimal bigDecimal)
public NumberDescriptor fromBigInteger(BigInteger bigInteger)
public String toString()
Beanpublic Record toRecord()
toRecord in interface RecordSerializabletoRecord in class Beanpublic NumberDescriptor fromRecord(Record source)
RecordSerializablethis (for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord in interface RecordSerializablefromRecord in class Beanpublic NumberDescriptor fromXmlElement(Element element)
Copyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.