Package jadex.bridge.fipa
Class CMSSearchComponents
- java.lang.Object
-
- jadex.bridge.fipa.CMSSearchComponents
-
- All Implemented Interfaces:
IComponentAction
public class CMSSearchComponents extends java.lang.Object implements IComponentAction
Java class for concept AMSSearchComponents of beanynizer_beans_fipa_default ontology.
-
-
Field Summary
Fields Modifier and Type Field Description protected IComponentDescriptioncomponentdescriptionAttribute for slot componentdescription.protected java.util.ListcomponentdescriptionsAttribute for slot componentdescriptions.protected booleanremoteFlag if remote search should be done.protected ISearchConstraintssearchconstraintsAttribute for slot searchconstraints.
-
Constructor Summary
Constructors Constructor Description CMSSearchComponents()Default Constructor.CMSSearchComponents(IComponentDescription componentdescription, IComponentDescription[] results)Create a newDFSearch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddComponentDescription(IComponentDescription componentdescription)Add a componentdescription to this CMSSearchComponents.IComponentDescriptiongetComponentDescription()Get the componentdescription of this CMSSearchComponents.IComponentDescriptiongetComponentDescription(int idx)Get an componentdescriptions of this CMSSearchComponents.IComponentDescription[]getComponentDescriptions()Get the componentdescriptions of this CMSSearchComponents.ISearchConstraintsgetSearchConstraints()Get the searchconstraints of this CMSSearchComponents.booleanisRemote()Test if remote.booleanremoveComponentDescription(IComponentDescription componentdescription)Remove a componentdescription from this CMSSearchComponents.voidsetComponentDescription(int idx, IComponentDescription componentdescription)Set a componentdescription to this CMSSearchComponents.voidsetComponentDescription(IComponentDescription componentdescription)Set the componentdescription of this CMSSearchComponents.voidsetComponentDescriptions(IComponentDescription[] componentdescriptions)Set the componentdescriptions of this CMSSearchComponents.voidsetRemote(boolean remote)Set remote flag.voidsetSearchConstraints(ISearchConstraints searchconstraints)Set the searchconstraints of this CMSSearchComponents.java.lang.StringtoString()Get a string representation of this CMSSearchComponents.
-
-
-
Field Detail
-
searchconstraints
protected ISearchConstraints searchconstraints
Attribute for slot searchconstraints.
-
componentdescriptions
protected java.util.List componentdescriptions
Attribute for slot componentdescriptions.
-
componentdescription
protected IComponentDescription componentdescription
Attribute for slot componentdescription.
-
remote
protected boolean remote
Flag if remote search should be done.
-
-
Constructor Detail
-
CMSSearchComponents
public CMSSearchComponents()
Default Constructor.
CMSSearchComponents.
-
CMSSearchComponents
public CMSSearchComponents(IComponentDescription componentdescription, IComponentDescription[] results)
Create a newDFSearch.
-
-
Method Detail
-
getSearchConstraints
public ISearchConstraints getSearchConstraints()
Get the searchconstraints of this CMSSearchComponents.- Returns:
- searchconstraints
-
setSearchConstraints
public void setSearchConstraints(ISearchConstraints searchconstraints)
Set the searchconstraints of this CMSSearchComponents.- Parameters:
searchconstraints- the value to be set
-
getComponentDescriptions
public IComponentDescription[] getComponentDescriptions()
Get the componentdescriptions of this CMSSearchComponents.- Returns:
- componentdescriptions
-
setComponentDescriptions
public void setComponentDescriptions(IComponentDescription[] componentdescriptions)
Set the componentdescriptions of this CMSSearchComponents.- Parameters:
componentdescriptions- the value to be set
-
getComponentDescription
public IComponentDescription getComponentDescription(int idx)
Get an componentdescriptions of this CMSSearchComponents.- Parameters:
idx- The index.- Returns:
- componentdescriptions
-
setComponentDescription
public void setComponentDescription(int idx, IComponentDescription componentdescription)Set a componentdescription to this CMSSearchComponents.- Parameters:
idx- The index.componentdescription- a value to be added
-
addComponentDescription
public void addComponentDescription(IComponentDescription componentdescription)
Add a componentdescription to this CMSSearchComponents.- Parameters:
componentdescription- a value to be removed
-
removeComponentDescription
public boolean removeComponentDescription(IComponentDescription componentdescription)
Remove a componentdescription from this CMSSearchComponents.- Parameters:
componentdescription- a value to be removed- Returns:
- True when the componentdescriptions have changed.
-
getComponentDescription
public IComponentDescription getComponentDescription()
Get the componentdescription of this CMSSearchComponents.- Returns:
- componentdescription
-
setComponentDescription
public void setComponentDescription(IComponentDescription componentdescription)
Set the componentdescription of this CMSSearchComponents.- Parameters:
componentdescription- the value to be set
-
isRemote
public boolean isRemote()
Test if remote.- Returns:
- True, if is remote.
-
setRemote
public void setRemote(boolean remote)
Set remote flag.- Parameters:
remote- The remote flag to set.
-
toString
public java.lang.String toString()
Get a string representation of this CMSSearchComponents.- Overrides:
toStringin classjava.lang.Object- Returns:
- The string representation.
-
-