com.brayan.SECS.BLL
Class JenaListener
java.lang.Object
com.hp.hpl.jena.rdf.listeners.StatementListener
com.brayan.SECS.BLL.JenaListener
- All Implemented Interfaces:
- com.hp.hpl.jena.rdf.model.ModelChangedListener
public class JenaListener
- extends com.hp.hpl.jena.rdf.listeners.StatementListener
This class listens to event respectively changes to the model
- Author:
- Brayan
|
Field Summary |
(package private) java.lang.String |
modelName
|
(package private) java.lang.String |
name
|
|
Constructor Summary |
JenaListener(com.hp.hpl.jena.rdf.model.Model m,
java.lang.String name)
|
|
Method Summary |
void |
addedStatement(com.hp.hpl.jena.rdf.model.Statement s)
If a statement - in particular a Notification - is added the system shall invoke notifications for the user. |
private java.util.ArrayList<Notification> |
getNotifications()
|
| Methods inherited from class com.hp.hpl.jena.rdf.listeners.StatementListener |
addedStatements, addedStatements, addedStatements, addedStatements, notifyEvent, removedStatement, removedStatements, removedStatements, removedStatements, removedStatements |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
modelName
java.lang.String modelName
name
java.lang.String name
JenaListener
JenaListener(com.hp.hpl.jena.rdf.model.Model m,
java.lang.String name)
addedStatement
public void addedStatement(com.hp.hpl.jena.rdf.model.Statement s)
- If a statement - in particular a Notification - is added the system shall invoke notifications for the user.
- Specified by:
addedStatement in interface com.hp.hpl.jena.rdf.model.ModelChangedListener- Overrides:
addedStatement in class com.hp.hpl.jena.rdf.listeners.StatementListener
- Parameters:
s -
getNotifications
private java.util.ArrayList<Notification> getNotifications()