|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.nds.dirxml.driver.xds.Constraint
com.novell.nds.dirxml.driver.xds.RequiredConstraint
A constraint that excludes null
or empty string from a
Parameter
's legal set of values.
e.g. not[null]
Field Summary | |
static RequiredConstraint |
REQUIRED
A thread-safe instance of this constraint. |
Constructor Summary | |
RequiredConstraint()
Creates a new required constraint instance. |
Method Summary | |
boolean |
canBeAppliedToMultipleParams()
Can this constraint be applied to multiple Parameters ? |
boolean |
equals(Object o)
|
boolean |
forScalar()
Can this constrait be applied to a scalar Parameter ?
|
boolean |
forStructured()
Can this constraint be applied to a structured Parameter ?
|
int |
hashCode()
|
Methods inherited from class com.novell.nds.dirxml.driver.xds.Constraint |
getNOT, getOperator, getType, getTypes, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final RequiredConstraint REQUIRED
Constructor Detail |
public RequiredConstraint()
Method Detail |
public int hashCode()
public boolean equals(Object o)
public boolean forStructured()
Constraint
Parameter
?
A structured Parameter
consists of multiple primitives or other structured Parameter
s.
forStructured
in class Constraint
true
if it can; false
if it can'tpublic boolean forScalar()
Constraint
Parameter
?
A scalar Parmeter
is a primitive (e.g., long, int, boolean) that has a single value.
forScalar
in class Constraint
true
if it can; false
if it can'tpublic boolean canBeAppliedToMultipleParams()
Constraint
Parameters
?
canBeAppliedToMultipleParams
in class Constraint
true
if it can; false
if it can't
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |