|
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 WrapperInternal
public java.util.Map getPrimaryKeys()
getPrimaryKeys
in interface WrapperInternal
public void setForeignKeys(java.util.Map foreignKeys)
setForeignKeys
in interface WrapperInternal
public void setPrimaryKeys(java.util.Map primaryKeys)
setPrimaryKeys
in interface WrapperInternal
public void wrap(java.lang.Object entity)
Wrapper
wrap
in interface Wrapper
wrap
in interface WrapperInternal
public java.lang.Object[] getForeignKeyValuesFor(java.lang.String propertyName)
Wrapper
getForeignKeyValuesFor
in interface Wrapper
public java.lang.Object[] getPrimaryKeyValuesFor(java.lang.String propertyName)
Wrapper
getPrimaryKeyValuesFor
in interface Wrapper
public void setForeignKeyValuesFor(java.lang.String propertyName, java.lang.Object[] fks)
Wrapper
setForeignKeyValuesFor
in interface Wrapper
public void setPrimaryKeyValuesFor(java.lang.String propertyName, java.lang.Object[] pks)
Wrapper
setPrimaryKeyValuesFor
in interface Wrapper
public java.lang.Object unwrap()
Wrapper
unwrap
in interface Wrapper
public java.lang.String getWrapperClassName()
getWrapperClassName
in interface WrapperInternal
public void setWrapperClassName(java.lang.String wrapperClassName)
setWrapperClassName
in interface WrapperInternal
public boolean shouldMerge()
WrapperInternal
shouldMerge
in interface WrapperInternal
public void setShouldMerge(boolean shouldMerge)
setShouldMerge
in interface WrapperInternal
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |