public final class DNIdentity extends BaseIdentifier
DEFAULT_BYTE_LENGTH
Constructor and Description |
---|
DNIdentity(com.unboundid.ldap.sdk.DN dn)
Creates a new distinguished name (DN) identity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Overrides
Object.equals() . |
com.unboundid.ldap.sdk.DN |
getDN()
Gets the distinguished name (DN) value.
|
int |
hashCode()
Overrides
Object.hashCode() . |
toJSONString, toString
public DNIdentity(com.unboundid.ldap.sdk.DN dn)
dn
- The DN, must not be null
.public com.unboundid.ldap.sdk.DN getDN()
public int hashCode()
Object.hashCode()
.hashCode
in class BaseIdentifier
public boolean equals(Object object)
BaseIdentifier
Object.equals()
.equals
in class BaseIdentifier
object
- The object to compare to.true
if the objects have the same value, otherwise
false
.Copyright © 2013 NimbusDS. All Rights Reserved.