com.ontotext.wsmo4j.service
Class InterfaceImpl

java.lang.Object
  extended by com.ontotext.wsmo4j.common.EntityImpl
      extended by com.ontotext.wsmo4j.common.TopEntityImpl
          extended by com.ontotext.wsmo4j.service.InterfaceImpl
All Implemented Interfaces:
org.wsmo.common.Entity, org.wsmo.common.TopEntity, org.wsmo.service.Interface

public class InterfaceImpl
extends TopEntityImpl
implements org.wsmo.service.Interface

This java interface represents a WSMO web service interface.

Version:
$Revision: 1574 $ $Date: 2006-02-13 12:41:05 +0200 (Mon, 13 Feb 2006) $
Author:
not attributable

Constructor Summary
InterfaceImpl(org.wsmo.common.IRI interfaceIRI)
           
 
Method Summary
 org.wsmo.service.Choreography createChoreography(org.wsmo.common.Identifier id)
          Creates a new Choreography object.
 org.wsmo.service.Orchestration createOrchestration(org.wsmo.common.Identifier id)
          Creates a new Orchestration object.
 boolean equals(Object object)
           
 org.wsmo.service.Choreography getChoreography()
          Returns the choreography of this interface.
 org.wsmo.service.Orchestration getOrchestration()
          Returns the orchestration of this interface.
 void setChoreography(org.wsmo.service.Choreography chor)
          Sets the choreography of the this interface.
 void setOrchestration(org.wsmo.service.Orchestration orch)
          Sets the orchestration of this interface.
 
Methods inherited from class com.ontotext.wsmo4j.common.TopEntityImpl
addMediator, addNamespace, addOntology, findNamespace, getDefaultNamespace, getWsmlVariant, listMediators, listNamespaces, listOntologies, removeMediator, removeNamespace, removeNamespace, removeOntology, removeOntology, setDefaultNamespace, setDefaultNamespace, setWsmlVariant
 
Methods inherited from class com.ontotext.wsmo4j.common.EntityImpl
addNFPValue, addNFPValue, getIdentifier, hashCode, listNFPValues, listNFPValues, removeNFP, removeNFPValue, removeNFPValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.wsmo.common.TopEntity
addMediator, addNamespace, addOntology, findNamespace, getDefaultNamespace, getWsmlVariant, listMediators, listNamespaces, listOntologies, removeMediator, removeNamespace, removeNamespace, removeOntology, removeOntology, setDefaultNamespace, setDefaultNamespace, setWsmlVariant
 
Methods inherited from interface org.wsmo.common.Entity
addNFPValue, addNFPValue, getIdentifier, listNFPValues, listNFPValues, removeNFP, removeNFPValue, removeNFPValue
 

Constructor Detail

InterfaceImpl

public InterfaceImpl(org.wsmo.common.IRI interfaceIRI)
Method Detail

getOrchestration

public org.wsmo.service.Orchestration getOrchestration()
Returns the orchestration of this interface.

Specified by:
getOrchestration in interface org.wsmo.service.Interface
Returns:
The orchestration of this interface.
Throws:
org.wsmo.common.exception.SynchronisationException
See Also:
setOrchestration(org.wsmo.service.Orchestration)

setOrchestration

public void setOrchestration(org.wsmo.service.Orchestration orch)
Sets the orchestration of this interface.

Specified by:
setOrchestration in interface org.wsmo.service.Interface
Parameters:
orch - The new orchestration.
Throws:
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
See Also:
getOrchestration()

getChoreography

public org.wsmo.service.Choreography getChoreography()
Returns the choreography of this interface.

Specified by:
getChoreography in interface org.wsmo.service.Interface
Returns:
The choreography of this interface.
Throws:
org.wsmo.common.exception.SynchronisationException
See Also:
setChoreography(org.wsmo.service.Choreography)

setChoreography

public void setChoreography(org.wsmo.service.Choreography chor)
Sets the choreography of the this interface.

Specified by:
setChoreography in interface org.wsmo.service.Interface
Parameters:
chor - A reference to the new choreography.
Throws:
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
See Also:
getChoreography()

createChoreography

public org.wsmo.service.Choreography createChoreography(org.wsmo.common.Identifier id)
Creates a new Choreography object.

Specified by:
createChoreography in interface org.wsmo.service.Interface
Parameters:
id - The ID of the new Choreography object
Returns:
The newly created Choreography object.

createOrchestration

public org.wsmo.service.Orchestration createOrchestration(org.wsmo.common.Identifier id)
Creates a new Orchestration object.

Specified by:
createOrchestration in interface org.wsmo.service.Interface
Parameters:
id - The ID of the new Orchestration object.
Returns:
The newly created Orchestration object.

equals

public boolean equals(Object object)
Overrides:
equals in class TopEntityImpl


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