|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.tc.cmi.sorting.CMIComparisonRule
public final class CMIComparisonRule
Enumeration of the comparison rules that are available for sorting.
As of today, only the default comparison rule MODEL_DEFINED is
supported.
In the future there might be support for other comparison rules, like
Note: The set of enumeration values might be enhanced in the future and it might be possible in the future to define model specific comparison rules. So applications must not rely on the current set of comparison rules and always deal with unknown comparison rules.
Type Classification:
This class is part of the Common Model Interface, so applications may reference it or call any method of this type, but they must not subclass it.
| Field Summary | |
|---|---|
static CMIComparisonRule |
MODEL_DEFINED
Sort order is defined by the model implementation. |
| Method Summary | |
|---|---|
String |
name()
Returns the name of this comparison rule. |
String |
toString()
Returns a String representation of the comparison rule. |
static CMIComparisonRule |
valueOf(String name)
Returns the comparison rule with the given name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final CMIComparisonRule MODEL_DEFINED
| Method Detail |
|---|
public String name()
valueOf(String) will return this instance of
CMIComparisonRule. So applications that want to somehow persist comparison
rules should persist the returned value.
public String toString()
name() and it is especially not
guaranteed that the returned value is accepted in a call to valueOf(String).
- Overrides:
toString in class Object
public static CMIComparisonRule valueOf(String name)
IllegalArgumentException - if the name does not match a comparison rule| Access Rights |
|---|
| SC | DC |
|---|---|
[sap.com] FRAMEWORK
|
[sap.com] tc/cmi
|
[sap.com] FRAMEWORK
|
[sap.com] tc/cm/ejb/api
|
|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||