SAP ABAP Class CL_CIM_VERSION (Version Number in General Form x.y.z)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-CCM-SLD-ABA (Application Component) System Landscape Directory ABAP Connectivity
⤷ S_WBEM_UTIL (Package) WBEM Client: Utility Functions
⤷ BC-CCM-SLD-ABA (Application Component) System Landscape Directory ABAP Connectivity
⤷ S_WBEM_UTIL (Package) WBEM Client: Utility Functions
Properties
Class | CL_CIM_VERSION | |
Short Description | Version Number in General Form x.y.z | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_WBEM_UTIL | WBEM Client: Utility Functions |
Created | 20090202 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_CIM_VERSION has no interface implemented.
Friends
Class CL_CIM_VERSION has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MAJOR | Instance attribute | Public | Type reference (TYPE) | I | Main Version Number | 20090209 | ||
2 | MINOR | Instance attribute | Public | Type reference (TYPE) | I | Subversion Number | 20090209 | ||
3 | MINOR_UNASSIGNED | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20090209 | ||
4 | PATCH | Instance attribute | Public | Type reference (TYPE) | I | Patch Version Number | 20090209 | ||
5 | PATCH_UNASSIGNED | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20090209 | ||
6 | ZERO | Static Attribute | Public | Object reference (TYPE REF TO) | CL_CIM_VERSION | Zero Version (0.0.0) | 20090224 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20090224 |
2 | COMPARE_TO | Instance method | Public | Method | Comparison with Other Version Object | 20090209 |
3 | CREATE_FROM_STRING | Static method | Public | Method | Creates new version object from version string | 20090209 |
4 | EQUALS | Instance method | Public | Method | Check for similarity to another version object | 20090209 |
5 | IS_HIGHER_OR_EQUAL_TO | Instance method | Public | Method | Version comparison: Greater than or equal to | 20090224 |
6 | IS_HIGHER_THAN | Instance method | Public | Method | Version comparison: Greater than | 20090224 |
7 | IS_LOWER_OR_EQUAL_TO | Instance method | Public | Method | Version comparison: Lesser than or equal to | 20090224 |
8 | IS_LOWER_THAN | Instance method | Public | Method | Version comparison: Lesser than | 20090224 |
9 | NEW_VERSION_1 | Static method | Public | Method | Creates a new single-character version object | 20090209 |
10 | NEW_VERSION_2 | Static method | Public | Method | Creates a new two-character version object (x.y) | 20090209 |
11 | NEW_VERSION_3 | Static method | Public | Method | Creates a new three-character version object (x.y.z) | 20090209 |
12 | TO_STRING | Instance method | Public | Method | Gets version number as string | 20090209 |
Events
Class CL_CIM_VERSION has no event.
Types
Class CL_CIM_VERSION has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_CIM_VERSION has no parameter.
Method CLASS_CONSTRUCTOR on class CL_CIM_VERSION has no exception.
Method COMPARE_TO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | OTHER | Call by reference | Object reference (TYPE REF TO) | CL_CIM_VERSION | Versionsnummer der allgemeinen Form x.y.z | 20090209 | ||
2 | Returning | RESULT | Value transfer | Type reference (TYPE) | I | -1, 0 oder +1 für kleiner, gleich bzw. größer | 20090209 |
Method COMPARE_TO on class CL_CIM_VERSION has no exception.
Method CREATE_FROM_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | DEFAULT_VERSION | Call by reference | Object reference (TYPE REF TO) | CL_CIM_VERSION | Versionsnummer der allgemeinen Form x.y.z | 20090209 | ||
2 | Returning | VERSION | Value transfer | Object reference (TYPE REF TO) | CL_CIM_VERSION | Versionsnummer der allgemeinen Form x.y.z | 20090209 | ||
3 | Importing | VERSION_STRING | Call by reference | Type reference (TYPE) | STRING | Versionsstring x(.y.z) | 20090209 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SY_CONVERSION_NO_NUMBER | System-Exception bei Umwandlung in eine Zahl | 20091110 |
Method EQUALS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | BOOL | Value transfer | Type reference (TYPE) | ABAP_BOOL | Wahr oder falsch | 20090209 | ||
2 | Importing | OTHER | Call by reference | Object reference (TYPE REF TO) | CL_CIM_VERSION | Versionsnummer der allgemeinen Form x.y.z | 20090209 |
Method EQUALS on class CL_CIM_VERSION has no exception.
Method IS_HIGHER_OR_EQUAL_TO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | BOOL | Value transfer | Type reference (TYPE) | ABAP_BOOL | Wahr oder falsch | 20090224 | ||
2 | Importing | OTHER | Call by reference | Object reference (TYPE REF TO) | CL_CIM_VERSION | Versionsnummer der allgemeinen Form x.y.z | 20090224 |
Method IS_HIGHER_OR_EQUAL_TO on class CL_CIM_VERSION has no exception.
Method IS_HIGHER_THAN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | BOOL | Value transfer | Type reference (TYPE) | ABAP_BOOL | Wahr oder falsch | 20090224 | ||
2 | Importing | OTHER | Call by reference | Object reference (TYPE REF TO) | CL_CIM_VERSION | Versionsnummer der allgemeinen Form x.y.z | 20090224 |
Method IS_HIGHER_THAN on class CL_CIM_VERSION has no exception.
Method IS_LOWER_OR_EQUAL_TO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | BOOL | Value transfer | Type reference (TYPE) | ABAP_BOOL | Wahr oder falsch | 20090224 | ||
2 | Importing | OTHER | Call by reference | Object reference (TYPE REF TO) | CL_CIM_VERSION | Versionsnummer der allgemeinen Form x.y.z | 20090224 |
Method IS_LOWER_OR_EQUAL_TO on class CL_CIM_VERSION has no exception.
Method IS_LOWER_THAN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | BOOL | Value transfer | Type reference (TYPE) | ABAP_BOOL | Wahr oder falsch | 20090224 | ||
2 | Importing | OTHER | Call by reference | Object reference (TYPE REF TO) | CL_CIM_VERSION | Versionsnummer der allgemeinen Form x.y.z | 20090224 |
Method IS_LOWER_THAN on class CL_CIM_VERSION has no exception.
Method NEW_VERSION_1 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | MAJOR | Call by reference | Type reference (TYPE) | I | Hauptversionsnummer | 20090209 | ||
2 | Returning | VERSION | Value transfer | Object reference (TYPE REF TO) | CL_CIM_VERSION | Versionsnummer der Form x.y.z | 20090209 |
Method NEW_VERSION_1 on class CL_CIM_VERSION has no exception.
Method NEW_VERSION_2 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | MAJOR | Call by reference | Type reference (TYPE) | I | Hauptversionsnummer | 20090209 | ||
2 | Importing | MINOR | Call by reference | Type reference (TYPE) | I | Unterversionsnummer | 20090209 | ||
3 | Returning | VERSION | Value transfer | Object reference (TYPE REF TO) | CL_CIM_VERSION | Versionsnummer der Form x.y.z | 20090209 |
Method NEW_VERSION_2 on class CL_CIM_VERSION has no exception.
Method NEW_VERSION_3 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | MAJOR | Call by reference | Type reference (TYPE) | I | Hauptversionsnummer | 20090209 | ||
2 | Importing | MINOR | Call by reference | Type reference (TYPE) | I | Unterversionsnummer | 20090209 | ||
3 | Importing | PATCH | Call by reference | Type reference (TYPE) | I | Patch-Versionsnummer | 20090209 | ||
4 | Returning | VERSION | Value transfer | Object reference (TYPE REF TO) | CL_CIM_VERSION | Versionsnummer der Form x.y.z | 20090209 |
Method NEW_VERSION_3 on class CL_CIM_VERSION has no exception.
Method TO_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RESULT | Value transfer | Type reference (TYPE) | STRING | Versionsnummer | 20090209 |
Method TO_STRING on class CL_CIM_VERSION has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 703 |