Jadex 0.941

jadex.model
Interface IMCapability

All Superinterfaces:
IMElement
All Known Subinterfaces:
IMBDIAgent

public interface IMCapability
extends IMElement

The capability model element.


Method Summary
 IMCapabilityReference createCapabilityReference(String name, String file)
          Create a capability reference.
 void createImport(String exp)
          Create an import declaration.
 void deleteCapabilityReference(IMCapabilityReference reference)
          Delete a capability reference.
 void deleteImport(String exp)
          Delete an import declaration.
 IMBeliefbase getBeliefbase()
          Get the belief base.
 IMCapabilityReference getCapabilityReference(String name)
          Get a capability reference.
 IMCapabilityReference[] getCapabilityReferences()
          Get all capability references.
 IMEventbase getEventbase()
          Get the event base.
 IMExpressionbase getExpressionbase()
          Get the expression base.
 String getFilename()
          Get the filename.
 String[] getFullImports()
          Get all import declarations (including package).
 String getFullName()
          Get the fully qualified name package+"."
 IMGoalbase getGoalbase()
          Get the goal base.
 String[] getImports()
          Get the import declarations.
 IMInitialStatebase getInitialStatebase()
          Get the initial state base.
 long getLastModified()
          Get the last modified date.
 String getPackage()
          Get the package.
 jadex.parser.IParser getParser()
          Get the parser for this document.
 IMPlanbase getPlanbase()
          Get the plan base.
 IMPropertybase getPropertybase()
          Get the property base.
 boolean isAbstract()
          Test if the capability is abstract.
 void setAbstract(boolean abs)
          Set the abstract state.
 void setFilename(String filename)
          Set the filename.
 void setLastModified(long lastmodified)
          Set the last modified date.
 void setPackage(String pkg)
          Set the package.
 
Methods inherited from interface jadex.model.IMElement
check, getChildren, getDescription, getEncodableRepresentation, getExpressionParameters, getName, getOwner, getReport, getScope, setDescription, setName
 

Method Detail

getPackage

public String getPackage()
Get the package.

Returns:
The package.

setPackage

public void setPackage(String pkg)
Set the package.

Parameters:
pkg - The package.

getImports

public String[] getImports()
Get the import declarations.

Returns:
The import statements.

createImport

public void createImport(String exp)
Create an import declaration.

Parameters:
exp - The import statement.

deleteImport

public void deleteImport(String exp)
Delete an import declaration.

Parameters:
exp - The import statement.

getCapabilityReferences

public IMCapabilityReference[] getCapabilityReferences()
Get all capability references.

Returns:
The capability references.

getCapabilityReference

public IMCapabilityReference getCapabilityReference(String name)
Get a capability reference.

Parameters:
name - The capability reference name.
Returns:
The capability reference.

createCapabilityReference

public IMCapabilityReference createCapabilityReference(String name,
                                                       String file)
Create a capability reference.

Parameters:
name - The capability reference name.
file - The file or identifier of the referenced capability.
Returns:
The capability reference.

deleteCapabilityReference

public void deleteCapabilityReference(IMCapabilityReference reference)
Delete a capability reference.

Parameters:
reference - The capability reference.

isAbstract

public boolean isAbstract()
Test if the capability is abstract.

Returns:
True, if abstract.

setAbstract

public void setAbstract(boolean abs)
Set the abstract state.

Parameters:
abs - The state.

getBeliefbase

public IMBeliefbase getBeliefbase()
Get the belief base.

Returns:
The belief base.

getGoalbase

public IMGoalbase getGoalbase()
Get the goal base.

Returns:
The goal base.

getPlanbase

public IMPlanbase getPlanbase()
Get the plan base.

Returns:
The plan base.

getEventbase

public IMEventbase getEventbase()
Get the event base.

Returns:
The event base.

getExpressionbase

public IMExpressionbase getExpressionbase()
Get the expression base.

Returns:
The expression base.

getPropertybase

public IMPropertybase getPropertybase()
Get the property base.

Returns:
The property base.

getInitialStatebase

public IMInitialStatebase getInitialStatebase()
Get the initial state base.

Returns:
The initial state base.

getFullImports

public String[] getFullImports()
Get all import declarations (including package).

Returns:
The import statements.

getParser

public jadex.parser.IParser getParser()
Get the parser for this document.

Returns:
The parser.

getFilename

public String getFilename()
Get the filename.

Returns:
The file name.

setFilename

public void setFilename(String filename)
Set the filename.

Parameters:
filename - The file name.

getLastModified

public long getLastModified()
Get the last modified date.

Returns:
The last modified date.

setLastModified

public void setLastModified(long lastmodified)
Set the last modified date.

Parameters:
lastmodified - The last modified date.

getFullName

public String getFullName()
Get the fully qualified name package+"."+typename of a capability.

Returns:
The fully qualified name.

Jadex 0.941

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.