Schnittstelle IPASSProcessModel

Alle Superschnittstellen:
IImplementingElement, IImplementingElementT<IPASSProcessModel>, IPASSProcessModelElement, IValueChangedObserver<IPASSProcessModelElement>, IValueChangedPublisher<IPASSProcessModelElement>
Alle bekannten Unterschnittstellen:
ILayeredPassProcessModel
Alle bekannten Implementierungsklassen:
LayeredPassProcessModel, PASSProcessModel

public interface IPASSProcessModel extends IPASSProcessModelElement, IImplementingElementT<IPASSProcessModel>
Interface of the pass process model class
  • Methodendetails

    • setBaseURI

      void setBaseURI(String baseURI)
      Sets the base uri for the model. This uri is important for the exporter to function properly. Every element inside the model will be parsed with this specified uri.
      Parameter:
      baseURI - the base uri
    • getBaseGraph

      IPASSGraph getBaseGraph()
      Returns the base graph behind the model. This graph collects all information held by the model in the form of nodes and triples. This information is redundand for anyone who has access to the model, but is used for exporting the model to owl.
      Gibt zurück:
      The underlying graph
    • setIsMultiLayered

      void setIsMultiLayered(boolean layered)
      Sets whether the model is layered or not
      Parameter:
      layered -
    • isLayered

      boolean isLayered()
      Sets whether the model is layered or not
      Gibt zurück:
      true if layered, false if not
    • addStartSubject

      void addStartSubject(ISubject startSubject)
      Method that sets the start subject attribute of the instance
      Parameter:
      startSubject - the new start subject
    • setStartSubjects

      void setStartSubjects(Set<ISubject> startSubjects, int removeCascadeDepth)
      Method that overrides the current set of start subjects
      Parameter:
      startSubjects -
      removeCascadeDepth -
    • setStartSubjects

      void setStartSubjects(Set<ISubject> startSubjects)
      Method that overrides the current set of start subjects
      Parameter:
      startSubjects -
    • removeStartSubject

      void removeStartSubject(String id, int removeCascadeDepth)
      Method that removes a specified subject as start subject. Does NOT remove the element from the model completely
      Parameter:
      id -
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • removeStartSubject

      void removeStartSubject(String id)
      Method that removes a specified subject as start subject. Does NOT remove the element from the model completely
      Parameter:
      id -
    • getStartSubjects

      Map<String,ISubject> getStartSubjects()
      Method that returns the dictionary of all start subjects
      Gibt zurück:
      The known start subjects
    • addElement

      void addElement(IPASSProcessModelElement pASSProcessModelElement, String layerID)
      Adds a IPASSProcessModelElement to the model
      Parameter:
      pASSProcessModelElement - the new model element
      layerID - the layer it should be added to. If null, the element will be added to the base (default) layer
    • addElement

      void addElement(IPASSProcessModelElement pASSProcessModelElement)
      Adds a IPASSProcessModelElement to the model
      Parameter:
      pASSProcessModelElement - the new model element If null, the element will be added to the base (default) layer
    • setAllElements

      void setAllElements(Set<IPASSProcessModelElement> elements, int removeCascadeDepth)
      Overrides the model elements currently contained by the model.
      Parameter:
      elements - The new model elements
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • setAllElements

      void setAllElements(Set<IPASSProcessModelElement> elements)
      Overrides the model elements currently contained by the model.
      Parameter:
      elements - The new model elements
    • getAllElements

      Returns a Map containing all known PASSProcessModelElements (in the current context) mapped with their model component id.
      Gibt zurück:
    • removeElement

      void removeElement(String modelComponentID, int removeCascadeDepth)
      Removes a IPASSProcessModelElement specified by its id
      Parameter:
      modelComponentID - the model component id of the element that should be removed
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • removeElement

      void removeElement(String modelComponentID)
      Removes a IPASSProcessModelElement specified by its id
      Parameter:
      modelComponentID - the model component id of the element that should be removed
    • addLayer

      void addLayer(IModelLayer modelLayer)
      Adds a new model Layer to the model
      Parameter:
      modelLayer - The new model layer
    • setLayers

      void setLayers(Set<IModelLayer> modelLayers, int removeCascadeDepth)
      Overrides the layers currently contained by the model.
      Parameter:
      modelLayers - The new model layers
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • setLayers

      void setLayers(Set<IModelLayer> modelLayers)
      Overrides the layers currently contained by the model.
      Parameter:
      modelLayers - The new model layers
    • removeLayer

      void removeLayer(String id, int removeCascadeDepth)
      Removes a model layer specified by its model component id
      Parameter:
      id - the model component id of the layer
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • removeLayer

      void removeLayer(String id)
      Removes a model layer specified by its model component id
      Parameter:
      id - the model component id of the layer
    • getModelLayers

      Map<String,IModelLayer> getModelLayers()
      Returns a map containing all known Model layers (in the current context) mapped with their model component id.
      Gibt zurück:
      The map of all model layers
    • getBaseLayer

      IModelLayer getBaseLayer()
      Returns the current base layer (the standard layer of the model)
      Gibt zurück:
      The current base layer
    • setBaseLayer

      void setBaseLayer(IModelLayer layer)
      Sets a layer as the base layer for this model. The base layer is the standard layer, and should not extend any other layers.
      Parameter:
      layer - The model layer
    • export

      String export(String filepath)
      Exports the current model to the specified path using the underlying OWLGraph and TripleStore. The result is a owl/rdf file at the specified location.
      Parameter:
      filepath - The specified location for saving the file
      Gibt zurück:
      The absolute path the file was written to.