de.grogra.persistence
public class SCOType extends ManageableType
| Modifier and Type | Class and Description |
|---|---|
class |
SCOType.Field |
ManageableType.ArrayComponent| Modifier and Type | Field and Description |
|---|---|
protected static SCOType |
$TYPE |
protected static int |
FIELD_COUNT |
protected java.lang.Object |
representative |
FIELD_NAME_SERIALIZATION, FIELD_NODE_SERIALIZATION, finished, LIST_SERIALIZATIONBOOLEAN, BYTE, CHAR, CLASS, DOUBLE, FLOAT, FLOATING_POINT, INT, INTEGRAL, INVALID, LOCAL_CLASS_MODIFIERS, LONG, MEMBER_CLASS_MODIFIERS, MEMBER_INTERFACE_MODIFIERS, NULL, NUMBER, NUMERIC, OBJECT, SHORT, STRING, TEXTAREA, TOP_LEVEL_CLASS_MODIFIERS, TOP_LEVEL_INTERFACE_MODIFIERS, TYPE, TYPE_0, VOIDABSTRACT, ACCESS_MODIFIERS, ARRAY, BRIDGE, CONSTANT, FINAL, INTERFACE, JAVA_MODIFIERS, LOCAL_CLASS, MIN_UNUSED_MODIFIER, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SYNCHRONIZED, SYNTHETIC, TRANSIENT, VARARGS, VOLATILE| Constructor and Description |
|---|
SCOType(java.lang.Class type,
SCOType supertype) |
SCOType(java.lang.Object representative,
SCOType supertype) |
SCOType(Type type,
SCOType supertype) |
| Modifier and Type | Method and Description |
|---|---|
protected SCOType.Field |
addManagedField(java.lang.String name,
int modifiers,
java.lang.Class type,
java.lang.Class componentType,
int id) |
protected SCOType.Field |
addManagedField(java.lang.String name,
int modifiers,
Type type,
Type componentType,
int id) |
protected boolean |
getBoolean(java.lang.Object object,
int id) |
protected byte |
getByte(java.lang.Object object,
int id) |
protected char |
getChar(java.lang.Object object,
int id) |
protected double |
getDouble(java.lang.Object object,
int id) |
protected float |
getFloat(java.lang.Object object,
int id) |
protected int |
getInt(java.lang.Object object,
int id) |
protected long |
getLong(java.lang.Object object,
int id) |
protected java.lang.Object |
getObject(java.lang.Object object,
int id) |
java.lang.Object |
getRepresentative() |
protected short |
getShort(java.lang.Object object,
int id) |
protected boolean |
isWritable(java.lang.Object object,
SCOType.Field field) |
java.lang.Object |
newInstance() |
protected java.lang.Object |
newInstance(java.lang.Object repr) |
protected void |
setBoolean(java.lang.Object object,
int id,
boolean value) |
protected void |
setByte(java.lang.Object object,
int id,
byte value) |
protected void |
setChar(java.lang.Object object,
int id,
char value) |
protected void |
setDouble(java.lang.Object object,
int id,
double value) |
protected void |
setFloat(java.lang.Object object,
int id,
float value) |
protected void |
setInt(java.lang.Object object,
int id,
int value) |
protected void |
setLong(java.lang.Object object,
int id,
long value) |
protected void |
setObject(java.lang.Object object,
int id,
java.lang.Object value) |
protected void |
setShort(java.lang.Object object,
int id,
short value) |
ManageableType |
validate() |
addManagedField, cloneManageable, cloneNonsharedObject, cloneObject, cloneObject, forClass, forName, forType, getFCOFields, getManageableSupertype, getManagedField, getManagedField, getManagedFieldCount, getSerializationMethod, getSupertype, isAssignableFrom, isSerializable, read, readObject, replaceType, resolveAliasField, setObject, setSerializable, setSerializationMethod, writecreateArray, getArrayType, getBinaryName, getComponentType, getDeclaredField, getDeclaredFieldCount, getDeclaredInterface, getDeclaredInterfaceCount, getDeclaredMethod, getDeclaredMethodCount, getDeclaredType, getDeclaredTypeCount, getDefaultElementValue, getImplementationClass, getLookup, getPackage, getTypeId, getTypeLoader, isInstance, isStringSerializable, toString, undecorate, valueOfgetDeclaredAnnotation, getDeclaredAnnotationCount, getDeclaringType, getDecoratedMember, getDescriptor, getModifiers, getName, getSimpleNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDeclaredAnnotation, getDeclaredAnnotationCount, getDeclaringType, getDescriptor, getModifiers, getName, getSimpleNameprotected static final SCOType $TYPE
protected static final int FIELD_COUNT
protected final java.lang.Object representative
public SCOType(java.lang.Class type,
SCOType supertype)
public SCOType(java.lang.Object representative,
SCOType supertype)
protected final SCOType.Field addManagedField(java.lang.String name, int modifiers, java.lang.Class type, java.lang.Class componentType, int id)
protected final SCOType.Field addManagedField(java.lang.String name, int modifiers, Type type, Type componentType, int id)
protected boolean getBoolean(java.lang.Object object,
int id)
protected byte getByte(java.lang.Object object,
int id)
protected char getChar(java.lang.Object object,
int id)
protected double getDouble(java.lang.Object object,
int id)
protected float getFloat(java.lang.Object object,
int id)
protected int getInt(java.lang.Object object,
int id)
protected long getLong(java.lang.Object object,
int id)
protected java.lang.Object getObject(java.lang.Object object,
int id)
public java.lang.Object getRepresentative()
getRepresentative in class ManageableTypeprotected short getShort(java.lang.Object object,
int id)
protected boolean isWritable(java.lang.Object object,
SCOType.Field field)
public java.lang.Object newInstance()
throws java.lang.reflect.InvocationTargetException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
newInstance in interface TypenewInstance in class TypeDecoratorjava.lang.reflect.InvocationTargetExceptionjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionprotected java.lang.Object newInstance(java.lang.Object repr)
throws java.lang.reflect.InvocationTargetException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetExceptionjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionprotected void setBoolean(java.lang.Object object,
int id,
boolean value)
protected void setByte(java.lang.Object object,
int id,
byte value)
protected void setChar(java.lang.Object object,
int id,
char value)
protected void setDouble(java.lang.Object object,
int id,
double value)
protected void setFloat(java.lang.Object object,
int id,
float value)
protected void setInt(java.lang.Object object,
int id,
int value)
protected void setLong(java.lang.Object object,
int id,
long value)
protected void setObject(java.lang.Object object,
int id,
java.lang.Object value)
protected void setShort(java.lang.Object object,
int id,
short value)
public ManageableType validate()
validate in class ManageableType