/******************************************************************************* * Copyright (c) 2004, 2007-2008 IBM Corporation and Cambridge Semantics Incorporated. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * File: $Source$ * Created by: Generated Source from org.openanzo.jdbc.utils.opgen.jet * Created on: Generated Source from org.openanzo.jdbc.utils.opgen.jet * Revision: $Id$ * * Contributors: * IBM Corporation - initial API and implementation * Cambridge Semantics Incorporated - Fork to Anzo *******************************************************************************/ package org.openanzo.ontologies.execution; /** * Implementations of this listener may be registered with instances of org.openanzo.ontologies.execution.JavascriptSemanticService to * receive notification when properties changed, added or removed. * <br> */ public interface JavascriptSemanticServiceListener extends org.openanzo.rdf.jastor.ThingListener { /** * Called when serviceUser has changed * @param source the affected instance of org.openanzo.ontologies.execution.JavascriptSemanticService */ public void serviceUserChanged(org.openanzo.ontologies.execution.JavascriptSemanticService source); /** * Called when a value of operation has been added * @param source the affected instance of org.openanzo.ontologies.execution.JavascriptSemanticService * @param newValue the object representing the new value */ public void operationAdded(org.openanzo.ontologies.execution.JavascriptSemanticService source, org.openanzo.ontologies.execution.SemanticOperation newValue); /** * Called when a value of operation has been removed * @param source the affected instance of org.openanzo.ontologies.execution.JavascriptSemanticService * @param oldValue the object representing the removed value */ public void operationRemoved(org.openanzo.ontologies.execution.JavascriptSemanticService source, org.openanzo.ontologies.execution.SemanticOperation oldValue); /** * Called when stateStyle has changed * @param source the affected instance of org.openanzo.ontologies.execution.JavascriptSemanticService */ public void stateStyleChanged(org.openanzo.ontologies.execution.JavascriptSemanticService source); /** * Called when scriptResource has changed * @param source the affected instance of org.openanzo.ontologies.execution.JavascriptSemanticService */ public void scriptResourceChanged(org.openanzo.ontologies.execution.JavascriptSemanticService source); /** * Called when scriptLocation has changed * @param source the affected instance of org.openanzo.ontologies.execution.JavascriptSemanticService */ public void scriptLocationChanged(org.openanzo.ontologies.execution.JavascriptSemanticService source); }