public abstract class SimpleFormat extends Format
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleFormat.FBigDec |
static class |
SimpleFormat.FBigInt |
static class |
SimpleFormat.FBool |
static class |
SimpleFormat.FByte |
static class |
SimpleFormat.FChar |
static class |
SimpleFormat.FDate |
static class |
SimpleFormat.FDouble |
static class |
SimpleFormat.FFloat |
static class |
SimpleFormat.FInt |
static class |
SimpleFormat.FLong |
static class |
SimpleFormat.FShort |
static class |
SimpleFormat.FString |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPrimitive()
Returns whether this type is a Java primitive: char, byte, short, int,
long, float or double.
|
boolean |
isSimple()
Returns whether this is a
simple type:
primitive, primitive wrapper, BigInteger, BigDecimal, String or Date.
|
Object |
readObject(Object o,
EntityInput input,
boolean rawAccess)
Called after newInstance() to read the rest of the data bytes and fill
in the object contents.
|
allowEvolveFromProxy, getAccessor, getClassMetadata, getClassName, getComponentType, getDimensions, getEntityMetadata, getEnumConstants, getFields, getId, getOldKeyName, getPreviousVersion, getSuperType, getVersion, initializeReader, isArray, isDeleted, isEnum, newInstance, readPriKey, toStringpublic boolean isSimple()
RawTypeIf true is returned, RawType.isPrimitive() can be called for more
information, and a raw value of this type is represented as a simple
type object (not as a RawObject).
If false is returned, this is a complex type, an array type (see
RawType.isArray()), or an enum type, and a raw value of this type is
represented as a RawObject.
public boolean isPrimitive()
RawTypeIf true is returned, this is also a simple type. In other words, primitive types are a subset of simple types.
If true is returned, a raw value of this type is represented as a
non-null instance of the primitive type's wrapper class. For example,
an int raw value is represented as an
Integer.
isPrimitive in interface RawTypeisPrimitive in class Formatpublic Object readObject(Object o, EntityInput input, boolean rawAccess)
FormatreadObject in class FormatCopyright © 2024. All rights reserved.