edu.stanford.smi.protegex.owl.testing
Interface OWLTestResult
- All Known Implementing Classes:
- DefaultOWLTestResult, WarningMessageTestResult
- public interface OWLTestResult
- Author:
- Holger Knublauch
TYPE_ERROR
public static final int TYPE_ERROR
- See Also:
- Constant Field Values
TYPE_WARNING
public static final int TYPE_WARNING
- See Also:
- Constant Field Values
TYPE_OWL_FULL
public static final int TYPE_OWL_FULL
- See Also:
- Constant Field Values
getHost
public RDFResource getHost()
getIcon
public Icon getIcon()
- Gets an Icon to represent this type of OWLTestResult.
- Returns:
- an Icon (not null)
getMessage
public String getMessage()
getOWLTest
public OWLTest getOWLTest()
getType
public int getType()
- Gets the type of result.
- Returns:
- one of TYPE_xxx
getUserObject
public Object getUserObject()
- Gets the (optional) user object attached to this OWLTestResult.
- Returns:
- the user object (e.g. to provide more info on how to repair this)