public abstract class Base extends java.lang.Object implements com.mindfusion.common.Equatable<Base>, java.lang.Comparable<Base>, com.mindfusion.common.Convertible, com.mindfusion.common.Formattable
| Modifier | Constructor and Description |
|---|---|
protected |
Base() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
compareTo(Base other) |
boolean |
isEqualTo(Base other) |
protected Base |
toBlank(java.util.Locale locale) |
boolean |
toBoolean(java.util.Locale locale)
Converts the value of this instance to an equivalent boolean value using
the specified culture-specific formatting information.
|
byte |
toByte(java.util.Locale locale)
Converts the value of this instance to an equivalent byte value using
the specified culture-specific formatting information.
|
char |
toChar(java.util.Locale locale)
Converts the value of this instance to an equivalent char value using
the specified culture-specific formatting information.
|
protected Base |
toCurrency(java.util.Locale locale) |
protected Base |
toDate(java.util.Locale locale) |
com.mindfusion.common.DateTime |
toDateTime(java.util.Locale locale)
Converts the value of this instance to an equivalent
DateTime value using
the specified culture-specific formatting information. |
java.math.BigDecimal |
toDecimal(java.util.Locale locale)
Converts the value of this instance to an equivalent big integer value using
the specified culture-specific formatting information.
|
double |
toDouble(java.util.Locale locale)
Converts the value of this instance to an equivalent double value using
the specified culture-specific formatting information.
|
protected Base |
toError(java.util.Locale locale) |
java.lang.String |
toFormulaString(java.lang.String format,
java.util.Locale locale) |
int |
toInt(java.util.Locale locale)
Converts the value of this instance to an equivalent integer value using
the specified culture-specific formatting information.
|
protected Base |
toLogical(java.util.Locale locale) |
long |
toLong(java.util.Locale locale)
Converts the value of this instance to an equivalent long value using
the specified culture-specific formatting information.
|
protected Base |
toMatrix(java.util.Locale locale) |
protected Base |
toNumber(java.util.Locale locale) |
protected Base |
toNumeric(java.util.Locale locale) |
protected Base |
toPercent(java.util.Locale locale) |
protected Base |
toReference(java.util.Locale locale) |
protected Base |
toSequence(java.util.Locale locale) |
short |
toShort(java.util.Locale locale)
Converts the value of this instance to an equivalent short value using
the specified culture-specific formatting information.
|
float |
toSingle(java.util.Locale locale)
Converts the value of this instance to an equivalent float value using
the specified culture-specific formatting information.
|
java.lang.String |
toString(java.util.Locale locale)
Converts the value of this instance to an equivalent string value using
the specified culture-specific formatting information.
|
abstract java.lang.String |
toString(java.lang.String format,
java.util.Locale locale) |
protected Base |
toText(java.util.Locale locale) |
protected Base |
toTime(java.util.Locale locale) |
<T> java.lang.Object |
toType(java.lang.Class<T> conversionType,
java.util.Locale locale)
Converts the value of this instance to an equivalent value of the specified type using
the specified culture-specific formatting information.
|
public boolean isEqualTo(Base other)
isEqualTo in interface com.mindfusion.common.Equatable<Base>public abstract int compareTo(Base other)
compareTo in interface java.lang.Comparable<Base>public <T> java.lang.Object toType(java.lang.Class<T> conversionType,
java.util.Locale locale)
com.mindfusion.common.ConvertibletoType in interface com.mindfusion.common.Convertiblelocale - An object that supplies culture-specific formatting information.public boolean toBoolean(java.util.Locale locale)
com.mindfusion.common.ConvertibletoBoolean in interface com.mindfusion.common.Convertiblelocale - An object that supplies culture-specific formatting information.public byte toByte(java.util.Locale locale)
com.mindfusion.common.ConvertibletoByte in interface com.mindfusion.common.Convertiblelocale - An object that supplies culture-specific formatting information.public char toChar(java.util.Locale locale)
com.mindfusion.common.ConvertibletoChar in interface com.mindfusion.common.Convertiblelocale - An object that supplies culture-specific formatting information.public com.mindfusion.common.DateTime toDateTime(java.util.Locale locale)
com.mindfusion.common.ConvertibleDateTime value using
the specified culture-specific formatting information.toDateTime in interface com.mindfusion.common.Convertiblelocale - An object that supplies culture-specific formatting information.DateTime value equivalent to the value of this instance.public java.math.BigDecimal toDecimal(java.util.Locale locale)
com.mindfusion.common.ConvertibletoDecimal in interface com.mindfusion.common.Convertiblelocale - An object that supplies culture-specific formatting information.public double toDouble(java.util.Locale locale)
com.mindfusion.common.ConvertibletoDouble in interface com.mindfusion.common.Convertiblelocale - An object that supplies culture-specific formatting information.public short toShort(java.util.Locale locale)
com.mindfusion.common.ConvertibletoShort in interface com.mindfusion.common.Convertiblelocale - An object that supplies culture-specific formatting information.public int toInt(java.util.Locale locale)
com.mindfusion.common.ConvertibletoInt in interface com.mindfusion.common.Convertiblelocale - An object that supplies culture-specific formatting information.public long toLong(java.util.Locale locale)
com.mindfusion.common.ConvertibletoLong in interface com.mindfusion.common.Convertiblelocale - An object that supplies culture-specific formatting information.public float toSingle(java.util.Locale locale)
com.mindfusion.common.ConvertibletoSingle in interface com.mindfusion.common.Convertiblelocale - An object that supplies culture-specific formatting information.public java.lang.String toString(java.util.Locale locale)
com.mindfusion.common.ConvertibletoString in interface com.mindfusion.common.Convertiblelocale - An object that supplies culture-specific formatting information.protected Base toNumber(java.util.Locale locale)
protected Base toDate(java.util.Locale locale)
protected Base toTime(java.util.Locale locale)
protected Base toLogical(java.util.Locale locale)
protected Base toPercent(java.util.Locale locale)
protected Base toCurrency(java.util.Locale locale)
protected Base toNumeric(java.util.Locale locale)
protected Base toText(java.util.Locale locale)
protected Base toError(java.util.Locale locale)
protected Base toBlank(java.util.Locale locale)
protected Base toReference(java.util.Locale locale)
protected Base toMatrix(java.util.Locale locale)
protected Base toSequence(java.util.Locale locale)
public abstract java.lang.String toString(java.lang.String format,
java.util.Locale locale)
toString in interface com.mindfusion.common.Formattablepublic java.lang.String toFormulaString(java.lang.String format,
java.util.Locale locale)