public class

LDAPEntry

extends Object
implements Serializable
java.lang.Object
   ↳ org.mule.module.ldap.ldap.api.LDAPEntry

Class Overview

This class is the abstraction

Summary

Constants
String MAP_DN_KEY
long serialVersionUID
Fields
private LDAPEntryAttributes attributes
private String dn
Public Constructors
LDAPEntry()
LDAPEntry(String dn)
LDAPEntry(String dn, Map<String, ?> attributes)
LDAPEntry(Map<String, Object> entry)
Public Methods
void addAttribute(LDAPEntryAttribute attribute)
void addAttribute(String attributeName, Object attributeValue)
Iterator<LDAPEntryAttribute> attributes()
boolean equals(Object obj)
LDAPEntryAttribute getAttribute(String name)
int getAttributeCount()
LDAPEntryAttributes getAttributes()
String getDn()
int hashCode()
void resetAttributes()
void setAttributes(LDAPEntryAttributes attributes)
void setDn(String dn)
String toLDIFString()
Map<String, Object> toMap()
String toString()
@return
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String MAP_DN_KEY

Constant Value: "dn"

private static final long serialVersionUID

Constant Value: 194192089581212405 (0x02b1e8ad35add2f5)

Fields

private LDAPEntryAttributes attributes

private String dn

Public Constructors

public LDAPEntry ()

public LDAPEntry (String dn)

Parameters
dn

public LDAPEntry (String dn, Map<String, ?> attributes)

Parameters
dn
attributes

public LDAPEntry (Map<String, Object> entry)

Parameters
entry
Throws
LDAPException

Public Methods

public void addAttribute (LDAPEntryAttribute attribute)

Parameters
attribute

public void addAttribute (String attributeName, Object attributeValue)

Parameters
attributeName
attributeValue

public Iterator<LDAPEntryAttribute> attributes ()

public boolean equals (Object obj)

Parameters
obj

public LDAPEntryAttribute getAttribute (String name)

Parameters
name

public int getAttributeCount ()

public LDAPEntryAttributes getAttributes ()

Returns
  • Returns the attributes.

public String getDn ()

Returns
  • Returns the dn.

public int hashCode ()

public void resetAttributes ()

public void setAttributes (LDAPEntryAttributes attributes)

Parameters
attributes The attributes to set.

public void setDn (String dn)

Parameters
dn The dn to set.

public String toLDIFString ()

public Map<String, Object> toMap ()

public String toString ()

@return

See Also