public class DataNucleusExternalizer extends DefaultExternalizer
BYTES_0, constructors, dynamicClass, orderedFields, orderedSetterFields| Constructor and Description |
|---|
DataNucleusExternalizer() |
| Modifier and Type | Method and Description |
|---|---|
int |
accept(Class<?> clazz) |
protected void |
deserializeDetachedState(javax.jdo.spi.Detachable pc,
byte[] data) |
List<Property> |
findOrderedFields(Class<?> clazz,
boolean returnSettersWhenAvailable) |
protected static Object |
getVersion(Object entity) |
protected boolean |
isEmbeddable(Class<?> clazz) |
protected boolean |
isRegularEntity(Class<?> clazz) |
protected Object |
newCollection(AbstractExternalizablePersistentCollection value,
Property field) |
Object |
newInstance(String type,
ObjectInput in) |
void |
readExternal(Object o,
ObjectInput in) |
protected byte[] |
serializeDetachedState(Object[] detachedState) |
void |
writeExternal(Object o,
ObjectOutput out) |
configure, findDefaultConstructor, findOrderedFields, isPropertyIgnored, isPropertyIgnored, isValueIgnoredpublic DataNucleusExternalizer()
public Object newInstance(String type, ObjectInput in) throws IOException, ClassNotFoundException, InstantiationException, InvocationTargetException, IllegalAccessException
newInstance in interface ExternalizernewInstance in class DefaultExternalizerIOExceptionClassNotFoundExceptionInstantiationExceptionInvocationTargetExceptionIllegalAccessExceptionpublic void readExternal(Object o, ObjectInput in) throws IOException, ClassNotFoundException, IllegalAccessException
readExternal in interface ExternalizerreadExternal in class DefaultExternalizerIOExceptionClassNotFoundExceptionIllegalAccessExceptionprotected Object newCollection(AbstractExternalizablePersistentCollection value, Property field)
public void writeExternal(Object o, ObjectOutput out) throws IOException, IllegalAccessException
writeExternal in interface ExternalizerwriteExternal in class DefaultExternalizerIOExceptionIllegalAccessExceptionpublic int accept(Class<?> clazz)
accept in interface Externalizeraccept in class DefaultExternalizerprotected boolean isRegularEntity(Class<?> clazz)
protected boolean isEmbeddable(Class<?> clazz)
public List<Property> findOrderedFields(Class<?> clazz, boolean returnSettersWhenAvailable)
findOrderedFields in class DefaultExternalizerprotected byte[] serializeDetachedState(Object[] detachedState)
protected void deserializeDetachedState(javax.jdo.spi.Detachable pc, byte[] data)
protected static Object getVersion(Object entity)