|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.service.nds.NdsString | +--com.novell.service.nds.NdsDistinguishedName
Provides access to attribute values of the NdsDistinguishedName syntax. It is used for attributes whose values are the names of objects in the Directory tree. The largest supported Distinguished Name (DN) is 256 Unicode characters, not including the terminating NULL character. Distinguished Names are not case sensitive, even if one of the naming attributes is case sensitive.
Matching Rules: Equality
NdsSyntaxId
Constructor Summary | |
NdsDistinguishedName(java.lang.String value)
Constructs an NdsDistinguishedName object based on the specified value parameter. |
Method Summary | |
boolean |
approximate(java.lang.Object anObject)
Compares two Objects using the approximate matching rule. |
java.lang.Object |
clone()
Creates a new object of the same class as this object. |
int |
compareTo(java.lang.Object anObject)
Compares two objects for ordering, or compares two strings lexicographically. |
boolean |
equals(java.lang.Object anObject)
Compares two Objects for equality. |
java.lang.String |
getDistinguishedName()
Returns the String value of DistinguishedName stored in the object data member. |
int |
getNdsSyntaxId()
Returns the int that represents the NDS syntax ID. |
boolean |
supportsMatchingRules(int matchingRules)
Checks to see if this object supports the specified matching rules. |
Methods inherited from class com.novell.service.nds.NdsString |
getName,
stringValue,
toString |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public NdsDistinguishedName(java.lang.String value) throws com.novell.service.jncp.NSIException
value
- The name of a DN object to be stored as a String
value.Method Detail |
public int compareTo(java.lang.Object anObject) throws java.lang.Exception
public boolean equals(java.lang.Object anObject)
The equals method implements the most discriminating possible equivalence relation on objects; that is, for any reference values X and Y, this method returns TRUE if and only if X and Y refer to the same object (X==Y has the value TRUE).
anObject
- The reference object with which to compare.public boolean approximate(java.lang.Object anObject) throws java.lang.Exception
public int getNdsSyntaxId()
public boolean supportsMatchingRules(int matchingRules)
The NdsDistinguishedName syntax supports only the equality matching rule.
matchingRules
- The set of matching rules to check.public java.lang.Object clone()
public java.lang.String getDistinguishedName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |