org.semanticweb.owl.impl.model
Class OWLEnumerationImpl

java.lang.Object
  |
  +--org.semanticweb.owl.impl.model.OWLObjectImpl
        |
        +--org.semanticweb.owl.impl.model.OWLEnumerationImpl
All Implemented Interfaces:
Cloneable, OWLDescription, OWLEnumeration, OWLObject, Serializable

public class OWLEnumerationImpl
extends OWLObjectImpl
implements OWLEnumeration

An OWLEnumeration is a collection of OWLIndividuals.

Version:
$Id: OWLEnumerationImpl.java,v 1.1.1.1 2003/10/14 17:10:14 sean_bechhofer Exp $
See Also:
Serialized Form

Constructor Summary
OWLEnumerationImpl(OWLDataFactoryImpl factory, Set set)
           
 
Method Summary
 void accept(OWLDescriptionVisitor visitor)
          Accept a visit from a visitor
 void accept(OWLObjectVisitor visitor)
          Accept a visit from a visitor
 Set getIndividuals()
          Returns a list of the individuals in the collection
 
Methods inherited from class org.semanticweb.owl.impl.model.OWLObjectImpl
clone, getAnnotations, getAnnotations, getContainedObjects, getMetadata, getOWLConnection, getOWLDataFactory
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
clone, getAnnotations, getAnnotations, getContainedObjects, getMetadata, getOWLConnection, getOWLDataFactory
 

Constructor Detail

OWLEnumerationImpl

public OWLEnumerationImpl(OWLDataFactoryImpl factory,
                          Set set)
Method Detail

getIndividuals

public Set getIndividuals()
Returns a list of the individuals in the collection

Specified by:
getIndividuals in interface OWLEnumeration

accept

public void accept(OWLObjectVisitor visitor)
            throws OWLException
Description copied from interface: OWLObject
Accept a visit from a visitor

Specified by:
accept in interface OWLObject
Specified by:
accept in class OWLObjectImpl
OWLException

accept

public void accept(OWLDescriptionVisitor visitor)
            throws OWLException
Description copied from interface: OWLDescription
Accept a visit from a visitor

Specified by:
accept in interface OWLDescription
OWLException


WonderWeb