Schema jadex-application-2.0.xsd


schema location:  http://jadex.sourceforge.net/jadex-application-2.0.xsd
targetNamespace:  http://jadex.sourceforge.net/jadex-application
 
Elements  Complex types 
applicationtype  agent 
agenttype 
application 
applicationtype 
argument 
import 


element applicationtype
diagram
type extension of applicationtype
children imports spacetypes agenttypes applications
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
documentation The name of the application type is used as a default name for creating application instances and should correspond to the file name (without application.xml).
package  xs:string        
documentation The package of the application type. The package should correspond to the directory structure, the application descriptor is contained in (like the package of a Java class). The package is also used for lookup of classes and other files (e.g. agent descriptors).
annotation
documentation An application type specifies the structure and content of a agent application.

complexType agent
diagram
children arguments
used by
element application/agents/agent
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
documentation The name for the agent instance (if omitted, a name will be generated).
type  xs:string        
documentation The type of agent to be created (as specified in the agenttypes section).
configuration  xs:string        
documentation The configuration of the agent (as specified in the agent's ADF).
start  xs:boolean    true    
documentation Per default, each created agent is also started (i.e. will immidiately start to execute any actions). Set the start flag to false, if the agent should be started later manually.
number  xs:int    1    
documentation Allows the create multiple agent instances at once. If omitted only one agent is created.
master  xs:boolean    false    
documentation A master agent ist required for the application, thus, if a master agent is killed, the application will be closed down. Default is false.
annotation
documentation An agent instance to be created when the application is started.

element agent/arguments
diagram
children argument
annotation
documentation Argument values to be supplied, when creating the agent.

element agent/arguments/argument
diagram
type argument
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
documentation The name of the argument.
annotation
documentation A single argument value. Arguments are passed as name / value pairs, where the name is supplied as attribute while the value is given as the text content of the element.

complexType agenttype
diagram
used by
element applicationtype/agenttypes/agenttype
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
documentation The name of the agent type (used for referring to the agent type from other parts of the application descriptor).
filename  xs:string        
documentation The implementation of the agent type. Can be a logical name (resolved using imports) or a concrete file name (e.g. to a bdi agent.xml).
annotation
documentation Defines an agent type.

complexType application
diagram
children spaces agents
used by
element applicationtype/applications/application
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
documentation The name of the application.
annotation
documentation A predefined application configuration.

element application/spaces
diagram
annotation
documentation The spaces that should available in the application context. These are space instances (or space configurations) usually referring to some defined space type. The details of a space specification are handled in separate XML schemas (e.g. for an AGR space or an evnironment space).

element application/agents
diagram
children agent
annotation
documentation The agent instances to be created when the application is started.

element application/agents/agent
diagram
type agent
children arguments
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
documentation The name for the agent instance (if omitted, a name will be generated).
type  xs:string        
documentation The type of agent to be created (as specified in the agenttypes section).
configuration  xs:string        
documentation The configuration of the agent (as specified in the agent's ADF).
start  xs:boolean    true    
documentation Per default, each created agent is also started (i.e. will immidiately start to execute any actions). Set the start flag to false, if the agent should be started later manually.
number  xs:int    1    
documentation Allows the create multiple agent instances at once. If omitted only one agent is created.
master  xs:boolean    false    
documentation A master agent ist required for the application, thus, if a master agent is killed, the application will be closed down. Default is false.
annotation
documentation An agent instance to be created when the application is started.

complexType applicationtype
diagram
children imports spacetypes agenttypes applications
used by
element applicationtype
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
documentation The name of the application type is used as a default name for creating application instances and should correspond to the file name (without application.xml).
package  xs:string        
documentation The package of the application type. The package should correspond to the directory structure, the application descriptor is contained in (like the package of a Java class). The package is also used for lookup of classes and other files (e.g. agent descriptors).
annotation
documentation An application type specifies the structure and content of a agent application.

element applicationtype/imports
diagram
children import
annotation
documentation Imports allow to add packages (e.g. java.util.*) and classes (e.g. java.util.Map) to the class lookup mechanism.

element applicationtype/imports/import
diagram
type import
annotation
documentation An import allows to add a package (e.g. java.util.*) or a class (e.g. java.util.Map) to the class lookup mechanism.

element applicationtype/spacetypes
diagram
annotation
documentation Space types define concrete substructures of the application context, e.g. a 2D environment space or an agent-group-role based organization space. The elements of space types are defined by external XML schemas.

element applicationtype/agenttypes
diagram
children agenttype
annotation
documentation The agent types that should be available in this application. Only agents of the sepcified type(s) can participate in the application, i.e. join the application context.

element applicationtype/agenttypes/agenttype
diagram
type agenttype
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
documentation The name of the agent type (used for referring to the agent type from other parts of the application descriptor).
filename  xs:string        
documentation The implementation of the agent type. Can be a logical name (resolved using imports) or a concrete file name (e.g. to a bdi agent.xml).
annotation
documentation A type of agent that can be contained in the application.

element applicationtype/applications
diagram
children application
annotation
documentation In the applications section, predefined application configurations (i.e. application instances) can be defined.

element applicationtype/applications/application
diagram
type application
children spaces agents
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
documentation The name of the application.
annotation
documentation A predefined application configuration.

complexType argument
diagram
used by
element agent/arguments/argument
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
documentation The name of the argument.
annotation
documentation A single argument value. Arguments are passed as name / value pairs, where the name is supplied as attribute while the value is given as the text content of the element.

complexType import
diagram
used by
element applicationtype/imports/import
annotation
documentation An import allows to add a package (e.g. java.util.*) or a class (e.g. java.util.Map) to the class lookup mechanism.