com.ontotext.wsmo4j.common
Class TopEntityImpl
java.lang.Object
com.ontotext.wsmo4j.common.EntityImpl
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
Methods inherited from interface org.wsmo.common.Entity |
addNFPValue, addNFPValue, getIdentifier, listNFPValues, listNFPValues, removeNFP, removeNFPValue, removeNFPValue |
TopEntityImpl
public TopEntityImpl(org.wsmo.common.Identifier id)
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.