|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.service.nds.NdsPath
Provides access to values of the Path attribute. It is used for attributes that represent a file system path.
Two paths match for equality when their lengths and corresponding characters, including case, 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). NDS stores insignificant spaces with the attribute value.
Matching Rules: Equality
NdsSyntaxId
Constructor Summary | |
NdsPath(long nameSpaceType,
java.lang.String volumeName,
java.lang.String path)
Constructs an NdsPath object based on the specified nameSpaceType, volumeName and path parameters. |
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. |
int |
count()
Returns the number of elements in this sequence. |
boolean |
equals(java.lang.Object anObject)
Compares two Objects for equality. |
long |
getNameSpaceType()
Returns the long value of the namespace type stored in the NDS attribute. |
int |
getNdsSyntaxId()
Returns the int that represents this NDS syntax ID. |
java.lang.String |
getPath()
Returns the file system path stored as a String in the NDS attribute. |
|
getValue(java.lang.String compositeId)
Returns a SchemaValue object based on the given passed-in string containing the element value. |
java.util.Enumeration |
getValueIds()
Returns an enumeration of element IDs in this composite. |
java.util.Enumeration |
getValues()
Returns an enumeration of this sequence's values. |
java.lang.String |
getVolumeName()
Returns the volume name stored as a String in the NDS attribute. |
boolean |
supportsMatchingRules(int matchingRules)
Checks to see if this object supports the specified matching rules. |
java.lang.String |
toString()
Generates a string representation of the object. |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public NdsPath(long nameSpaceType, java.lang.String volumeName, java.lang.String path)
nameSpaceType
- The type of the namespace stored as a long.volumeName
- The name of the volume object stored as a String.path
- The file system path stored as a String.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 int count()
public getValue(java.lang.String compositeId)
compositeId
- The passed-in string containing the element
value.public java.util.Enumeration getValueIds()
public java.util.Enumeration getValues()
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 toString()
public long getNameSpaceType()
public java.lang.String getVolumeName()
public java.lang.String getPath()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |