| |
|
| java.lang.Object com.tc.object.LiteralValues
LiteralValues | public class LiteralValues (Code) | | Responsible for handling literal values
|
ARRAY | final public static int ARRAY(Code) | | |
BIG_DECIMAL | final public static int BIG_DECIMAL(Code) | | |
BIG_INTEGER | final public static int BIG_INTEGER(Code) | | |
BOOLEAN | final public static int BOOLEAN(Code) | | |
BYTE | final public static int BYTE(Code) | | |
CHARACTER | final public static int CHARACTER(Code) | | |
CURRENCY | final public static int CURRENCY(Code) | | |
DOUBLE | final public static int DOUBLE(Code) | | |
ENUM | final public static int ENUM(Code) | | |
ENUM_CLASS_DOTS | final public static String ENUM_CLASS_DOTS(Code) | | |
ENUM_HOLDER | final public static int ENUM_HOLDER(Code) | | |
FLOAT | final public static int FLOAT(Code) | | |
INTEGER | final public static int INTEGER(Code) | | NOTE:: READ THIS IF YOU ARE ADDING NEW TYPES TO THIS FILE. XXX:: If you are adding more types, please see
PhysicalStateClassLoader and DNAEncoding. You need to be adding New code in both those classes or else some things
will be broken.
|
JAVA_LANG_CLASS | final public static int JAVA_LANG_CLASS(Code) | | |
JAVA_LANG_CLASSLOADER | final public static int JAVA_LANG_CLASSLOADER(Code) | | |
JAVA_LANG_CLASSLOADER_HOLDER | final public static int JAVA_LANG_CLASSLOADER_HOLDER(Code) | | |
JAVA_LANG_CLASS_HOLDER | final public static int JAVA_LANG_CLASS_HOLDER(Code) | | |
LONG | final public static int LONG(Code) | | |
OBJECT | final public static int OBJECT(Code) | | |
OBJECT_ID | final public static int OBJECT_ID(Code) | | |
SHORT | final public static int SHORT(Code) | | |
STACK_TRACE_ELEMENT | final public static int STACK_TRACE_ELEMENT(Code) | | |
STRING | final public static int STRING(Code) | | |
STRING_BYTES | final public static int STRING_BYTES(Code) | | |
LiteralValues | public LiteralValues()(Code) | | |
isLiteral | public boolean isLiteral(String className)(Code) | | Determine whether a class is a literal
Parameters: className - Class name True if literal value class |
isLiteralInstance | public boolean isLiteralInstance(Object obj)(Code) | | Determine whether the instance is a literal
Parameters: obj - Instance object, may be null True if literal value instance, false if null or not literal value instance |
valueFor | public int valueFor(Object pojo)(Code) | | Determine LiteralValue code for an instance object
Parameters: pojo - Object instance, should never be null Literal value code for the pojo's class |
valueForClassName | public int valueForClassName(String className)(Code) | | Get literal value code for class name
Parameters: className - Class name, may be null Literal value marker or LiteralValues.OBJECT if className is null |
|
|
|