java.lang.Object
de.grogra.reflect.MemberDecorator
de.grogra.reflect.TypeDecorator
de.grogra.persistence.ManageableType
- Direct Known Subclasses:
Node.NType
,SCOType
-
Nested Class Summary
Modifier and TypeClassDescriptionfinal class
class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
protected boolean
static final int
Fields inherited from interface de.grogra.reflect.Member
ABSTRACT, 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
Fields inherited from interface de.grogra.reflect.Type
BOOLEAN, 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, VOID
-
Constructor Summary
ModifierConstructorDescriptionprotected
ManageableType
(Type type, ManageableType supertype, boolean register) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
protected Object
cloneManageable
(Object o, boolean deep) protected Object
cloneNonsharedObject
(Object o, boolean deep) static Object
cloneObject
(Type t, Object o, boolean deep, boolean cloneShared) final Object
cloneObject
(Object o, boolean deep) static ManageableType
static ManageableType
static ManageableType
final ManageableType.Field[]
final ManageableType
final ManageableType.Field
getManagedField
(int fieldId) final ManageableType.Field
getManagedField
(String name) final int
abstract Object
final int
final Type
final boolean
final boolean
static final Object
read
(ManageableType.Field field, PersistenceInput in) readObject
(PersistenceInput in, Object placeIn, boolean fieldsProvided) protected final void
replaceType
(ManageableType.Field field, Type newType) resolveAliasField
(String name) final void
setSerializable
(boolean serializable) final void
setSerializationMethod
(int serializationMethod) validate()
void
write
(Object value, PersistenceOutput out, boolean onlyDiff) Methods inherited from class de.grogra.reflect.TypeDecorator
createArray, getArrayType, getBinaryName, getComponentType, getDeclaredField, getDeclaredFieldCount, getDeclaredInterface, getDeclaredInterfaceCount, getDeclaredMethod, getDeclaredMethodCount, getDeclaredType, getDeclaredTypeCount, getDefaultElementValue, getImplementationClass, getLookup, getPackage, getTypeId, getTypeLoader, isInstance, isStringSerializable, newInstance, toString, undecorate, valueOf
Methods inherited from class de.grogra.reflect.MemberDecorator
getDeclaredAnnotation, getDeclaredAnnotationCount, getDeclaringType, getDecoratedMember, getDescriptor, getModifiers, getName, getSimpleName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.grogra.reflect.Member
getDeclaredAnnotation, getDeclaredAnnotationCount, getDeclaringType, getDescriptor, getModifiers, getName, getSimpleName
-
Field Details
-
LIST_SERIALIZATION
public static final int LIST_SERIALIZATION- See Also:
-
FIELD_NAME_SERIALIZATION
public static final int FIELD_NAME_SERIALIZATION- See Also:
-
FIELD_NODE_SERIALIZATION
public static final int FIELD_NODE_SERIALIZATION- See Also:
-
finished
protected boolean finished
-
-
Constructor Details
-
ManageableType
-
-
Method Details
-
getSupertype
- Specified by:
getSupertype
in interfaceType
- Overrides:
getSupertype
in classTypeDecorator
-
getManageableSupertype
-
isAssignableFrom
-
setSerializationMethod
public final void setSerializationMethod(int serializationMethod) -
setSerializable
public final void setSerializable(boolean serializable) -
isSerializable
public final boolean isSerializable() -
getSerializationMethod
public final int getSerializationMethod() -
addManagedField
-
getManagedFieldCount
public final int getManagedFieldCount() -
getManagedField
-
getManagedField
-
resolveAliasField
-
getFCOFields
-
setObject
-
getRepresentative
-
validate
-
replaceType
-
write
- Throws:
IOException
-
readObject
public Object readObject(PersistenceInput in, Object placeIn, boolean fieldsProvided) throws IOException - Throws:
IOException
-
read
- Throws:
IOException
-
cloneObject
- Specified by:
cloneObject
in interfaceType
- Overrides:
cloneObject
in classTypeDecorator
- Throws:
CloneNotSupportedException
-
cloneManageable
- Throws:
CloneNotSupportedException
-
cloneObject
public static Object cloneObject(Type t, Object o, boolean deep, boolean cloneShared) throws CloneNotSupportedException - Throws:
CloneNotSupportedException
-
forName
-
forType
-
forClass
-