org.dbforms.config
Class Error

java.lang.Object
  extended by org.dbforms.config.Error

public class Error
extends Object

This class represents an error tag in dbforms-errors.xml

Author:
unknown

Constructor Summary
Error()
          Creates a new Error object.
 
Method Summary
 void addMessage(Message message)
          adds a Message-Object to this error and puts it into the datastructure for further references (this method gets called from DbFormsError)
 String getId()
          DOCUMENT ME!
 String getMessage(String language)
          DOCUMENT ME!
 Hashtable getMessages()
          DOCUMENT ME!
 String getType()
          DOCUMENT ME!
 void setId(String id)
          DOCUMENT ME!
 void setMessage(String language, String message)
          DOCUMENT ME!
 void setMessages(Hashtable msgs)
          DOCUMENT ME!
 void setType(String t)
          DOCUMENT ME!
 String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Error

public Error()
Creates a new Error object.

Method Detail

setId

public void setId(String id)
DOCUMENT ME!

Parameters:
id - DOCUMENT ME!

getId

public String getId()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setMessage

public void setMessage(String language,
                       String message)
DOCUMENT ME!

Parameters:
language - DOCUMENT ME!
message - DOCUMENT ME!

getMessage

public String getMessage(String language)
DOCUMENT ME!

Parameters:
language - DOCUMENT ME!
Returns:
DOCUMENT ME!

setMessages

public void setMessages(Hashtable msgs)
DOCUMENT ME!

Parameters:
msgs - DOCUMENT ME!

getMessages

public Hashtable getMessages()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setType

public void setType(String t)
DOCUMENT ME!

Parameters:
t - DOCUMENT ME!

getType

public String getType()
DOCUMENT ME!

Returns:
DOCUMENT ME!

addMessage

public void addMessage(Message message)
adds a Message-Object to this error and puts it into the datastructure for further references (this method gets called from DbFormsError)

Parameters:
message - message to add

toString

public String toString()
DOCUMENT ME!

Overrides:
toString in class Object
Returns:
DOCUMENT ME!


Copyright © 2002-2006 DbForms. All Rights Reserved.