org.ontobox.fast.action
Class CreateOntology

java.lang.Object
  extended by org.ontobox.fast.action.CreateOntology
All Implemented Interfaces:
WriteAction

public class CreateOntology
extends java.lang.Object
implements WriteAction

Author:
Anton Malykh

Constructor Summary
CreateOntology(java.lang.String uri)
           
CreateOntology(java.lang.String[] data)
           
 
Method Summary
 void doAction(Storage storage)
           
 WriteAction getUndoAction()
           
 java.lang.String getUri()
           
 void preverify(Storage storage)
           
 java.lang.String[] saveData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateOntology

public CreateOntology(java.lang.String[] data)

CreateOntology

public CreateOntology(java.lang.String uri)
Method Detail

getUri

public final java.lang.String getUri()

preverify

public final void preverify(Storage storage)
Specified by:
preverify in interface WriteAction

doAction

public final void doAction(Storage storage)
Specified by:
doAction in interface WriteAction

saveData

public final java.lang.String[] saveData()
Specified by:
saveData in interface WriteAction

getUndoAction

public final WriteAction getUndoAction()
Specified by:
getUndoAction in interface WriteAction