org.deri.wsmo4j.choreography.signature
Class GroundedModeRI
java.lang.Object
org.deri.wsmo4j.choreography.signature.ModeRI
org.deri.wsmo4j.choreography.signature.GroundedModeRI
- All Implemented Interfaces:
- GroundedMode, Mode
- Direct Known Subclasses:
- InRI, OutRI, SharedRI
public abstract class GroundedModeRI
- extends ModeRI
- implements GroundedMode
Implements the common getGrounding method for the Grounded Modes
- Version:
- $Revision: 1936 $ $Date: 2007-02-22 15:37:46 +0200 (Thu, 22 Feb 2007) $
- Author:
- James Scicluna, Thomas Haselwanter
Created on 26-Sep-2005 Committed by $Author: alex_simov $
$Source:
/cvsroot/wsmo4j/ext/choreography/src/ri/org/deri/wsmo4j/choreography/signature/GroundedModeRI.java,v $,
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
groundings
protected Set<Grounding> groundings
GroundedModeRI
public GroundedModeRI(org.omwg.ontology.Concept concept)
- Default constructor
- Parameters:
concept - A Concept object with which the Grounded Mode
is initialized
GroundedModeRI
public GroundedModeRI(org.omwg.ontology.Concept concept,
Set<Grounding> g)
- Parameters:
iri - An IRI object defining the grounded mode concept/relationg - A set of Grounding object definitions
GroundedModeRI
public GroundedModeRI(org.omwg.ontology.Relation relation)
GroundedModeRI
public GroundedModeRI(org.omwg.ontology.Relation relation,
Set<Grounding> g)
getGrounding
public Set<Grounding> getGrounding()
throws NotGroundedException
- Description copied from interface:
GroundedMode
- Returns the grounding object entries of the Grounded mode
- Specified by:
getGrounding in interface GroundedMode
- Returns:
- Set of Grounding objects and throws a NotGroundedException if no
grounding is defined.
- Throws:
NotGroundedException
addGrounding
public void addGrounding(Grounding g)
- Description copied from interface:
GroundedMode
- Adds a grounding specification to the Grounded Mode
- Specified by:
addGrounding in interface GroundedMode
- Parameters:
g - A Grounding object to be added
removeGrounding
public void removeGrounding(Grounding g)
- Description copied from interface:
GroundedMode
- Removes a grounding specification from the Grounded Mode
- Specified by:
removeGrounding in interface GroundedMode
- Parameters:
g - A Grounding object to be removed
Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.