Jadex 0.96-beta1

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.
 IMConfigurationbase getConfigurationbase()
          Get the configuration base.
 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.
 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, getName, getOwner, getReport, getScope, getSystemExpressionParameters, setDescription, setName
 

Method Detail

getPackage

String getPackage()
Get the package.

Returns:
The package.

setPackage

void setPackage(String pkg)
Set the package.

Parameters:
pkg - The package.

getImports

String[] getImports()
Get the import declarations.

Returns:
The import statements.

createImport

void createImport(String exp)
Create an import declaration.

Parameters:
exp - The import statement.

deleteImport

void deleteImport(String exp)
Delete an import declaration.

Parameters:
exp - The import statement.

getCapabilityReferences

IMCapabilityReference[] getCapabilityReferences()
Get all capability references.

Returns:
The capability references.

getCapabilityReference

IMCapabilityReference getCapabilityReference(String name)
Get a capability reference.

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

createCapabilityReference

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

void deleteCapabilityReference(IMCapabilityReference reference)
Delete a capability reference.

Parameters:
reference - The capability reference.

isAbstract

boolean isAbstract()
Test if the capability is abstract.

Returns:
True, if abstract.

setAbstract

void setAbstract(boolean abs)
Set the abstract state.

Parameters:
abs - The state.

getBeliefbase

IMBeliefbase getBeliefbase()
Get the belief base.

Returns:
The belief base.

getGoalbase

IMGoalbase getGoalbase()
Get the goal base.

Returns:
The goal base.

getPlanbase

IMPlanbase getPlanbase()
Get the plan base.

Returns:
The plan base.

getEventbase

IMEventbase getEventbase()
Get the event base.

Returns:
The event base.

getExpressionbase

IMExpressionbase getExpressionbase()
Get the expression base.

Returns:
The expression base.

getPropertybase

IMPropertybase getPropertybase()
Get the property base.

Returns:
The property base.

getConfigurationbase

IMConfigurationbase getConfigurationbase()
Get the configuration base.

Returns:
The configuration base.

getFullImports

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

Returns:
The import statements.

getParser

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

Returns:
The parser.

getFilename

String getFilename()
Get the filename.

Returns:
The file name.

setFilename

void setFilename(String filename)
Set the filename.

Parameters:
filename - The file name.

getLastModified

long getLastModified()
Get the last modified date.

Returns:
The last modified date.

setLastModified

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

Parameters:
lastmodified - The last modified date.

getFullName

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

Returns:
The fully qualified name.

Jadex 0.96-beta1

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-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.