org.ldaptive
Class AttributeModification

java.lang.Object
  extended by org.ldaptive.AttributeModification

public class AttributeModification
extends Object

Contains the data required to modify an ldap attribute.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Constructor Summary
AttributeModification()
          Default constructor.
AttributeModification(AttributeModificationType type, LdapAttribute attr)
          Creates a new attribute modification.
 
Method Summary
 LdapAttribute getAttribute()
          Returns the ldap attribute.
 AttributeModificationType getAttributeModificationType()
          Returns the attribute modification type.
 void setAttribute(LdapAttribute attr)
          Sets the ldap attribute.
 void setAttributeModificationType(AttributeModificationType type)
          Sets the attribute modification type.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeModification

public AttributeModification()
Default constructor.


AttributeModification

public AttributeModification(AttributeModificationType type,
                             LdapAttribute attr)
Creates a new attribute modification.

Parameters:
type - attribute modification type
attr - to modify
Method Detail

getAttributeModificationType

public AttributeModificationType getAttributeModificationType()
Returns the attribute modification type.

Returns:
attribute modification type

setAttributeModificationType

public void setAttributeModificationType(AttributeModificationType type)
Sets the attribute modification type.

Parameters:
type - attribute modification type

getAttribute

public LdapAttribute getAttribute()
Returns the ldap attribute.

Returns:
ldap attribute

setAttribute

public void setAttribute(LdapAttribute attr)
Sets the ldap attribute.

Parameters:
attr - ldap attribute

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.