com.ontotext.wsmo4j.common
Class TopEntityImpl

java.lang.Object
  extended by com.ontotext.wsmo4j.common.EntityImpl
      extended by com.ontotext.wsmo4j.common.TopEntityImpl
All Implemented Interfaces:
org.wsmo.common.Entity, org.wsmo.common.TopEntity
Direct Known Subclasses:
CapabilityImpl, ChoreographyImpl, InterfaceImpl, MediatorImpl, OntologyImpl, OrchestrationImpl, ServiceDescriptionImpl

public class TopEntityImpl
extends EntityImpl
implements org.wsmo.common.TopEntity

Title: WSMO4J

Description: WSMO API and a Reference Implementation

Copyright: Copyright (c) 2004-2005

Company: OntoText Lab. / SIRMA

Version:
1.0
Author:
not attributable

Constructor Summary
TopEntityImpl(org.wsmo.common.Identifier id)
           
 
Method Summary
 void addMediator(org.wsmo.common.IRI mediator)
           
 void addNamespace(org.wsmo.common.Namespace ns)
           
 void addOntology(org.omwg.ontology.Ontology ontology)
           
 boolean equals(Object object)
           
 org.wsmo.common.Namespace findNamespace(String prefix)
           
 org.wsmo.common.Namespace getDefaultNamespace()
           
 String getWsmlVariant()
           
 Set<org.wsmo.common.IRI> listMediators()
           
 Set<org.wsmo.common.Namespace> listNamespaces()
           
 Set<org.omwg.ontology.Ontology> listOntologies()
           
 void removeMediator(org.wsmo.common.IRI mediator)
           
 void removeNamespace(org.wsmo.common.Namespace ns)
           
 void removeNamespace(String prefix)
           
 void removeOntology(org.wsmo.common.IRI iri)
           
 void removeOntology(org.omwg.ontology.Ontology ontology)
           
 void setDefaultNamespace(org.wsmo.common.IRI iri)
          sets a default namespace for the container
 void setDefaultNamespace(org.wsmo.common.Namespace ns)
           
 void setWsmlVariant(String variant)
           
 
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.Entity
addNFPValue, addNFPValue, getIdentifier, listNFPValues, listNFPValues, removeNFP, removeNFPValue, removeNFPValue
 

Constructor Detail

TopEntityImpl

public TopEntityImpl(org.wsmo.common.Identifier id)
Method Detail

getWsmlVariant

public String getWsmlVariant()
Specified by:
getWsmlVariant in interface org.wsmo.common.TopEntity

setWsmlVariant

public void setWsmlVariant(String variant)
Specified by:
setWsmlVariant in interface org.wsmo.common.TopEntity

listNamespaces

public Set<org.wsmo.common.Namespace> listNamespaces()
Specified by:
listNamespaces in interface org.wsmo.common.TopEntity

addNamespace

public void addNamespace(org.wsmo.common.Namespace ns)
Specified by:
addNamespace in interface org.wsmo.common.TopEntity

removeNamespace

public void removeNamespace(String prefix)
Specified by:
removeNamespace in interface org.wsmo.common.TopEntity

removeNamespace

public void removeNamespace(org.wsmo.common.Namespace ns)
Specified by:
removeNamespace in interface org.wsmo.common.TopEntity

findNamespace

public org.wsmo.common.Namespace findNamespace(String prefix)
Specified by:
findNamespace in interface org.wsmo.common.TopEntity

getDefaultNamespace

public org.wsmo.common.Namespace getDefaultNamespace()
Specified by:
getDefaultNamespace in interface org.wsmo.common.TopEntity

setDefaultNamespace

public void setDefaultNamespace(org.wsmo.common.Namespace ns)
Specified by:
setDefaultNamespace in interface org.wsmo.common.TopEntity

setDefaultNamespace

public void setDefaultNamespace(org.wsmo.common.IRI iri)
sets a default namespace for the container

Specified by:
setDefaultNamespace in interface org.wsmo.common.TopEntity
Parameters:
iri - IRI of namespace to set as default
See Also:
setDefaultNamespace(Namespace ns)

addMediator

public void addMediator(org.wsmo.common.IRI mediator)
Specified by:
addMediator in interface org.wsmo.common.TopEntity

removeMediator

public void removeMediator(org.wsmo.common.IRI mediator)
Specified by:
removeMediator in interface org.wsmo.common.TopEntity

listMediators

public Set<org.wsmo.common.IRI> listMediators()
Specified by:
listMediators in interface org.wsmo.common.TopEntity

addOntology

public void addOntology(org.omwg.ontology.Ontology ontology)
Specified by:
addOntology in interface org.wsmo.common.TopEntity

removeOntology

public void removeOntology(org.wsmo.common.IRI iri)
Specified by:
removeOntology in interface org.wsmo.common.TopEntity

removeOntology

public void removeOntology(org.omwg.ontology.Ontology ontology)
Specified by:
removeOntology in interface org.wsmo.common.TopEntity

listOntologies

public Set<org.omwg.ontology.Ontology> listOntologies()
Specified by:
listOntologies in interface org.wsmo.common.TopEntity

equals

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


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