|
||||||||||
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
Defines the set of legal values for a Parameter
.
Method Summary | |
abstract boolean |
canBeAppliedToMultipleParams()
Can this constraint be applied to multiple Parameters ? |
abstract boolean |
forScalar()
Can this constrait be applied to a scalar Parameter ?
|
abstract boolean |
forStructured()
Can this constraint be applied to a structured Parameter ?
|
boolean |
getNOT()
Indicates whether this constraint is negated. |
LogicalOp |
getOperator()
Returns the LogicalOp of this constraint. |
DataType |
getType()
Returns the first DataType supported by this constraint. |
List |
getTypes()
Returns the list of DataType s this constraint can be applied to. |
String |
toString()
Returns a string representation of this contraint. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public List getTypes()
DataType
s this constraint can be applied to.
List
of DataType
s; will not return null
public DataType getType()
DataType
supported by this constraint.
null
public boolean getNOT()
true
if it is; false
if it isn'tpublic String toString()
public LogicalOp getOperator()
LogicalOp
of this constraint.
If this constraint represents multiple constraints, then they may be joined by a logical operator such as AND or OR.
null
public abstract boolean forStructured()
Parameter
?
A structured Parameter
consists of multiple primitives or other structured Parameter
s.
true
if it can; false
if it can'tpublic abstract boolean forScalar()
Parameter
?
A scalar Parmeter
is a primitive (e.g., long, int, boolean) that has a single value.
true
if it can; false
if it can'tpublic abstract boolean canBeAppliedToMultipleParams()
Parameters
?
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 |