Identifier
, Comparable<Identifier>
, net.minidev.json.JSONAware
public final class DNIdentity extends BaseIdentifier
DEFAULT_BYTE_LENGTH, SECURE_RANDOM
Constructor | Description |
---|---|
DNIdentity(com.unboundid.ldap.sdk.DN dn) |
Creates a new distinguished name (DN) identity.
|
Modifier and Type | Method | 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() . |
compareTo, 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 © 2018 Connect2id. All rights reserved.