org.openspml.message
Class Modification
java.lang.Object
|
+--org.openspml.message.Attribute
|
+--org.openspml.message.Modification
- public class Modification
- extends Attribute
Memory representation for a modification
element, found
within a modifyRequest
message.
Currently this is the same as a DmslModification, though it is
likely to be extended to provide a richer set of value types.
DSML only allows xsd:string, xsd:base64binary and xsd:anyURI values.
Field Summary |
static java.lang.String |
OP_ADD
Constant used with setOperation to indicate that
the modification list is to be merged with the current value
of the attribute. |
static java.lang.String |
OP_DELETE
Constant used with setOperation to indicate that
the values on the modification list are to be removed from
the current value of the attribute. |
static java.lang.String |
OP_REPLACE
Constant used with setOperation to indicate that
the modification list is to replace the entire value of the attribute. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
OP_REPLACE
public static final java.lang.String OP_REPLACE
- Constant used with
setOperation
to indicate that
the modification list is to replace the entire value of the attribute.
OP_ADD
public static final java.lang.String OP_ADD
- Constant used with
setOperation
to indicate that
the modification list is to be merged with the current value
of the attribute. This is relevant only for multi-valued
attributes.
OP_DELETE
public static final java.lang.String OP_DELETE
- Constant used with
setOperation
to indicate that
the values on the modification list are to be removed from
the current value of the attribute. This is relevant only
for multi-valued attributes.
Modification
public Modification()
Modification
public Modification(java.lang.String name,
java.lang.Object value)
setOperation
public void setOperation(java.lang.String s)
getOperation
public java.lang.String getOperation()