com.uwyn.rife.database.queries
Class QueryParameters

java.lang.Object
  extended by com.uwyn.rife.database.queries.QueryParameters
All Implemented Interfaces:
Cloneable

public class QueryParameters
extends Object
implements Cloneable


Constructor Summary
QueryParameters(com.uwyn.rife.database.queries.AbstractParametrizedQuery query)
           
 
Method Summary
 void addTypedParameter(QueryParameterType type, String value)
           
 void addTypedParameters(QueryParameterType type, List<String> parameters)
           
 void clear()
           
 void clearTypedParameters(QueryParameterType type)
           
 QueryParameters clone()
           
 Set<String> getDistinctNames()
           
 QueryParameters getNewInstance()
           
 int getNumberOfTypes()
           
 List<String> getOrderedNames()
           
 String[] getOrderedNamesArray()
           
<T> T
getTypedParameters(QueryParameterType type)
           
 com.uwyn.rife.pcj.map.IntKeyIntMap getVirtualIndexMapping(QueryParameters virtualParameters)
           
 boolean hasParameter(QueryParameterType type, String value)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryParameters

public QueryParameters(com.uwyn.rife.database.queries.AbstractParametrizedQuery query)
Method Detail

getNewInstance

public QueryParameters getNewInstance()

getNumberOfTypes

public int getNumberOfTypes()

clear

public void clear()

hasParameter

public boolean hasParameter(QueryParameterType type,
                            String value)

getDistinctNames

public Set<String> getDistinctNames()

getOrderedNames

public List<String> getOrderedNames()

getVirtualIndexMapping

public com.uwyn.rife.pcj.map.IntKeyIntMap getVirtualIndexMapping(QueryParameters virtualParameters)

getOrderedNamesArray

public String[] getOrderedNamesArray()

clearTypedParameters

public void clearTypedParameters(QueryParameterType type)

getTypedParameters

public <T> T getTypedParameters(QueryParameterType type)

addTypedParameters

public void addTypedParameters(QueryParameterType type,
                               List<String> parameters)

addTypedParameter

public void addTypedParameter(QueryParameterType type,
                              String value)

clone

public QueryParameters clone()
Overrides:
clone in class Object


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.