edu.stanford.smi.protegex.owl.model
Interface Deprecatable

All Known Subinterfaces:
OWLDatatypeProperty, OWLNamedClass, OWLObjectProperty, OWLProperty, RDFProperty, RDFSNamedClass
All Known Implementing Classes:
AbstractOWLProperty, DefaultOWLDatatypeProperty, DefaultOWLNamedClass, DefaultOWLObjectProperty, DefaultRDFProperty, DefaultRDFSNamedClass

public interface Deprecatable

A common interface for resources that can be deprecated, i.e. RDFSClasses and RDFProperties.

Author:
Holger Knublauch

Method Summary
 boolean isDeprecated()
          Checks whether this has been declared deprecated (using owl:DeprecatedClass or owl:DeprecatedProperty).
 void setDeprecated(boolean value)
           
 

Method Detail

isDeprecated

public boolean isDeprecated()
Checks whether this has been declared deprecated (using owl:DeprecatedClass or owl:DeprecatedProperty).

Returns:
true if this was deprecated

setDeprecated

public void setDeprecated(boolean value)