|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.service.nds.NdsBoolean
Provides access to attribute values of the Boolean syntax. The Boolean value represents either TRUE (1) or FALSE (0). Two Boolean attributes match for equality if they are both TRUE or both FALSE. Any attribute defined using this syntax is single-valued.
Matching Rules: Equality
NdsSyntaxId
Constructor Summary | |
NdsBoolean(boolean value)
Constructs an NdsBoolean object based on the specified value parameter. |
Method Summary | |
boolean |
approximate(java.lang.Object anObject)
Compares two Objects using the approximate matching rule. |
boolean |
booleanValue()
Returns a Boolean object with the value of TRUE or FALSE. |
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. |
boolean |
getBoolean()
Returns the Boolean value stored in the object data member. |
int |
getNdsSyntaxId()
Returns the int that represents the syntax ID. |
boolean |
supportsMatchingRules(int matchingRules)
Checks to see if this object supports the specified matching rules. |
java.lang.String |
toString()
Generates and returns a string representation of the object. |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public NdsBoolean(boolean value)
value
- A Boolean value (TRUE or FALSE) to be stored.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 booleanValue()
public boolean approximate(java.lang.Object anObject) throws java.lang.Exception
public int getNdsSyntaxId()
public boolean supportsMatchingRules(int matchingRules)
matchingRules
- Set of matching rules to check.public java.lang.Object clone()
public java.lang.String toString()
public boolean getBoolean()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |