org.mindswap.owl
Interface OWLIndividualList

All Superinterfaces:
java.util.Collection, java.lang.Iterable, java.util.List
All Known Subinterfaces:
AtomicGroundingList, BindingList, ConditionList, InputBindingList, InputList, MessageMapList, OutputBindingList, OutputList, ParameterList, ProcessList, ResultList

public interface OWLIndividualList
extends java.util.List

Represents a list of OWLIndividual objects. This interface shouldn't be confused with rdf:List structure. The sole purpose of this interface is to wrap a List class so that the code can be written with less casting statements.

Author:
Evren Sirin

Method Summary
 OWLIndividual getIndividual(java.lang.String localName)
          Return the individual from the list that has the given local name.
 OWLIndividual getIndividual(java.net.URI resourceURI)
          Return the individual from the list that has the given URI
 OWLIndividual individualAt(int index)
          Return the OWLIndividual at the specified position in this list.
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

individualAt

OWLIndividual individualAt(int index)
Return the OWLIndividual at the specified position in this list.

Parameters:
index -
Returns:

getIndividual

OWLIndividual getIndividual(java.net.URI resourceURI)
Return the individual from the list that has the given URI

Parameters:
resourceURI -
Returns:

getIndividual

OWLIndividual getIndividual(java.lang.String localName)
Return the individual from the list that has the given local name. If there is more than one individual with the same local name than any one of them is returned

Parameters:
localName -
Returns:


Copyright © 2004 Evren Sirin. All Rights Reserved.