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
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addElement
(IPASSProcessModelElement pASSProcessModelElement) Adds aIPASSProcessModelElement
to the modelvoid
addElement
(IPASSProcessModelElement pASSProcessModelElement, String layerID) Adds aIPASSProcessModelElement
to the modelvoid
addLayer
(IModelLayer modelLayer) Adds a new model Layer to the modelvoid
addStartSubject
(ISubject startSubject) Method that sets the start subject attribute of the instanceExports the current model to the specified path using the underlying OWLGraph and TripleStore.Returns a Map containing all known PASSProcessModelElements (in the current context) mapped with their model component id.Returns the base graph behind the model.Returns the current base layer (the standard layer of the model)Returns a map containing all known Model layers (in the current context) mapped with their model component id.Method that returns the dictionary of all start subjectsboolean
Sets whether the model is layered or notvoid
removeElement
(String modelComponentID) Removes aIPASSProcessModelElement
specified by its idvoid
removeElement
(String modelComponentID, int removeCascadeDepth) Removes aIPASSProcessModelElement
specified by its idvoid
removeLayer
(String id) Removes a model layer specified by its model component idvoid
removeLayer
(String id, int removeCascadeDepth) Removes a model layer specified by its model component idvoid
Method that removes a specified subject as start subject.void
removeStartSubject
(String id, int removeCascadeDepth) Method that removes a specified subject as start subject.void
setAllElements
(Set<IPASSProcessModelElement> elements) Overrides the model elements currently contained by the model.void
setAllElements
(Set<IPASSProcessModelElement> elements, int removeCascadeDepth) Overrides the model elements currently contained by the model.void
setBaseLayer
(IModelLayer layer) Sets a layer as the base layer for this model.void
setBaseURI
(String baseURI) Sets the base uri for the model.void
setIsMultiLayered
(boolean layered) Sets whether the model is layered or notvoid
setLayers
(Set<IModelLayer> modelLayers) Overrides the layers currently contained by the model.void
setLayers
(Set<IModelLayer> modelLayers, int removeCascadeDepth) Overrides the layers currently contained by the model.void
setStartSubjects
(Set<ISubject> startSubjects) Method that overrides the current set of start subjectsvoid
setStartSubjects
(Set<ISubject> startSubjects, int removeCascadeDepth) Method that overrides the current set of start subjectsVon Schnittstelle geerbte Methoden alps.java.api.StandardPASS.IImplementingElement
addImplementedInterfaceIDReference, getImplementedInterfacesIDReferences, removeImplementedInterfaces, removeImplementedInterfaces, removeImplementedInterfacesIDReference, setImplementedInterfacesIDReferences
Von Schnittstelle geerbte Methoden alps.java.api.StandardPASS.IImplementingElementT
addImplementedInterface, getImplementedInterfaces, setImplementedInterfaces, setImplementedInterfaces
Von Schnittstelle geerbte Methoden alps.java.api.StandardPASS.IPASSProcessModelElement
addComment, addElementWithUnspecifiedRelation, addModelComponentLabel, clearComments, clearModelComponentLabels, createUniqueModelComponentID, createUniqueModelComponentID, createUniqueModelComponentID, getComments, getElementsWithUnspecifiedRelation, getModelComponentID, getModelComponentLabels, getModelComponentLabelsAsStrings, getModelComponentLabelsAsStrings, getUriModelComponentID, removeElementWithUnspecifiedRelation, removeFromEverything, removeFromEverything, removeModelComponentLabel, setElementsWithUnspecifiedRelation, setModelComponentID, setModelComponentLabels
Von Schnittstelle geerbte Methoden alps.java.api.util.IValueChangedObserver
notifyModelComponentIDChanged, updateAdded, updateRemoved, updateRemoved
Von Schnittstelle geerbte Methoden alps.java.api.util.IValueChangedPublisher
register, unregister, unregister
-
Methodendetails
-
setBaseURI
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
Method that sets the start subject attribute of the instance- Parameter:
startSubject
- the new start subject
-
setStartSubjects
Method that overrides the current set of start subjects- Parameter:
startSubjects
-removeCascadeDepth
-
-
setStartSubjects
Method that overrides the current set of start subjects- Parameter:
startSubjects
-
-
removeStartSubject
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
Method that removes a specified subject as start subject. Does NOT remove the element from the model completely- Parameter:
id
-
-
getStartSubjects
Method that returns the dictionary of all start subjects- Gibt zurück:
- The known start subjects
-
addElement
Adds aIPASSProcessModelElement
to the model- Parameter:
pASSProcessModelElement
- the new model elementlayerID
- the layer it should be added to. If null, the element will be added to the base (default) layer
-
addElement
Adds aIPASSProcessModelElement
to the model- Parameter:
pASSProcessModelElement
- the new model element If null, the element will be added to the base (default) layer
-
setAllElements
Overrides the model elements currently contained by the model.- Parameter:
elements
- The new model elementsremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setAllElements
Overrides the model elements currently contained by the model.- Parameter:
elements
- The new model elements
-
getAllElements
Map<String,IPASSProcessModelElement> getAllElements() Returns a Map containing all known PASSProcessModelElements (in the current context) mapped with their model component id.- Gibt zurück:
-
removeElement
Removes aIPASSProcessModelElement
specified by its id- Parameter:
modelComponentID
- the model component id of the element that should be removedremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
removeElement
Removes aIPASSProcessModelElement
specified by its id- Parameter:
modelComponentID
- the model component id of the element that should be removed
-
addLayer
Adds a new model Layer to the model- Parameter:
modelLayer
- The new model layer
-
setLayers
Overrides the layers currently contained by the model.- Parameter:
modelLayers
- The new model layersremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setLayers
Overrides the layers currently contained by the model.- Parameter:
modelLayers
- The new model layers
-
removeLayer
Removes a model layer specified by its model component id- Parameter:
id
- the model component id of the layerremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
removeLayer
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
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
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.
-