public class ObjectDataType extends Object implements DataType
| Constructor and Description |
|---|
ObjectDataType() |
ObjectDataType(String className) |
ObjectDataType(String className,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader() |
String |
getClassName() |
String |
getStringType()
Returns the corresponding Java type of this datatype
|
void |
readExternal(ObjectInput in) |
Object |
readValue(String value) |
void |
setClassLoader(ClassLoader classLoader) |
void |
setClassName(String className) |
boolean |
verifyDataType(Object value)
Returns true if the given value is a valid value of this data type.
|
void |
writeExternal(ObjectOutput out) |
String |
writeValue(Object value) |
public ObjectDataType()
public ObjectDataType(String className)
public ObjectDataType(String className, ClassLoader classLoader)
public String getClassName()
public void setClassName(String className)
public ClassLoader getClassLoader()
public void setClassLoader(ClassLoader classLoader)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic boolean verifyDataType(Object value)
DataTypeverifyDataType in interface DataTypepublic String writeValue(Object value)
writeValue in interface DataTypepublic String getStringType()
DataTypegetStringType in interface DataTypeCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.