java.lang.Object
de.grogra.reflect.MemberDecorator
de.grogra.reflect.TypeDecorator
de.grogra.persistence.ManageableType
- Direct Known Subclasses:
Node.NType,SCOType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal classclass -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intprotected booleanstatic final intFields inherited from interface de.grogra.reflect.Member
ABSTRACT, ACCESS_MODIFIERS, ARRAY, BRIDGE, CONSTANT, FINAL, GLOBAL, INTERFACE, JAVA_MODIFIERS, LOCAL_CLASS, MIN_UNUSED_MODIFIER, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SYNCHRONIZED, SYNTHETIC, TRANSIENT, VARARGS, VOLATILEFields 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
ConstructorsModifierConstructorDescriptionprotectedManageableType(Type type, ManageableType supertype, boolean register) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidprotected ObjectcloneManageable(Object o, boolean deep) protected ObjectcloneNonsharedObject(Object o, boolean deep) static ObjectcloneObject(Type t, Object o, boolean deep, boolean cloneShared) final ObjectcloneObject(Object o, boolean deep) static ManageableTypestatic ManageableTypestatic ManageableTypefinal ManageableType.Field[]final ManageableType.Field[]final ManageableTypefinal ManageableType.FieldgetManagedField(int fieldId) final ManageableType.FieldgetManagedField(String name) final intabstract Objectfinal intfinal Typefinal booleanfinal booleanstatic final Objectread(ManageableType.Field field, PersistenceInput in) readObject(PersistenceInput in, Object placeIn, boolean fieldsProvided) protected final voidreplaceType(ManageableType.Field field, Type newType) resolveAliasField(String name) final voidsetSerializable(boolean serializable) final voidsetSerializationMethod(int serializationMethod) validate()voidwrite(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, getSignature, getTypeId, getTypeLoader, isInstance, isStringSerializable, newInstance, toString, undecorate, valueOfMethods inherited from class de.grogra.reflect.MemberDecorator
getDeclaredAnnotation, getDeclaredAnnotationCount, getDeclaringType, getDecoratedMember, getDescriptor, getModifiers, getName, getSimpleNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getSupertypein interfaceType- Overrides:
getSupertypein 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
-
getDisposableFields
-
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:
cloneObjectin interfaceType- Overrides:
cloneObjectin 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
-