| java.lang.Object uk.org.ponder.mapping.DataAlterationRequest
DataAlterationRequest | public class DataAlterationRequest (Code) | | Encodes a primitive operation on an abstract bean model, consisting of either
the attachment or detachment of an object appearing at a particular bean
path.
author: Antranig Basman (antranig@caret.cam.ac.uk) |
Field Summary | |
final public static String | ADD | final public static String | DELETE | final public static Object | INAPPLICABLE_VALUE A Distinguished value for the field "data" which determines that the
the value will not apply. | public boolean | applyconversions | public Object | data In the case of an ADD request, the value to be added. | public String | path The EL path to which the object value is to be delivered, or to be
deleted from. | public String | type The type of the request, either an ADD (default) or DELETE. |
INAPPLICABLE_VALUE | final public static Object INAPPLICABLE_VALUE(Code) | | A Distinguished value for the field "data" which determines that the
the value will not apply. However the DAR will proceed through the applier
in order that any guards may execute.
|
applyconversions | public boolean applyconversions(Code) | | Whether any data conversions should be considered when applying the
request
|
data | public Object data(Code) | | In the case of an ADD request, the value to be added. In the case of a
DELETE request, can be null if the path designates a Map property,
in which case the final path component will be used as the key to be deleted.
If the path designates a java.util.Collection, the object will be used as
the argument to the remove() method, in which case reasonable Object
equality semantics must have been provided.
|
path | public String path(Code) | | The EL path to which the object value is to be delivered, or to be
deleted from.
|
type | public String type(Code) | | The type of the request, either an ADD (default) or DELETE.
|
|
|