public class Guid extends Object
Constructor and Description |
---|
Guid(long id)
Constructs a Guid object from the specified unique ID.
|
Guid(String dn)
Constructs a Guid object from the specified distinguished name.
|
Guid(String dn,
long id)
Constructs a Guid object from the specified distinguished name and unique
ID.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Guid guid)
Determines if the current Guid is equal to the specified Guid.
|
String |
getDn()
Returns the string representation of the distinguished name.
|
long |
getId()
Returns the nsuniqueID name in the Guid object associated with an LDAP
entry.
|
protected void |
setDn(String dn)
Sets the dn for this object.
|
protected void |
setId(long id)
Sets the nsuniqueID name in the Guid object associated with an LDAP entry
Note that the value is not persisted in LDAP.
|
String |
toString()
Returns the String form of this Guid object.
|
public Guid(String dn)
dn
- string representation of the distinguished namepublic Guid(long id)
id
- unique IDpublic Guid(String dn, long id)
dn
- string representation of the distinguished nameid
- unique IDpublic String getDn()
protected void setDn(String dn)
dn
- string representation of the distinguished namepublic long getId()
protected void setId(long id)
id
- the nsuniqueID namepublic boolean equals(Guid guid)
guid
- Guid to compare against the current GuidCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.