public class NumberDescriptor extends Bean
SERIALIZED_CLASS_NAME, TYPE
XML_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) |
addExceptionProperties
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecord
newInstanceFromJson
forEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXml
addExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exception
public 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()
Bean
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class Bean
public NumberDescriptor fromRecord(Record source)
RecordSerializable
this
(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 RecordSerializable
fromRecord
in class Bean
public NumberDescriptor fromXmlElement(Element element)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.