T - the generic typepublic abstract class MValue<T> extends Object implements ModelElement<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
MValue.MBool
The model boolean class
|
static class |
MValue.MByte
The model byte class
|
static class |
MValue.MChar
The model class for string values
|
static class |
MValue.MDouble
The model double class
|
static class |
MValue.MEnum<T extends Enum<T>>
The class for java enum instances
|
static class |
MValue.MFloat |
static class |
MValue.MInt
The model integer class
|
static class |
MValue.MJavaDate
The model class for java dates
|
static class |
MValue.MLong
The model long class
|
static class |
MValue.MShort
The model short class
|
static class |
MValue.MSqlDate
The model class for query dates
|
static class |
MValue.MString
The model class for string values
|
| Constructor and Description |
|---|
MValue(Token tok,
String typeName,
CustomParseException.Message errMessage,
String value)
Instantiates a new m value.
|
| Modifier and Type | Method and Description |
|---|---|
T |
asEhcacheObject(ClassLoader loader) |
protected void |
cacheJavaObject() |
protected abstract T |
constructJavaObject()
As java object.
|
boolean |
equals(Object obj) |
String |
getTypeName()
Gets the type name.
|
String |
getValue()
Gets the value.
|
int |
hashCode() |
String |
toString() |
public MValue(Token tok, String typeName, CustomParseException.Message errMessage, String value)
typeName - the type namevalue - the valuepublic T asEhcacheObject(ClassLoader loader)
asEhcacheObject in interface ModelElement<T>protected void cacheJavaObject()
throws CustomParseException
CustomParseExceptionpublic String getTypeName()
public String getValue()
protected abstract T constructJavaObject()
Copyright © 2003–2024 Terracotta, Inc.. All rights reserved.