Jadex 0.96-beta1

jadex.model
Interface IMCapabilityReference

All Superinterfaces:
IMElement

public interface IMCapabilityReference
extends IMElement

A reference to a capability.


Method Summary
 IMCapability getCapability()
          Get the referenced capability.
 String getFile()
          Get the file.
 void setFile(String file)
          Set the file name.
 
Methods inherited from interface jadex.model.IMElement
check, getChildren, getDescription, getEncodableRepresentation, getName, getOwner, getReport, getScope, getSystemExpressionParameters, setDescription, setName
 

Method Detail

setFile

void setFile(String file)
Set the file name. The file name specifies the capability to include. The file can be either referenced by an unqualified or qualified name, e.g., name or package.name, or by a filename relative to the classpath, e.g., package/name.capability.xml. Abstract capabilities like the DF capability have to be referenced by the fully qualified name (i.e., jadex.planlib.DF), because these capabilities are resolved by this identifier using the platform configuration.

Parameters:
file - The file.

getFile

String getFile()
Get the file. The file name specifies the capability to include. The file can be either referenced by an unqualified or qualified name, e.g., name or package.name, or by a filename relative to the classpath, e.g., package/name.capability.xml. Abstract capabilities like the DF capability have to be referenced by the fully qualified name (i.e., jadex.planlib.DF), because these capabilities are resolved by this identifier using the platform configuration.

Returns:
The file.

getCapability

IMCapability getCapability()
Get the referenced capability.

Returns:
The referenced capability.

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.