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(String fieldName,
Object value)
Set the existing named field to the given value.
|
createWriter, equals, getClassName, getField, getFieldNames, getObject, hasField, hashCode, isDeserializable, isEnum, isIdentityField, toStringvoid setField(String fieldName, 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