|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.ont.fipa.fipaman.SearchConstraints
This type of object represents a set of constraints to limit the function of searching within a directory.
Constructor Summary | |
SearchConstraints()
This is a null constructor. |
|
SearchConstraints(Content constraints_content)
This constructor constructs a SearchConstraints object with a Content object generated by the SL parser. |
|
SearchConstraints(int max_depth)
This constructor creates the object with the specified max.depth. |
|
SearchConstraints(java.lang.Integer max_depth)
This constructor creates the object with the max-depth |
|
SearchConstraints(java.lang.Integer max_depth,
java.lang.Integer max_results)
This method creates a SearchConstraints object with the specified attributes. |
|
SearchConstraints(int max_depth,
int max_results)
This constructor creates the object with the specified attribute. |
|
SearchConstraints(java.lang.String constraints_string)
This constructor creates a SearchConstraints with the specified string. |
Method Summary | |
java.lang.Integer |
getMaxDepth()
Get the name of the object |
java.lang.Integer |
getMaxResults()
Get the object |
static void |
main(java.lang.String[] args)
This is used for testing purposes/. |
void |
setMaxDepth(java.lang.Integer max_depth)
This method sets the max. |
void |
setMaxResults(java.lang.Integer max_results)
This method sets the maximum number of results |
java.lang.String |
toString()
This method returns the string representation of the object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SearchConstraints(java.lang.String constraints_string) throws ParserException
constraints_string
- string to be parsedParserException
- if the string is invalidpublic SearchConstraints(Content constraints_content)
constraints_content
- Content object generated by the SL parserpublic SearchConstraints(int max_depth)
max_depth
- The max. depth of propagation of the search to
federated directories. This value should not be negative.public SearchConstraints(java.lang.Integer max_depth)
max_depth
- Integer wrapper objectpublic SearchConstraints(int max_depth, int max_results)
max_depth
- maximum depthmax_results
- maximum number of resultspublic SearchConstraints(java.lang.Integer max_depth, java.lang.Integer max_results)
max_depth
- maximum depthmax_results
- maximum number of resultspublic SearchConstraints()
Method Detail |
public void setMaxDepth(java.lang.Integer max_depth)
max_depth
- maximum depthpublic void setMaxResults(java.lang.Integer max_results)
max_results
- maximum number of resultspublic java.lang.Integer getMaxDepth()
public java.lang.Integer getMaxResults()
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)
args
- arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |