org.wsmo.service.signature
Interface GroundedMode

All Superinterfaces:
Mode
All Known Subinterfaces:
In, Out, Shared
All Known Implementing Classes:
GroundedModeRI, InRI, OutRI, SharedRI

public interface GroundedMode
extends Mode

Extends Mode and defines the method getGrounding to be implemented by the grounded modes

Version:
$Revision: 1849 $ $Date: 2006-10-24 17:56:41 +0300 (Tue, 24 Oct 2006) $
Author:
James Scicluna, Thomas Haselwanter Created on 26-Sep-2005 Committed by $Author: vassil_momtchev $ $Source: /cvsroot/wsmo4j/ext/choreography/src/api/org/wsmo/service/choreography/signature/GroundedMode.java,v $,

Method Summary
 void addGrounding(Grounding g)
          Adds a grounding specification to the Grounded Mode
 Set<Grounding> getGrounding()
          Returns the grounding object entries of the Grounded mode
 void removeGrounding(Grounding g)
          Removes a grounding specification from the Grounded Mode
 
Methods inherited from interface org.wsmo.service.signature.Mode
getConcept, getRelation, isConcept
 

Method Detail

getGrounding

Set<Grounding> getGrounding()
                            throws NotGroundedException
Returns the grounding object entries of the Grounded mode

Returns:
Set of Grounding objects and throws a NotGroundedException if no grounding is defined.
Throws:
NotGroundedException

addGrounding

void addGrounding(Grounding g)
Adds a grounding specification to the Grounded Mode

Parameters:
g - A Grounding object to be added

removeGrounding

void removeGrounding(Grounding g)
Removes a grounding specification from the Grounded Mode

Parameters:
g - A Grounding object to be removed


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