public class NumberMatch extends Bean
SERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
NumberMatch() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFractionPart() |
Number |
getNumber() |
NumberDescriptor |
getNumberDescriptor() |
String |
getSource() |
String |
getWholePart() |
boolean |
isLeadingZeroWholeNumber()
Returns
true when this match is a non-negative whole number whose digits start with
'0' and span more than one digit (e.g. |
NumberMatch |
setFractionPart(String fractionPart) |
NumberMatch |
setNumberDescriptor(NumberDescriptor numberDescriptor) |
NumberMatch |
setSource(String source) |
NumberMatch |
setWholePart(String wholePart) |
String |
toString()
Returns a basic JSON representation of this instance.
|
addExceptionProperties, fromRecord, toRecordclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, fromXmlElement, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, toXmlElement, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exceptionpublic NumberDescriptor getNumberDescriptor()
public NumberMatch setNumberDescriptor(NumberDescriptor numberDescriptor)
public String getSource()
public NumberMatch setSource(String source)
public String getWholePart()
public NumberMatch setWholePart(String wholePart)
public String getFractionPart()
public NumberMatch setFractionPart(String fractionPart)
public boolean isLeadingZeroWholeNumber()
true when this match is a non-negative whole number whose digits start with
'0' and span more than one digit (e.g. "00", "007", "00123").
A single "0", any negative value (e.g. "-007"), and any value with a fraction
(e.g. "0.5") return false. Such leading-zero whole numbers are typically
codes/identifiers and are inferred as String.
public Number getNumber()
Copyright (c) 2006-2026 North Concepts Inc. All Rights Reserved.