public interface WritablePdxInstance extends PdxInstance
PdxInstance that also supports field modification
using the setField method.
To get a WritablePdxInstance call createWriter.| Modifier and Type | Method and Description |
|---|---|
void |
setField(java.lang.String fieldName,
java.lang.Object value)
Set the existing named field to the given value.
|
createWriter, equals, getClassName, getField, getFieldNames, getObject, hasField, hashCode, isEnum, isIdentityField, toStringvoid setField(java.lang.String fieldName,
java.lang.Object value)
fieldName - name of the field whose value will be setvalue - value that will be assigned to the fieldPdxFieldDoesNotExistException - if the named field does not existPdxFieldTypeMismatchException - if the type of the value is not compatible with the field