public class ObjectType extends java.lang.Object implements DataType
DataType.IDBooleanPattern, DatePattern, DateTimePattern, DoublePattern, IntPattern, LongPattern, TimePattern| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Class |
getObjectClass()
Returns the class of objects.
|
DataType.ID |
id()
Returns the type ID enum.
|
boolean |
isBoolean()
Returns true if the type is boolean or Boolean.
|
boolean |
isByte()
Returns true if the type is byte or Byte.
|
boolean |
isChar()
Returns true if the type is char or Char.
|
boolean |
isDouble()
Returns true if the type is double or Double.
|
boolean |
isFloat()
Returns true if the type is float or Float.
|
boolean |
isInt()
Returns true if the type is int or Integer.
|
boolean |
isLong()
Returns true if the type is long or Long.
|
boolean |
isObject()
Returns true if the type is ObjectType.
|
boolean |
isShort()
Returns true if the type is short or Shorter.
|
java.lang.String |
name()
Returns the type name used in external catalogs.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.Object o)
Returns the string representation of a value of the type.
|
java.lang.Object |
valueOf(java.lang.String s)
Returns the value from its string representation.
|
public java.lang.Class getObjectClass()
public boolean isObject()
DataTypepublic boolean isBoolean()
DataTypepublic boolean isChar()
DataTypepublic boolean isByte()
DataTypepublic boolean isShort()
DataTypepublic boolean isInt()
DataTypepublic boolean isLong()
DataTypepublic boolean isFloat()
DataTypepublic boolean isDouble()
DataTypepublic java.lang.String name()
DataTypepublic DataType.ID id()
DataTypepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.Object o)
DataTypepublic java.lang.Object valueOf(java.lang.String s)
DataTypepublic boolean equals(java.lang.Object o)
equals in class java.lang.Object