org.almendra.janet.cas.node
Class SystemApplicationDescriptor

java.lang.Object
  extended by org.almendra.janet.cas.node.Descriptor
      extended by org.almendra.janet.cas.node.ApplicationDescriptor
          extended by org.almendra.janet.cas.node.SystemApplicationDescriptor

public class SystemApplicationDescriptor
extends ApplicationDescriptor


Field Summary
static java.lang.String AGENT_NAME
           
static java.lang.String NAME
           
static java.lang.String XMLNodeTag
           
 
Fields inherited from class org.almendra.janet.cas.node.ApplicationDescriptor
agentNames, capabilityDescriptors, exportedEvents, name, XMLAgentNameTag, XMLAgentsTag, XMLExportedEventsTag, XMLNameTag, XMLParentTag
 
Constructor Summary
SystemApplicationDescriptor()
          Creates a new SystemApplicationDescriptor object.
 
Method Summary
protected  void checkValidity()
           
protected  EventDescriptor createEventDescriptor(org.jdom.Element eventNode)
           
static SystemApplicationDescriptor createSysAppDesc(org.jdom.Element element)
           
protected  void fillCapabilities(org.jdom.Element element)
           
protected  boolean isMustHaveAgentsDefined()
           
protected  void setName(org.jdom.Element element)
           
 
Methods inherited from class org.almendra.janet.cas.node.ApplicationDescriptor
addAgentName, addCapabilityDescriptor, createAppDesc, fill, fill, fillCapabilities, getCapabilities, getCapabilityDescriptors, getExportedEvents, getName, setCapabilityDescriptors, setExportedEvents, setName, toApplication, toSystemApplication, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XMLNodeTag

public static final java.lang.String XMLNodeTag
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

AGENT_NAME

public static final java.lang.String AGENT_NAME
See Also:
Constant Field Values
Constructor Detail

SystemApplicationDescriptor

public SystemApplicationDescriptor()
Creates a new SystemApplicationDescriptor object.

Method Detail

createSysAppDesc

public static SystemApplicationDescriptor createSysAppDesc(org.jdom.Element element)
                                                    throws XMLParseException
Throws:
XMLParseException

checkValidity

protected void checkValidity()
                      throws XMLParseException
Throws:
XMLParseException

fillCapabilities

protected void fillCapabilities(org.jdom.Element element)
                         throws XMLParseException
Overrides:
fillCapabilities in class ApplicationDescriptor
Throws:
XMLParseException

isMustHaveAgentsDefined

protected boolean isMustHaveAgentsDefined()
Overrides:
isMustHaveAgentsDefined in class ApplicationDescriptor
Returns:

setName

protected void setName(org.jdom.Element element)
Overrides:
setName in class ApplicationDescriptor

createEventDescriptor

protected EventDescriptor createEventDescriptor(org.jdom.Element eventNode)
                                         throws XMLParseException
Overrides:
createEventDescriptor in class ApplicationDescriptor
Returns:
Throws:
XMLParseException