|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.eclipselink.coherence.integrated.internal.cache.SerializableWrapper
public class SerializableWrapper
Purpose: This class is used as a generic wrapper class for non POF serialization. It provides for serialization to a node which may not have the correct dynamic wrapper defined which would otherwise result in an exception.
| Field Summary | |
|---|---|
protected java.lang.Object |
delegate |
protected java.util.Map<java.lang.String,java.lang.Object[]> |
relationships |
protected java.util.Map<java.lang.String,java.lang.Object[]> |
rows |
protected boolean |
shouldMerge |
protected java.lang.String |
wrapperClassName |
| Constructor Summary | |
|---|---|
SerializableWrapper() |
|
| Method Summary | |
|---|---|
java.util.Map |
getForeignKeys() |
java.lang.Object[] |
getForeignKeyValuesFor(java.lang.String propertyName)This method provides access to the foreign key values for the related entities. |
java.util.Map |
getPrimaryKeys() |
java.lang.Object[] |
getPrimaryKeyValuesFor(java.lang.String propertyName)This method provides access to the primary key values for the related entities. |
java.lang.String |
getWrapperClassName() |
void |
setForeignKeys(java.util.Map foreignKeys) |
void |
setForeignKeyValuesFor(java.lang.String propertyName, java.lang.Object[] fks)This method provides access to the foreign key values for queries of the related entities. |
void |
setPrimaryKeys(java.util.Map primaryKeys) |
void |
setPrimaryKeyValuesFor(java.lang.String propertyName, java.lang.Object[] pks)This method provides access to the primary key values for the related entities. |
void |
setShouldMerge(boolean shouldMerge) |
void |
setWrapperClassName(java.lang.String wrapperClassName) |
boolean |
shouldMerge()This method indicates whether Wrapper stored into cache should be merged into the database. |
java.lang.Object |
unwrap()This method provides an access point for the wrapped entity. |
void |
wrap(java.lang.Object entity)This method is used to store the Entity within the wrapper. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Object delegate
protected java.util.Map<java.lang.String,java.lang.Object[]> relationships
protected java.util.Map<java.lang.String,java.lang.Object[]> rows
protected java.lang.String wrapperClassName
protected boolean shouldMerge
| Constructor Detail |
|---|
public SerializableWrapper()
| Method Detail |
|---|
public java.util.Map getForeignKeys()
getForeignKeys in interface WrapperInternalpublic java.util.Map getPrimaryKeys()
getPrimaryKeys in interface WrapperInternalpublic void setForeignKeys(java.util.Map foreignKeys)
setForeignKeys in interface WrapperInternalpublic void setPrimaryKeys(java.util.Map primaryKeys)
setPrimaryKeys in interface WrapperInternalpublic void wrap(java.lang.Object entity)
Wrapperwrap in interface Wrapperwrap in interface WrapperInternalpublic java.lang.Object[] getForeignKeyValuesFor(java.lang.String propertyName)
WrappergetForeignKeyValuesFor in interface Wrapperpublic java.lang.Object[] getPrimaryKeyValuesFor(java.lang.String propertyName)
WrappergetPrimaryKeyValuesFor in interface Wrapper
public void setForeignKeyValuesFor(java.lang.String propertyName,
java.lang.Object[] fks)
WrappersetForeignKeyValuesFor in interface Wrapper
public void setPrimaryKeyValuesFor(java.lang.String propertyName,
java.lang.Object[] pks)
WrappersetPrimaryKeyValuesFor in interface Wrapperpublic java.lang.Object unwrap()
Wrapperunwrap in interface Wrapperpublic java.lang.String getWrapperClassName()
getWrapperClassName in interface WrapperInternalpublic void setWrapperClassName(java.lang.String wrapperClassName)
setWrapperClassName in interface WrapperInternalpublic boolean shouldMerge()
WrapperInternalshouldMerge in interface WrapperInternalpublic void setShouldMerge(boolean shouldMerge)
setShouldMerge in interface WrapperInternal
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||