AHA
Class AHA

java.lang.Object
  |
  +--AHA.AHA

public class AHA
extends java.lang.Object

A class which is used to store and retrieve references to objects used throughout the processing of a request. Such objects are used to provide parts of the functionality of AHA, and they work closely together. Examples of objects to which AHA contains references are a "Messages" object (for generating error messages), an "Output" object (which is a PrintWriter) used for everything that is sent to the browser, A "UserModel" object which contains the user model, etc.


Field Summary
static int Dutch
           
static int English
           
static java.lang.String[] Languages
           
 
Constructor Summary
AHA()
           
AHA(java.lang.String HtDocs, java.lang.String Logs, java.lang.String Course, java.lang.String Title, java.lang.String Background, java.lang.String Language)
          The only constructor registers the pre-initialized attributes.
 
Method Summary
 AhaProperties getAhaProperties()
           
 java.lang.String getApplets()
          Return the Applets field.
 java.lang.String getBackground()
          Return the Background field.
 java.lang.String getBase()
           
 java.lang.String getCourse()
          Return the Course field.
 java.lang.String getDocs()
          Return the Docs field.
 java.lang.String getDocumentsListFile()
           
 java.lang.String getFirstDocument()
           
 GenerateList getGenerateList()
           
 java.lang.String getGenListFile()
           
 java.lang.String getHost()
          Return the Host field.
 java.lang.String getHtDocs()
          Return the HtDocs field.
 java.lang.String getIcons()
          Return the Icons field.
 int getLanguage()
          Return the Language field.
 java.lang.String getLanguageName(int i)
           
 java.lang.String getLogs()
          Return the Logs field.
 Messages getMessages()
          Return the Messages field.
 int getPort()
          Return the Port field.
 java.lang.String getPropertyFile()
           
 java.lang.String getReqListFile()
           
 RequirementList getRequirementList()
           
 java.lang.String getServletDir()
           
 java.lang.String getTest()
          Return the Test field.
 java.lang.String getTitle()
          Return the Title field.
 java.lang.String getUserChangeableConceptsFile()
           
 UserModel getUserModel()
          Return the UserModel field.
 java.io.PrintWriter getWriter()
          Return the Writer field.
 void setAhaProperties(AhaProperties AhaProperties)
           
 void setApplets(java.lang.String Applets)
          Set the Applets field.
 void setBackground(java.lang.String Background)
          Set the Background field.
 void setCourse(java.lang.String Course)
          Set the Course field.
 void setDocs(java.lang.String Docs)
          Set the Docs field.
 void setGenerateList(GenerateList hs)
           
 void setHost(java.lang.String Host)
          Set the Host field.
 void setHtDocs(java.lang.String HtDocs)
          Set the HtDocs field.
 void setIcons(java.lang.String Icons)
          Set the Icons field.
 void setLanguage(java.lang.String Language)
          Set the Language field.
 void setLogs(java.lang.String Logs)
          Set the Logs field.
 void setMessages(Messages Messages)
          Set the Messages field.
 void setPort(int Port)
          Set the Port field.
 void setRequirementList(RequirementList hs)
           
 void setTest(java.lang.String Test)
          Set the Test field.
 void setTitle(java.lang.String Title)
          Set the Title field.
 void setUserModel(UserModel UserModel)
          Set the UserModel field.
 void setWriter(java.io.PrintWriter Writer)
          Set the Writer field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

English

public static final int English

Dutch

public static final int Dutch

Languages

public static final java.lang.String[] Languages
Constructor Detail

AHA

public AHA()

AHA

public AHA(java.lang.String HtDocs,
           java.lang.String Logs,
           java.lang.String Course,
           java.lang.String Title,
           java.lang.String Background,
           java.lang.String Language)
The only constructor registers the pre-initialized attributes.
Method Detail

getPropertyFile

public java.lang.String getPropertyFile()

getAhaProperties

public AhaProperties getAhaProperties()

setAhaProperties

public void setAhaProperties(AhaProperties AhaProperties)

getServletDir

public java.lang.String getServletDir()

getHtDocs

public java.lang.String getHtDocs()
Return the HtDocs field.

setHtDocs

public void setHtDocs(java.lang.String HtDocs)
Set the HtDocs field.

getLogs

public java.lang.String getLogs()
Return the Logs field.

setLogs

public void setLogs(java.lang.String Logs)
Set the Logs field.

getCourse

public java.lang.String getCourse()
Return the Course field.

setCourse

public void setCourse(java.lang.String Course)
Set the Course field.

getTitle

public java.lang.String getTitle()
Return the Title field.

setTitle

public void setTitle(java.lang.String Title)
Set the Title field.

getBackground

public java.lang.String getBackground()
Return the Background field.

setBackground

public void setBackground(java.lang.String Background)
Set the Background field.

getLanguageName

public java.lang.String getLanguageName(int i)

getLanguage

public int getLanguage()
Return the Language field.

setLanguage

public void setLanguage(java.lang.String Language)
Set the Language field. Currently only Dutch and English are supported. The default language is English. The language switch is only available for regular messages, thus not for error messages. (Sorry, maybe in a future version...)

getDocs

public java.lang.String getDocs()
Return the Docs field.

setDocs

public void setDocs(java.lang.String Docs)
Set the Docs field.

getTest

public java.lang.String getTest()
Return the Test field.

setTest

public void setTest(java.lang.String Test)
Set the Test field.

getIcons

public java.lang.String getIcons()
Return the Icons field.

setIcons

public void setIcons(java.lang.String Icons)
Set the Icons field.

getApplets

public java.lang.String getApplets()
Return the Applets field.

setApplets

public void setApplets(java.lang.String Applets)
Set the Applets field.

getMessages

public Messages getMessages()
Return the Messages field.

setMessages

public void setMessages(Messages Messages)
Set the Messages field.

getHost

public java.lang.String getHost()
Return the Host field.

setHost

public void setHost(java.lang.String Host)
Set the Host field.

getPort

public int getPort()
Return the Port field.

setPort

public void setPort(int Port)
Set the Port field.

getUserModel

public UserModel getUserModel()
Return the UserModel field.

setUserModel

public void setUserModel(UserModel UserModel)
Set the UserModel field.

getWriter

public java.io.PrintWriter getWriter()
Return the Writer field.

setWriter

public void setWriter(java.io.PrintWriter Writer)
Set the Writer field.

getGenerateList

public GenerateList getGenerateList()

setGenerateList

public void setGenerateList(GenerateList hs)

getRequirementList

public RequirementList getRequirementList()

setRequirementList

public void setRequirementList(RequirementList hs)

getUserChangeableConceptsFile

public java.lang.String getUserChangeableConceptsFile()

getReqListFile

public java.lang.String getReqListFile()

getGenListFile

public java.lang.String getGenListFile()

getDocumentsListFile

public java.lang.String getDocumentsListFile()

getFirstDocument

public java.lang.String getFirstDocument()

getBase

public java.lang.String getBase()