org.wsmo.grounding.sawsdl.events
Class GroundingChangeEvent

java.lang.Object
  extended by org.wsmo.grounding.sawsdl.events.GroundingChangeEvent

public class GroundingChangeEvent
extends Object

An event indicating an addition or removal of semantic model annotations.


Field Summary
static int ADD_ACTION
           
static int LIFTING_REF
           
static int LOWERING_REF
           
static int MODEL_REF
           
static int REMOVE_ACTION
           
 
Constructor Summary
GroundingChangeEvent(int action, int type, QName wsdlName, Object ref)
           
 
Method Summary
 int getAction()
          The type of the performed action (ADD_ACTION or REMOVE_ACTION).
 Object getModelRef()
          The target of grounding element which has been changed.
 int getType()
          The type of the grounding element which has been added or removed (MODEL_REF, LOWERING_REF or LIFTING_REF).
 QName getWsdlName()
          The WSDL or XML Schema element to which the grounding element belongs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADD_ACTION

public static final int ADD_ACTION
See Also:
Constant Field Values

REMOVE_ACTION

public static final int REMOVE_ACTION
See Also:
Constant Field Values

MODEL_REF

public static final int MODEL_REF
See Also:
Constant Field Values

LOWERING_REF

public static final int LOWERING_REF
See Also:
Constant Field Values

LIFTING_REF

public static final int LIFTING_REF
See Also:
Constant Field Values
Constructor Detail

GroundingChangeEvent

public GroundingChangeEvent(int action,
                            int type,
                            QName wsdlName,
                            Object ref)
Method Detail

getAction

public int getAction()
The type of the performed action (ADD_ACTION or REMOVE_ACTION).

Returns:
Returns the action type.

getType

public int getType()
The type of the grounding element which has been added or removed (MODEL_REF, LOWERING_REF or LIFTING_REF).

Returns:
Returns the type of the grounding element

getWsdlName

public QName getWsdlName()
The WSDL or XML Schema element to which the grounding element belongs.

Returns:
Returns the WSDL or XML Schema element name

getModelRef

public Object getModelRef()
The target of grounding element which has been changed.

Returns:
Returns reference id (IRI) or schema reference (URI)


Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.