|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.service.nds.NdsTypedName
Provides access to attribute values of the TypedName syntax. It is used for attributes whose values represent a level and an interval associated with an object. This syntax names an NDS object and attaches two numeric values to it:
The objectName or Distinguished Name identifies the NDS object referred to by the Typed Name. The values of level and interval are user-assigned and relative. To be effective they must be implemented by the user. The user can use them to implement iterative intervals or to enforce priorities.
In comparisons and searches using equality, all three parts of the field must be equal for attributes to be equal.
Matching Rules: Equality
NdsSyntaxId
Constructor Summary | |
NdsTypedName(java.lang.String objectName,
long level,
long interval)
Constructs an NdsTypedName object based on the specified objectName, level, and interval 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 |
getInterval()
Returns the interval stored as a long value in the object data member. |
long |
getLevel()
Returns the attribute level stored as a long value in the object data member. |
int |
getNdsSyntaxId()
Returns the int that represents the NDS syntax ID. |
java.lang.String |
getObjectName()
Returns the object name stored as a String value in the object data member. |
|
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 composit IDs. |
java.util.Enumeration |
getValues()
Returns an enumeration of the elements in this composite. |
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 NdsTypedName(java.lang.String objectName, long level, long interval)
objectName
- The object name stored as a String value.level
- The level of the attribute indicating the
priority stored as an long value.interval
- The interval indicating the frequency of
reference stored as an long 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 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 java.lang.String getObjectName()
public long getLevel()
public long getInterval()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |