public class DFSearch extends java.lang.Object implements IComponentAction
Modifier and Type | Field and Description |
---|---|
protected IDFComponentDescription |
dfcomponentdescription
Attribute for slot dfcomponentdescription.
|
protected boolean |
remote
Remote flag.
|
protected java.util.List |
results
Attribute for slot results.
|
protected ISearchConstraints |
searchconstraints
Attribute for slot searchconstraints.
|
Constructor and Description |
---|
DFSearch()
Default Constructor.
|
DFSearch(IDFComponentDescription dfcomponentdescription,
IDFComponentDescription[] results)
Create a new
DFSearch . |
Modifier and Type | Method and Description |
---|---|
void |
addResult(IDFComponentDescription result)
Add a result to this DFSearch.
|
IDFComponentDescription |
getComponentDescription()
Get the dfcomponentdescription of this DFSearch.
|
IDFComponentDescription |
getResult(int idx)
Get an results of this DFSearch.
|
IDFComponentDescription[] |
getResults()
Get the results of this DFSearch.
|
ISearchConstraints |
getSearchConstraints()
Get the searchconstraints of this DFSearch.
|
boolean |
isRemote()
Get the remote.
|
boolean |
removeResult(IDFComponentDescription result)
Remove a result from this DFSearch.
|
void |
setComponentDescription(IDFComponentDescription dfcomponentdescription)
Set the dfcomponentdescription of this DFSearch.
|
void |
setRemote(boolean remote)
Set the remote.
|
void |
setResult(int idx,
IDFComponentDescription result)
Set a result to this DFSearch.
|
void |
setResults(IDFComponentDescription[] results)
Set the results of this DFSearch.
|
void |
setSearchConstraints(ISearchConstraints searchconstraints)
Set the searchconstraints of this DFSearch.
|
java.lang.String |
toString()
Get a string representation of this DFSearch.
|
protected ISearchConstraints searchconstraints
protected IDFComponentDescription dfcomponentdescription
protected boolean remote
protected java.util.List results
public DFSearch()
public DFSearch(IDFComponentDescription dfcomponentdescription, IDFComponentDescription[] results)
DFSearch
.public ISearchConstraints getSearchConstraints()
public void setSearchConstraints(ISearchConstraints searchconstraints)
searchconstraints
- the value to be setpublic IDFComponentDescription getComponentDescription()
public void setComponentDescription(IDFComponentDescription dfcomponentdescription)
dfcomponentdescription
- the value to be setpublic IDFComponentDescription[] getResults()
public void setResults(IDFComponentDescription[] results)
results
- the value to be setpublic IDFComponentDescription getResult(int idx)
idx
- The index.public void setResult(int idx, IDFComponentDescription result)
idx
- The index.result
- a value to be addedpublic void addResult(IDFComponentDescription result)
result
- a value to be removedpublic boolean removeResult(IDFComponentDescription result)
result
- a value to be removedpublic boolean isRemote()
public void setRemote(boolean remote)
remote
- The remote to set.public java.lang.String toString()
toString
in class java.lang.Object