org.semanticweb.owl.model.change
Class SetDeprecated
java.lang.Object
|
+--org.semanticweb.owl.model.change.OntologyChange
|
+--org.semanticweb.owl.model.change.SetDeprecated
- public class SetDeprecated
- extends OntologyChange
Set a Class or Property to be deprecated.
Created: Fri Feb 07 17:20:09 2003
- Version:
- $Id: SetDeprecated.java,v 1.1.1.1 2003/10/14 17:10:09 sean_bechhofer Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetDeprecated
public SetDeprecated(OWLOntology ontology,
OWLDeprecatableObject object,
boolean deprecated,
OntologyChange cause)
getObject
public OWLDeprecatableObject getObject()
- The entity.
- Returns:
- an
OWLEntity value
isDeprecated
public boolean isDeprecated()
accept
public void accept(ChangeVisitor visitor)
throws OWLException
- Description copied from class:
OntologyChange
- Accept a visit from a change visitor.
- Specified by:
accept in class OntologyChange
- Parameters:
visitor - a ChangeVisitor value
OWLException
WonderWeb