org.kuali.student.common.assembly.data
Class QueryPath
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Data.Key>
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
Methods inherited from class java.util.ArrayList |
clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, size, toArray, toArray, trimToSize |
parser
private static final PathParser parser
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
stringPath
private String stringPath
QueryPath
public QueryPath()
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 © 2007-2011 The Kuali Foundation. All Rights Reserved.