|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ModificationType>
org.opends.server.types.ModificationType
@PublicAPI(stability=UNCOMMITTED,
mayInstantiate=false,
mayExtend=false,
mayInvoke=true)
public enum ModificationTypeThis enumeration defines the set of possible modification types that may be used for an attribute modification. This is based on the LDAP specification defined in RFC 2251.
| Enum Constant Summary | |
|---|---|
ADD
The modification type that indicates that the associated attribute values should be added to the entry. |
|
DELETE
The modification type that indicates that the associated attribute or set of values should be removed from the entry. |
|
INCREMENT
The modification type that indicates that the value of the associated attribute should be incremented by a specified amount as defined in RFC 4525. |
|
REPLACE
The modification type that indicates that the associated attribute should be used to replace any existing values for that attribute in the entry. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLDIFName()
Retrieves the name of this modification type as it should appear in LDIF records. |
int |
intValue()
Retrieves the integer value for this modification type. |
java.lang.String |
toString()
Retrieves a string representation of this modification type. |
static ModificationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ModificationType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ModificationType ADD
public static final ModificationType DELETE
public static final ModificationType REPLACE
public static final ModificationType INCREMENT
| Method Detail |
|---|
public static ModificationType[] values()
for (ModificationType c : ModificationType.values()) System.out.println(c);
public static ModificationType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic int intValue()
public java.lang.String getLDIFName()
public java.lang.String toString()
toString in class java.lang.Enum<ModificationType>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||