public class SelectionCriteriaMapper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
SelectionCriteriaMapper(java.util.List alExpressions)
Initializes a new SelectionCriteriaMapper with the OAGIS verb selection criteria expressions.
|
SelectionCriteriaMapper(java.lang.String astrXPath)
Creates a new SelectionCriteriaMapper for a given XPath expression.
|
Modifier and Type | Method and Description |
---|---|
RelationalExpression |
findNameValueExpressionByName(java.lang.String astrName)
Returns the name-value pair expression from the selection criteria expression given the expression name.
|
java.lang.String |
getAccessProfile()
This method returns the access profile contained in the selection criteria expression.
|
java.util.List |
getAccessProfiles()
This method returns a list of all access profile strings contained in the selection criteria expression.
|
java.lang.String |
getActionCode()
Returns the action code.
|
java.util.HashMap |
getControlParameters()
This method returns the additional control parameters that is found in the
XPath expression.
|
java.util.Map |
getQueryParameters()
Deprecated.
|
java.lang.String |
getXPath() |
java.lang.String |
getXPathKey()
Returns the XPath key for a given search criteria expression.
|
java.util.HashMap |
getXPathParameters() |
SearchParameters |
getXPathSearchParameters()
Returns the parameters of the search() function when specified in the first predicate
of the XPath expression in the OAGIS GET verb selection criteria expression.
|
java.lang.String |
toString()
(non-Javadoc)
|
public static final java.lang.String COPYRIGHT
public SelectionCriteriaMapper(java.util.List alExpressions)
alExpressions
- - list of com.ibm.commerce.oagis9.datatypes.ExpressionType or com.ibm.commerce.oagis9.datatypes.ActionExpressionType objects.public SelectionCriteriaMapper(java.lang.String astrXPath)
astrXPath
- - XPath expressionpublic final java.lang.String getActionCode()
public final java.util.List getAccessProfiles()
public final java.lang.String getAccessProfile()
getAccessProfiles()
and selecting the first entry in the list.public final java.util.Map getQueryParameters()
com.ibm.commerce.foundation.client.util.oagis.RelationalExpression
values.public final java.lang.String getXPathKey()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public RelationalExpression findNameValueExpressionByName(java.lang.String astrName)
astrName
- - name identifying the expression; names can have an integer indexed
(e.g., 'a.1' and 'a.2' are the names for two relational expression
expressions 'a<=1 and a>-10'public final java.lang.String getXPath()
public java.util.HashMap getXPathParameters()
public java.util.HashMap getControlParameters()
public SearchParameters getXPathSearchParameters()