org.meta2project.model.helper
Class Eraser

java.lang.Object
  extended by org.meta2project.model.helper.Eraser

public class Eraser
extends java.lang.Object

The global ontology eraser.

Author:
Anton Malykh

Constructor Summary
Eraser()
           
 
Method Summary
static java.lang.String eraseOntology(Ontology ont, ProcessListener listener)
          Try to global erase ontology with all entities.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Eraser

public Eraser()
Method Detail

eraseOntology

public static java.lang.String eraseOntology(Ontology ont,
                                             ProcessListener listener)
Try to global erase ontology with all entities. The method tries to delete all entities and the ontology itself. If there is cross-ontology links on the ontobase, the method may remain some or all entities (and the ontology itself).

Parameters:
ont - the ontology to erase
listener - process listener
Returns:
status text