org.kuali.student.common.assembly.data
Class QueryPath

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Data.Key>
              extended by org.kuali.student.common.assembly.data.QueryPath
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Data.Key>, Collection<Data.Key>, List<Data.Key>, RandomAccess

public class QueryPath
extends ArrayList<Data.Key>

QueryPath is used for retrieving and storing data in the DataModel. A path is can be represented with a "/" separated string.

Author:
Kuali Student Team
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
QueryPath()
           
 
Method Summary
 boolean add(Data.Key e)
           
 void add(int index, Data.Key element)
           
 boolean addAll(Collection<? extends Data.Key> c)
           
 boolean addAll(int index, Collection<? extends Data.Key> c)
           
 void clear()
           
static QueryPath concat(String... paths)
           
static String getPathSeparator()
           
static String getWildCard()
           
static QueryPath parse(String path)
           
 Data.Key remove(int index)
           
 boolean remove(Object o)
           
 boolean removeAll(Collection<?> c)
           
protected  void removeRange(int fromIndex, int toIndex)
           
 boolean retainAll(Collection<?> c)
           
 Data.Key set(int index, Data.Key element)
           
 QueryPath subPath(int fromIndex, int toIndex)
           
 String toString()
           
 
Methods inherited from class java.util.ArrayList
clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, subList
 

Constructor Detail

QueryPath

public QueryPath()
Method Detail

getWildCard

public static String getWildCard()

getPathSeparator

public static String getPathSeparator()

parse

public static QueryPath parse(String path)

add

public void add(int index,
                Data.Key element)
Specified by:
add in interface List<Data.Key>
Overrides:
add in class ArrayList<Data.Key>

add

public boolean add(Data.Key e)
Specified by:
add in interface Collection<Data.Key>
Specified by:
add in interface List<Data.Key>
Overrides:
add in class ArrayList<Data.Key>

addAll

public boolean addAll(Collection<? extends Data.Key> c)
Specified by:
addAll in interface Collection<Data.Key>
Specified by:
addAll in interface List<Data.Key>
Overrides:
addAll in class ArrayList<Data.Key>

addAll

public boolean addAll(int index,
                      Collection<? extends Data.Key> c)
Specified by:
addAll in interface List<Data.Key>
Overrides:
addAll in class ArrayList<Data.Key>

clear

public void clear()
Specified by:
clear in interface Collection<Data.Key>
Specified by:
clear in interface List<Data.Key>
Overrides:
clear in class ArrayList<Data.Key>

remove

public Data.Key remove(int index)
Specified by:
remove in interface List<Data.Key>
Overrides:
remove in class ArrayList<Data.Key>

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection<Data.Key>
Specified by:
remove in interface List<Data.Key>
Overrides:
remove in class ArrayList<Data.Key>

removeAll

public boolean removeAll(Collection<?> c)
Specified by:
removeAll in interface Collection<Data.Key>
Specified by:
removeAll in interface List<Data.Key>
Overrides:
removeAll in class AbstractCollection<Data.Key>

removeRange

protected void removeRange(int fromIndex,
                           int toIndex)
Overrides:
removeRange in class ArrayList<Data.Key>

retainAll

public boolean retainAll(Collection<?> c)
Specified by:
retainAll in interface Collection<Data.Key>
Specified by:
retainAll in interface List<Data.Key>
Overrides:
retainAll in class AbstractCollection<Data.Key>

set

public Data.Key set(int index,
                    Data.Key element)
Specified by:
set in interface List<Data.Key>
Overrides:
set in class ArrayList<Data.Key>

subPath

public QueryPath subPath(int fromIndex,
                         int toIndex)

toString

public String toString()
Overrides:
toString in class AbstractCollection<Data.Key>

concat

public static QueryPath concat(String... paths)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.