|
|||||||||
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.NdsNumericString
Provides access to values of the NumericString attribute. It is used for attributes whose values are numeric strings as defined in CCITT X.208.
Two numeric strings match for equality when they are the same length and their corresponding characters are identical. 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 | |
NdsNumericString(java.lang.String value)
Constructs an NdsNumericString object based on the specified value variable. |
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. |
int |
getNdsSyntaxId()
Returns the int that represents this NDS syntax ID. |
java.lang.String |
getNumericString()
Returns the String value of the Numeric String stored in the NDS attribute. |
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 NdsNumericString(java.lang.String value)
value
- A set of numeric characters (0..9 and spaces) to be
stored as a String value.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)
matchingRules
- The set of matching rules to check.public java.lang.Object clone()
public java.lang.String getNumericString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |