|
|||||||||
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.NdsCaseIgnoreString
Provides access to attribute values of the Case Ignore String syntax. It is used for attributes whose values are ordered sequences of strings for which the case (upper or lower) is not significant when performing comparisons.
Two Case Ignore Strings match for equality when their lengths and corresponding characters are identical in all respcts except that case and spaces are ignored. In matching attributes that conform to this syntax, NDS omits those spaces that are not significant (leading spaces, trailing spaces, and multiple consecutive internal spaces). The Directory stores insignificant spaces with the attribute value.
Matching Rules: Equality and Substrings
NdsSyntaxId
Constructor Summary | |
NdsCaseIgnoreString(java.lang.String value)
Constructs an NdsCaseIgnoreString object based on the specified string 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 |
getCaseIgnoreString()
Returns the String value 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 NdsCaseIgnoreString(java.lang.String value)
Two case ignore strings match for equality when they are of the same length and their corresponding characters are identical in all respects except that of case.
value
- The String value to be stored.Method Detail |
public int compareTo(java.lang.Object anObject) throws java.lang.Exception
anObject
- The reference NDS Object (string) with which
to compare.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 NdsCaseIgnoreString syntax supports the equality and substrings matching rules.
matchingRules
- The set of matching rules to check.public java.lang.Object clone()
public java.lang.String getCaseIgnoreString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |