|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.extractor.PofUpdater
public class PofUpdater
POF-based ValueUpdater implementation.
| Constructor Summary | |
|---|---|
PofUpdater()Default constructor (necessary for the PortableObject interface). |
|
PofUpdater(int iProp)Constructs a PofUpdater based on a property index. |
|
PofUpdater(PofNavigator navigator)Constructs a PofUpdater based on a POF navigator. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)Compare the PofUpdater with another object to determine equality. |
int |
hashCode()Determine a hash value for the PofUpdater object according to the general Object.hashCode() contract. |
void |
readExternal(PofReader in)Restore the contents of a user type instance by reading its state using the specified PofReader object. |
java.lang.String |
toString()Return a human-readable description for this PofUpdater. |
void |
update(java.lang.Object oTarget, java.lang.Object oValue)Update the passed target object using the specified value. |
void |
writeExternal(PofWriter out)Save the contents of a POF user type instance by writing its state using the specified PofWriter object. |
| Constructor Detail |
|---|
public PofUpdater()
public PofUpdater(int iProp)
PofUpdater updater =
new PofUpdater(new SimplePofPath(iProp));
iProp - property indexpublic PofUpdater(PofNavigator navigator)
navigator - POF navigator| Method Detail |
|---|
public void update(java.lang.Object oTarget,
java.lang.Object oValue)
BinaryEntry interface.update in interface ValueUpdateroTarget - the Object to updateoValue - the new value to update the target's property withjava.lang.UnsupportedOperationException - if the specified target object is not a POF-encoded BinaryEntry or the serializer is not a PofContextjava.lang.NullPointerException - if the property cannot be resolvedpublic boolean equals(java.lang.Object o)
public int hashCode()
Object.hashCode() contract.public java.lang.String toString()
public void readExternal(PofReader in)
throws java.io.IOException
readExternal in interface PortableObjectin - the PofReader from which to read the object's statejava.io.IOException - if an I/O error occurs
public void writeExternal(PofWriter out)
throws java.io.IOException
writeExternal in interface PortableObjectout - the PofWriter to which to write the object's statejava.io.IOException - if an I/O error occurs
|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||