Home > Contents > Index > 
Expanded TOC | Purpose TOC | Annotated TOC | Index 
NestedConstraint
A NestedConstraint object is an input to a
SearchStateobject.NestedConstraintConstraint methods instantiate the
NestedConstraintobject and set different parameters.Methods
new NestedConstraint()- Constructor method that instantiates the NestedConstraint
 Constraintobject and creates methods that can be called on it. In turn, the NestedConstraintConstraintobject can be added to theSearchStateobject.
setBUCKET(java.lang.String BUCKET)- Sets the value for the
 BUCKETparameter. This method has a correspondinggetmethod.
setSEARCHSTATE(com.divine.Searchstate SEARCHSTATE- Sets the value for the
 SEARCHSTATEparameter. This method has a correspondinggetmethod.
Parameters
BUCKET(required)- Input parameter. The bucket name. If not specified, the attribute name is used.
 
SEARCHSTATE (required)- Input parameter. Name of the SearchState object to nest inside of the object specified by NAME.
 
Description
Associated methods set parameter values that populate the
NestedConstraintobject. TheNestedConstraintobject can be added to theSearchStateobject with the correponding SearchState methods.Example
This code instantiates the
NestedConstraintobject and sets theBUCKETparameter:NestedConstraint nest_cons = new NestedConstraint(); nested_cons.setBUCKET("PAttributes");See Also
Methods for adding various constraint objects to a SearchState. These are available when you instantiate the SearchState object.
Home > Contents > Index > ![]()
FatWire Web Services Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.