net.sf.daileon.xml.items
Class DaileonConfig

java.lang.Object
  extended by net.sf.daileon.xml.items.DaileonConfig

public class DaileonConfig
extends Object

The DaileonConfig class represents the root element of the XML configuration file, indicated in the command line when Daileon is run.
A DaileonConfig object is mainly responsible for holding 2 objects, which represent respectively the <setup> and the <domain-annotations> elements of the XML configuration file.

Version:
1.0 01/01/2010
Author:
Roberto Perillo

Field Summary
private  DomainAnnotations domainAnnotations
          The <domain-annotations> structure of the XML configuration file
private  Setup setup
          The <setup> structure of the XML configuration file
 
Constructor Summary
DaileonConfig()
           
 
Method Summary
 DomainAnnotations getDomainAnnotations()
          Gets the object that represents the <domain-annotations> element of the XML configuration file.
 Setup getSetup()
          Gets the object that represents the <setup> element of the XML configuration file.
 void setDomainAnnotations(DomainAnnotations domainAnnotations)
          Sets the object that represents the <domain-annotations> element of the XML configuration file.
 void setSetup(Setup setup)
          Sets the object that represents the <setup> element of the XML configuration file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

setup

private Setup setup
The <setup> structure of the XML configuration file


domainAnnotations

private DomainAnnotations domainAnnotations
The <domain-annotations> structure of the XML configuration file

Constructor Detail

DaileonConfig

public DaileonConfig()
Method Detail

getSetup

public Setup getSetup()
Gets the object that represents the <setup> element of the XML configuration file.

Returns:
The object that represents the <setup> element of the XML configuration file.

setSetup

public void setSetup(Setup setup)
Sets the object that represents the <setup> element of the XML configuration file.

Parameters:
setup - The object that represents the <setup> element of the XML configuration file.

getDomainAnnotations

public DomainAnnotations getDomainAnnotations()
Gets the object that represents the <domain-annotations> element of the XML configuration file.

Returns:
The object that represents the <domain-annotations> element of the XML configuration file.

setDomainAnnotations

public void setDomainAnnotations(DomainAnnotations domainAnnotations)
Sets the object that represents the <domain-annotations> element of the XML configuration file.

Parameters:
domainAnnotations - The object that represents the <setup> element of the XML configuration file.