edu.ksu.cis.projects.bogor.ast.transform
Class DefaultTransformSystemResult

java.lang.Object
  extended by edu.ksu.cis.projects.bogor.ast.transform.DefaultTransformSystemResult
All Implemented Interfaces:
ITransformSystemResult

public class DefaultTransformSystemResult
extends Object
implements ITransformSystemResult

Vanilla implementation. No surprises here.

Version:
$Revision: 1.3 $ $Date: 2004/11/03 06:20:33 $
Author:
Matt Hoosier

Field Summary
protected  boolean changesMade
           
protected  IMessageStore messages
           
 
Constructor Summary
DefaultTransformSystemResult(boolean altered)
           
DefaultTransformSystemResult(boolean altered, FileMessage[] errors)
           
 
Method Summary
 IMessageStore getMessages()
          Fetch the set of all domain-specific errors encountered while transforming the syntax tree.
 boolean wasSystemAltered()
          Determine if the transformer made any changes to the system definition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

messages

protected IMessageStore messages

changesMade

protected boolean changesMade
Constructor Detail

DefaultTransformSystemResult

public DefaultTransformSystemResult(boolean altered)

DefaultTransformSystemResult

public DefaultTransformSystemResult(boolean altered,
                                    FileMessage[] errors)
Method Detail

getMessages

public IMessageStore getMessages()
Description copied from interface: ITransformSystemResult
Fetch the set of all domain-specific errors encountered while transforming the syntax tree.

Specified by:
getMessages in interface ITransformSystemResult

wasSystemAltered

public boolean wasSystemAltered()
Description copied from interface: ITransformSystemResult
Determine if the transformer made any changes to the system definition.

Specified by:
wasSystemAltered in interface ITransformSystemResult