org.wsmo.service.signature
Interface Mode

All Known Subinterfaces:
Controlled, GroundedMode, In, Out, Shared, Static
All Known Implementing Classes:
ControlledRI, GroundedModeRI, InRI, ModeRI, OutRI, SharedRI, StaticRI

public interface Mode

A Mode entry container. Defines only one method to get the Concept or Relation associated with it. A Mode can be either a concept or a relation but not both.

    Created on Jul 26, 2005
    Committed by $Author: vassil_momtchev $
    $Source$
 

Version:
$Revision: 1849 $ $Date: 2006-10-24 17:56:41 +0300 (Tue, 24 Oct 2006) $
Author:
James Scicluna, Thomas Haselwanter, Holger Lausen

Method Summary
 org.omwg.ontology.Concept getConcept()
          Returns the Concept which is associated with the mode
 org.omwg.ontology.Relation getRelation()
          Returns the Relation which is associated with the mode
 boolean isConcept()
          Determines whether the mode is associated with a concept (true if yes, false if it's a relation)
 

Method Detail

getConcept

org.omwg.ontology.Concept getConcept()
Returns the Concept which is associated with the mode

Returns:
A Concept object associated with the Mode

getRelation

org.omwg.ontology.Relation getRelation()
Returns the Relation which is associated with the mode

Returns:
A Relation object associated with the Mode

isConcept

boolean isConcept()
Determines whether the mode is associated with a concept (true if yes, false if it's a relation)

Returns:


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