com.sap.netweaver.bc.uwl.config

Class ComparatorEnum

java.lang.Object
  extended by com.sap.netweaver.bc.uwl.config.ComparatorEnum
All Implemented Interfaces:
Serializable

public final class ComparatorEnum
extends Object
implements Serializable

Enumeration of all types of Comparisions allowed in the Expression objects.

See Also:
Expression, Serialized Form

Field Summary
static ComparatorEnum CONTAINED_BY
          Similar to Contains but LHS and RHS exchanged.
static ComparatorEnum CONTAINS
          For Strings this represents if string contains another string.
static ComparatorEnum ENDS_WITH
          For Strings this represents if string ends with another string.
static ComparatorEnum EQUAL_TO
          Represents if two objects are equal.
static ComparatorEnum GREATER_THAN
          Represents if one object is greater than the other.
static ComparatorEnum GREATER_THAN_OR_EQUALTO
          Represents if one object is greater than or equal to other.
static ComparatorEnum LESS_THAN
          Represents if one object is less than the other.
static ComparatorEnum LESS_THAN_OR_EQUAL_TO
          Represents if one object is less than or equal to the other.
static ComparatorEnum NOT_CONTAINS
          see Contains
static ComparatorEnum NOT_ENDS_WITH
          see EndsWith
static ComparatorEnum NOT_EQUAL_TO
          Represents if two objects are not equal.
static ComparatorEnum NOT_STARTS_WITH
          see StartsWith
static ComparatorEnum STARTS_WITH
          For Strings this represents if string begins with another string.
 
Method Summary
static ComparatorEnum getEnumFromString(String typ)
           
 String getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EQUAL_TO

public static final ComparatorEnum EQUAL_TO
Represents if two objects are equal.


NOT_EQUAL_TO

public static final ComparatorEnum NOT_EQUAL_TO
Represents if two objects are not equal.


GREATER_THAN

public static final ComparatorEnum GREATER_THAN
Represents if one object is greater than the other. For numerics and dates it is obvious. For String types it is the dictionary order


GREATER_THAN_OR_EQUALTO

public static final ComparatorEnum GREATER_THAN_OR_EQUALTO
Represents if one object is greater than or equal to other. For numerics and dates it is obvious. For String types it is the dictionary order.


LESS_THAN

public static final ComparatorEnum LESS_THAN
Represents if one object is less than the other. For numerics and dates it is obvious. For String types it is the dictionary order


LESS_THAN_OR_EQUAL_TO

public static final ComparatorEnum LESS_THAN_OR_EQUAL_TO
Represents if one object is less than or equal to the other. For numerics and dates it is obvious. For String types it is the dictionary order.


STARTS_WITH

public static final ComparatorEnum STARTS_WITH
For Strings this represents if string begins with another string. For Arrays it means if first element contains the object specified.


ENDS_WITH

public static final ComparatorEnum ENDS_WITH
For Strings this represents if string ends with another string. For Arrays it means if last element contains the object specified.


CONTAINS

public static final ComparatorEnum CONTAINS
For Strings this represents if string contains another string. For Arrays it means if array contains the given object.


CONTAINED_BY

public static final ComparatorEnum CONTAINED_BY
Similar to Contains but LHS and RHS exchanged.


NOT_STARTS_WITH

public static final ComparatorEnum NOT_STARTS_WITH
see StartsWith


NOT_ENDS_WITH

public static final ComparatorEnum NOT_ENDS_WITH
see EndsWith


NOT_CONTAINS

public static final ComparatorEnum NOT_CONTAINS
see Contains

Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getValue

public String getValue()

toString

public String toString()
Overrides:
toString in class Object

getEnumFromString

public static ComparatorEnum getEnumFromString(String typ)
Returns:
could be null
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] UWLJWF [sap.com] tc/kmc/bc.uwl/api - EP-BC-UWL
[sap.com] UWLJWF [sap.com] tc/kmc/bc.uwl/api default EP-BC-UWL


Copyright 2011 SAP AG Complete Copyright Notice