Package com.netscape.certsrv.dbs
Class Modification
java.lang.Object
com.netscape.certsrv.dbs.Modification
A class represents a modification. This is used by the
database (dbs) framework for modification operations.
It specifices the modification type and values.
- Version:
- $Revision$, $Date$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Add new value.static final int
Deletes old value.static final int
Replace old value. -
Constructor Summary
ConstructorsConstructorDescriptionModification
(String name, int op, Object value) Constructs a role modification. -
Method Summary
-
Field Details
-
MOD_ADD
public static final int MOD_ADDAdd new value.- See Also:
-
MOD_DELETE
public static final int MOD_DELETEDeletes old value.- See Also:
-
MOD_REPLACE
public static final int MOD_REPLACEReplace old value.- See Also:
-
-
Constructor Details
-
Modification
Constructs a role modification.- Parameters:
name
- attribute nameop
- attribute operation (i.e. MOD_ADD, MOD_DELETE, or MOD_REPLACE)value
- attribute value
-
-
Method Details
-
getName
Retrieves attribute name.- Returns:
- attribute name
-
getOp
public int getOp()Retrieves modification operation type.- Returns:
- modification type
-
getValue
Retrieves attribute value.- Returns:
- attribute value
-