cuba.util
Class GeneratedMessage

java.lang.Object
  extended by cuba.util.GeneratedMessage

public class GeneratedMessage
extends java.lang.Object

This is one Message wich was created during the generate-process. It is one part of the GeneratorResult.

Author:
dbt

Nested Class Summary
static interface GeneratedMessage.LocationType
          The different Kinds of Location-Identifiers
static interface GeneratedMessage.Severity
          The different values for the severity of a message.
 
Constructor Summary
GeneratedMessage(java.lang.String info)
           
GeneratedMessage(java.lang.String text, int severity, java.lang.String file, java.lang.String location, int locationType)
           
 
Method Summary
 java.lang.String getFile()
           
 java.lang.String getLocation()
          Returns the package/class/method or DOM-Path or LineNumber which caused the message.
 int getLocationType()
           
 java.lang.String getMessage()
           
 int getSeverity()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratedMessage

public GeneratedMessage(java.lang.String info)

GeneratedMessage

public GeneratedMessage(java.lang.String text,
                        int severity,
                        java.lang.String file,
                        java.lang.String location,
                        int locationType)
Method Detail

getLocation

public java.lang.String getLocation()
Returns the package/class/method or DOM-Path or LineNumber which caused the message.

Returns:
location

getMessage

public java.lang.String getMessage()

getSeverity

public int getSeverity()

getLocationType

public int getLocationType()

getFile

public java.lang.String getFile()