SAP NetWeaver '04

com.sapportals.wcm.service.relation
Interface IRelationOperandQuery

[contained in: com.sap.netweaver.bc.rf.service.par - bc.rf.global.service.relation_api.jar]
All Known Subinterfaces:
IRelationPropertyQuery

public interface IRelationOperandQuery

A query term used for a IRelationQueryOperand .


Method Summary
 IRelationQuery between(java.lang.String lowerValue, java.lang.String upperValue)
          Return an expression which selects only those between the given values, such as lowerValue <= x <= upperValue.
 IRelationQuery betweenIgnoreCase(java.lang.String lowerValue, java.lang.String upperValue)
          case insensitive version of between(String, String).
 IRelationQuery equal(java.lang.String value)
          Return an expression which selects only those operands matching the given string.
 IRelationQuery equalIgnoreCase(java.lang.String value)
          case insensitive version of equal(String).
 IRelationQuery greater(java.lang.String value)
          Return an expression which selects only those operands being alphabetically after the given string.
 IRelationQuery greaterEqual(java.lang.String value)
          Return an expression which selects only those operands being alphabetically after the given string or matching it.
 IRelationQuery greaterEqualIgnoreCase(java.lang.String value)
          case insensitive version of greaterEqual(String).
 IRelationQuery greaterIgnoreCase(java.lang.String value)
          case insensitive version of greater(String).
 IRelationQuery inRelationPropertySelection(IPropertyName name, IRelationQuery query)
          Return an expression which selects only those which match one of the given queries property values (subselect on the given property).
 IRelationQuery inSourceSelection(IRelationQuery query)
          Return an expression which selects only those which match one of the given queries source operand's id (subselect on source id).
 IRelationQuery inTargetSelection(IRelationQuery query)
          Return an expression which selects only those which match one of the given queries target operand's id (subselect on target id).
 IRelationQuery less(java.lang.String value)
          Return an expression which selects only those operands being alphabetically before the given string.
 IRelationQuery lessEqual(java.lang.String value)
          Return an expression which selects only those operands being alphabetically before the given string or matching it.
 IRelationQuery lessEqualIgnoreCase(java.lang.String value)
          case insensitive version of lessEqual(String).
 IRelationQuery lessIgnoreCase(java.lang.String value)
          case insensitive version of less(String).
 IRelationQuery like(java.lang.String value)
          Return an expression which selects only those operands being 'like' the given string.
 IRelationQuery likeIgnoreCase(java.lang.String value)
          case insensitive version of like(String).
 

Method Detail

equal

public IRelationQuery equal(java.lang.String value)
Return an expression which selects only those operands matching the given string.
Parameters:
value - the String to compare this term with.
Returns:
the IRelationQuery .

equalIgnoreCase

public IRelationQuery equalIgnoreCase(java.lang.String value)
case insensitive version of equal(String).
Parameters:
value - TBD: Description of the incoming method parameter
Returns:
TBD: Description of the outgoing return value

less

public IRelationQuery less(java.lang.String value)
Return an expression which selects only those operands being alphabetically before the given string.
Parameters:
value - the String to compare this term with.
Returns:
the IRelationQuery .

lessIgnoreCase

public IRelationQuery lessIgnoreCase(java.lang.String value)
case insensitive version of less(String).
Parameters:
value - TBD: Description of the incoming method parameter
Returns:
TBD: Description of the outgoing return value

lessEqual

public IRelationQuery lessEqual(java.lang.String value)
Return an expression which selects only those operands being alphabetically before the given string or matching it.
Parameters:
value - the String to compare this term with.
Returns:
the IRelationQuery .

lessEqualIgnoreCase

public IRelationQuery lessEqualIgnoreCase(java.lang.String value)
case insensitive version of lessEqual(String).
Parameters:
value - TBD: Description of the incoming method parameter
Returns:
TBD: Description of the outgoing return value

greater

public IRelationQuery greater(java.lang.String value)
Return an expression which selects only those operands being alphabetically after the given string.
Parameters:
value - the String to compare this term with.
Returns:
the IRelationQuery .

greaterIgnoreCase

public IRelationQuery greaterIgnoreCase(java.lang.String value)
case insensitive version of greater(String).
Parameters:
value - TBD: Description of the incoming method parameter
Returns:
TBD: Description of the outgoing return value

greaterEqual

public IRelationQuery greaterEqual(java.lang.String value)
Return an expression which selects only those operands being alphabetically after the given string or matching it.
Parameters:
value - the String to compare this term with.
Returns:
the IRelationQuery .

greaterEqualIgnoreCase

public IRelationQuery greaterEqualIgnoreCase(java.lang.String value)
case insensitive version of greaterEqual(String).
Parameters:
value - TBD: Description of the incoming method parameter
Returns:
TBD: Description of the outgoing return value

like

public IRelationQuery like(java.lang.String value)
Return an expression which selects only those operands being 'like' the given string. In this string the regular SQL-wildcards (like '%' for any string) are used, while '\' is used as the escape character.
Parameters:
value - the String to compare this term with.
Returns:
the IRelationQuery .

likeIgnoreCase

public IRelationQuery likeIgnoreCase(java.lang.String value)
case insensitive version of like(String).
Parameters:
value - TBD: Description of the incoming method parameter
Returns:
TBD: Description of the outgoing return value

between

public IRelationQuery between(java.lang.String lowerValue,
                              java.lang.String upperValue)
Return an expression which selects only those between the given values, such as lowerValue <= x <= upperValue.
Parameters:
lowerValue - a String the values have to be greater or equal to.
upperValue - a String the values have to be less or equal to.
Returns:
the IRelationQuery .

betweenIgnoreCase

public IRelationQuery betweenIgnoreCase(java.lang.String lowerValue,
                                        java.lang.String upperValue)
case insensitive version of between(String, String).
Parameters:
lowerValue - TBD: Description of the incoming method parameter
upperValue - TBD: Description of the incoming method parameter
Returns:
TBD: Description of the outgoing return value

inSourceSelection

public IRelationQuery inSourceSelection(IRelationQuery query)
                                 throws RelationQueryException
Return an expression which selects only those which match one of the given queries source operand's id (subselect on source id).
Parameters:
query - the IRelationQuery to use for the subselect.
Returns:
the IRelationQuery .
Throws:
RelationQueryException - Exception raised in failure situation
RelationQueryException - if the given subquery is not understood by this query's builder.

inTargetSelection

public IRelationQuery inTargetSelection(IRelationQuery query)
                                 throws RelationQueryException
Return an expression which selects only those which match one of the given queries target operand's id (subselect on target id).
Parameters:
query - the IRelationQuery to use for the subselect.
Returns:
the IRelationQuery .
Throws:
RelationQueryException - Exception raised in failure situation
RelationQueryException - if the given subquery is not understood by this query's builder.

inRelationPropertySelection

public IRelationQuery inRelationPropertySelection(IPropertyName name,
                                                  IRelationQuery query)
                                           throws RelationQueryException
Return an expression which selects only those which match one of the given queries property values (subselect on the given property).
Parameters:
name - the IPropertyName of the property to use.
query - the IRelationQuery to use for the subselect.
Returns:
the IRelationQuery .
Throws:
RelationQueryException - Exception raised in failure situation
RelationQueryException - if the given subquery is not understood by this query's builder.

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.