Package org.ldaptive
Class AttributeModification
- java.lang.Object
-
- org.ldaptive.AttributeModification
-
public class AttributeModification extends Object
LDAP modification defined as:modification PartialAttribute PartialAttribute ::= SEQUENCE { type AttributeDescription, vals SET OF value AttributeValue }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AttributeModification.Type
Modification type.
-
Field Summary
Fields Modifier and Type Field Description private LdapAttribute
attribute
Attribute to modify.private AttributeModification.Type
operation
Modification type.
-
Constructor Summary
Constructors Constructor Description AttributeModification(AttributeModification.Type type, LdapAttribute attr)
Creates a new modification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LdapAttribute
getAttribute()
AttributeModification.Type
getOperation()
String
toString()
-
-
-
Field Detail
-
operation
private final AttributeModification.Type operation
Modification type.
-
attribute
private final LdapAttribute attribute
Attribute to modify.
-
-
Constructor Detail
-
AttributeModification
public AttributeModification(AttributeModification.Type type, LdapAttribute attr)
Creates a new modification.- Parameters:
type
- of modificationattr
- attribute to modify
-
-
Method Detail
-
getOperation
public AttributeModification.Type getOperation()
-
getAttribute
public LdapAttribute getAttribute()
-
-