edu.stanford.smi.protegex.owl.inference.protegeowl.log
Class WarningMessageTestResult

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.inference.protegeowl.log.WarningMessageTestResult
All Implemented Interfaces:
OWLTestResult

public class WarningMessageTestResult
extends Object
implements OWLTestResult

User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Sep 21, 2004

matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm


Field Summary
private  WarningMessageLogRecord logRecord
           
 
Fields inherited from interface edu.stanford.smi.protegex.owl.testing.OWLTestResult
TYPE_ERROR, TYPE_OWL_FULL, TYPE_WARNING
 
Constructor Summary
WarningMessageTestResult(WarningMessageLogRecord logRecord)
           
 
Method Summary
 RDFResource getHost()
           
 Icon getIcon()
          Gets an Icon to represent this type of OWLTestResult.
 String getMessage()
           
 OWLTest getOWLTest()
           
 int getType()
          Gets the type of result.
 Object getUserObject()
          Gets the (optional) user object attached to this OWLTestResult.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logRecord

private WarningMessageLogRecord logRecord
Constructor Detail

WarningMessageTestResult

public WarningMessageTestResult(WarningMessageLogRecord logRecord)
Method Detail

getHost

public RDFResource getHost()
Specified by:
getHost in interface OWLTestResult

getIcon

public Icon getIcon()
Gets an Icon to represent this type of OWLTestResult.

Specified by:
getIcon in interface OWLTestResult
Returns:
an Icon (not null)

getMessage

public String getMessage()
Specified by:
getMessage in interface OWLTestResult

getOWLTest

public OWLTest getOWLTest()
Specified by:
getOWLTest in interface OWLTestResult

getType

public int getType()
Gets the type of result.

Specified by:
getType in interface OWLTestResult
Returns:
one of TYPE_xxx

getUserObject

public Object getUserObject()
Gets the (optional) user object attached to this OWLTestResult.

Specified by:
getUserObject in interface OWLTestResult
Returns:
the user object (e.g. to provide more info on how to repair this)