Class FoundIdentifiables
- java.lang.Object
- 
- java.util.AbstractCollection<E>
- 
- java.util.AbstractList<E>
- 
- java.util.ArrayList<Identifiable>
- 
- edu.uiuc.ncsa.security.storage.cli.FoundIdentifiables
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterable<Identifiable>,- Collection<Identifiable>,- List<Identifiable>,- RandomAccess
 
 public class FoundIdentifiables extends ArrayList<Identifiable> The list of fidentifier found from theStoreCommands.findItem(InputLine, boolean)method. It contains the list ofIdentifiables as well as forensic information about where it came from (so better error and informational messages can be written).- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleanisRS- 
Fields inherited from class java.util.AbstractListmodCount
 
- 
 - 
Constructor SummaryConstructors Constructor Description FoundIdentifiables(boolean isRS)FoundIdentifiables(boolean isRS, int initialCapacity)FoundIdentifiables(boolean isRS, Collection<? extends Identifiable> c)FoundIdentifiables(List<Identifiable> allEntries)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNumericIndex()IfisNumericIndexis true, this is the index that was given.ListgetRsIndexList()IfisRS()is true and an index list was specified, this will be non-null.StringgetRSName()booleanhasRSIndexList()booleanisGivenID()If the id was explicitly set on the command line as an argument.booleanisLocalID()If this was found to be set locally with thecall.booleanisNumericIndex()If this was given as the numeric indexbooleanisRS()booleanisSingleton()Is does this list have a single element?voidsetGivenID(boolean givenID)voidsetLocalID(boolean localID)voidsetNumericIndex(boolean numericIndex)voidsetNumericIndex(int numericIndex)voidsetRS(boolean RS)voidsetRsIndexList(List rsIndexList)voidsetRSName(String rsName)- 
Methods inherited from class java.util.ArrayListadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
 - 
Methods inherited from class java.util.AbstractCollectioncontainsAll, toString
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.util.CollectionparallelStream, stream, toArray
 - 
Methods inherited from interface java.util.ListcontainsAll
 
- 
 
- 
- 
- 
Constructor Detail- 
FoundIdentifiablespublic FoundIdentifiables(boolean isRS, int initialCapacity)
 - 
FoundIdentifiablespublic FoundIdentifiables(boolean isRS) 
 - 
FoundIdentifiablespublic FoundIdentifiables(List<Identifiable> allEntries) 
 - 
FoundIdentifiablespublic FoundIdentifiables(boolean isRS, Collection<? extends Identifiable> c)
 
- 
 - 
Method Detail- 
isSingletonpublic boolean isSingleton() Is does this list have a single element?- Returns:
 
 - 
isRSpublic boolean isRS() 
 - 
setRSpublic void setRS(boolean RS) 
 - 
isLocalIDpublic boolean isLocalID() If this was found to be set locally with thecall.- Returns:
 
 - 
setLocalIDpublic void setLocalID(boolean localID) 
 - 
isNumericIndexpublic boolean isNumericIndex() If this was given as the numeric index- Returns:
 
 - 
setNumericIndexpublic void setNumericIndex(boolean numericIndex) 
 - 
getNumericIndexpublic int getNumericIndex() IfisNumericIndexis true, this is the index that was given.- Returns:
 
 - 
setNumericIndexpublic void setNumericIndex(int numericIndex) 
 - 
getRSNamepublic String getRSName() - Returns:
 
 - 
setRSNamepublic void setRSName(String rsName) 
 - 
hasRSIndexListpublic boolean hasRSIndexList() 
 - 
getRsIndexListpublic List getRsIndexList() IfisRS()is true and an index list was specified, this will be non-null.- Returns:
 
 - 
setRsIndexListpublic void setRsIndexList(List rsIndexList) 
 - 
isGivenIDpublic boolean isGivenID() If the id was explicitly set on the command line as an argument. The id itself will be in the identifier and in such cases there is exactly one.- Returns:
 
 - 
setGivenIDpublic void setGivenID(boolean givenID) 
 
- 
 
-