com.ontotext.ordi.tripleset
Class WarningAwareImpl

java.lang.Object
  extended by com.ontotext.ordi.tripleset.WarningAwareImpl
All Implemented Interfaces:
WarningAware
Direct Known Subclasses:
ConnectionImpl, DataSourceImpl

public abstract class WarningAwareImpl
extends Object
implements WarningAware


Field Summary
protected  ORDIWarning warning
           
 
Constructor Summary
WarningAwareImpl()
           
 
Method Summary
 void clearWarnings()
          Clears all reported warnings by the object.
 ORDIWarning getWarning()
          Retrieves the first warning reported by the object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

warning

protected ORDIWarning warning
Constructor Detail

WarningAwareImpl

public WarningAwareImpl()
Method Detail

getWarning

public ORDIWarning getWarning()
Description copied from interface: WarningAware
Retrieves the first warning reported by the object

Specified by:
getWarning in interface WarningAware
Returns:
the first ORDIWarning or null if there are none.

clearWarnings

public void clearWarnings()
Description copied from interface: WarningAware
Clears all reported warnings by the object.

Specified by:
clearWarnings in interface WarningAware


Copyright © 2008. All Rights Reserved.