Class CommandState


  • public class CommandState
    extends Object
    A simple state container for communicating between Commands.
    Author:
    James A. Overton
    • Constructor Detail

      • CommandState

        public CommandState()
    • Method Detail

      • getCatalogPath

        public String getCatalogPath()
        Get the catalog path.
        Returns:
        the catalog path
      • getOntology

        public org.semanticweb.owlapi.model.OWLOntology getOntology()
        Get the ontology (not a copy).
        Returns:
        the ontology
      • getOntologyPath

        public String getOntologyPath()
        Get the ontology path.
        Returns:
        the ontology path
      • setCatalogPath

        public void setCatalogPath​(String catalogPath)
        Set the catalog path.
        Parameters:
        catalogPath - the catalog to use
      • setOntology

        public void setOntology​(org.semanticweb.owlapi.model.OWLOntology ontology)
        Set the ontology.
        Parameters:
        ontology - the ontology to store
      • setOntologyPath

        public void setOntologyPath​(String ontologyPath)
        Set the ontology path.
        Parameters:
        ontologyPath - the path to the ontology