public class IntegerDatatype extends NumberDatatype implements Datatype<java.lang.Integer>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Deprecated.
|
Constructor and Description |
---|
IntegerDatatype(org.dom4j.Element element) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.lang.Object value)
Converts value to String.
|
java.lang.String |
format(java.lang.Object value,
java.util.Locale locale)
Converts value to String taking into account local formats.
|
java.lang.Integer |
parse(java.lang.String value)
Parses value from String
|
java.lang.Integer |
parse(java.lang.String value,
java.util.Locale locale)
Parses value from String taking into account local formats
|
java.lang.String |
toString() |
getParameters
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getJavaClass, getName, getSqlType, read, write
@Deprecated public static final java.lang.String NAME
public java.lang.String format(java.lang.Object value)
Datatype
public java.lang.String format(java.lang.Object value, java.util.Locale locale)
Datatype
public java.lang.Integer parse(java.lang.String value) throws java.text.ParseException
Datatype
public java.lang.Integer parse(java.lang.String value, java.util.Locale locale) throws java.text.ParseException
Datatype
public java.lang.String toString()
toString
in class java.lang.Object