SAP ABAP Class /AIN/CL_FILTER (Common Subscription Filter)
Hierarchy
☛
AIN (Software Component) AIN 710: Add-On Installation
⤷
AIE-AII (Application Component) Infrastructure
⤷
/AIN/IFCS (Package) Auto-ID Device Subscription
⤷
⤷
Properties
| Class | /AIN/CL_FILTER | |
| Short Description | Common Subscription Filter | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /AIN/IFCS | Auto-ID Device Subscription |
| Created | 20050516 | SAP |
| Last change | 20141109 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /AIN/CL_FILTER has no forward declaration.
Interfaces
Class /AIN/CL_FILTER has no interface implemented.
Friends
Class /AIN/CL_FILTER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | /AIN/DM_FILTER | Filter value | 20050516 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | /AIN/DM_FILTER | Filter value | 20050818 | |||
| 3 | Constant | Private | Type reference (TYPE) | STRING | 'COMPANY_PREFIX' | 20050526 | |||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'urn:epc:pat' | EPC Filter prefix | 20050818 | ||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'urn:epc:tag' | EPC Filter prefix | 20050818 | ||
| 6 | Constant | Public | Type reference (TYPE) | C | ']' | 20050525 | |||
| 7 | Constant | Public | Type reference (TYPE) | C | '-' | 20050525 | |||
| 8 | Constant | Public | Type reference (TYPE) | C | '[' | 20050525 | |||
| 9 | Constant | Private | Type reference (TYPE) | STRING | '[[0-9]+-[0-9]+]|*|[0-9]+' | 20050525 | |||
| 10 | Constant | Public | Type reference (TYPE) | C | '*' | 20050526 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Initialize the filter value | 20050516 | |
| 2 | Instance method | Public | Method | Gets the filter in Symbol Specifications (Mask/Value) | 20050526 | |
| 3 | Instance method | Private | Method | Gets the mask ans the value (Symbol usage) | 20050527 | |
| 4 | Instance method | Private | Method | Gets the components of the filter | 20050525 | |
| 5 | Instance method | Public | Method | Sets the filter value | 20050531 | |
| 6 | Instance method | Private | Method | Sets the bits to 1 of the given positions | 20050527 | |
| 7 | Instance method | Public | Method | Verifies if the filter value fits the pattern of ALE | 20050516 | |
| 8 | Instance method | Private | Method | Verifies the given element | 20050525 | |
| 9 | Instance method | Private | Method | Verifies the elements when Company prefix = '*' | 20050530 |
Events
Class /AIN/CL_FILTER has no event.
Types
Class /AIN/CL_FILTER has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FILTER | Call by reference | Type reference (TYPE) | /AIN/DM_FILTER | Device Filter | 20050516 |
Method CONSTRUCTOR on class /AIN/CL_FILTER has no exception.
Method GET_SYMBOL_FILTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MASK | Call by reference | Type reference (TYPE) | /AIN/EPC | Electronic Product Code | 20050526 | |||
| 2 | EV_VALUE | Call by reference | Type reference (TYPE) | /AIN/EPC | Electronic Product Code | 20050526 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalidate filter value | 20050818 |
Method GET_SYMBOL_VM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MASK | Call by reference | Type reference (TYPE) | /AIN/EPC | Electronic Product Code | 20050527 | |||
| 2 | EV_VALUE | Call by reference | Type reference (TYPE) | /AIN/EPC | Electronic Product Code | 20050527 | |||
| 3 | IT_COMP | Call by reference | Type reference (TYPE) | /AIN/ID_COMP_TAB | Table Type: Compornent of Element | 20050527 | |||
| 4 | IT_PRTTN | Call by reference | Type reference (TYPE) | /AIN/EPC_PRTTN_TAB | Partition Information | 20050527 | |||
| 5 | IT_SCHEMA | Call by reference | Type reference (TYPE) | /AIN/ID_SCHEMA_TAB | Table Type of ID Scehma | 20050527 | |||
| 6 | IV_EPC | Call by reference | Type reference (TYPE) | /AIN/EPC | Electronic Product Code | 20050527 | |||
| 7 | IV_EPC_TYPE | Call by reference | Type reference (TYPE) | /AIN/EPC_TYPE | Tag Encoding Type | 20050527 | |||
| 8 | IV_EPC_VERSION | Call by reference | Type reference (TYPE) | /AIN/EPC_VERSION | ID Version | 20050527 |
Method GET_SYMBOL_VM on class /AIN/CL_FILTER has no exception.
Method GET_URI_COMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_COMP | Call by reference | Type reference (TYPE) | /AIN/ID_COMP_TAB | Table Type: Compornent of Element | 20050525 | |||
| 2 | EV_EPC_TYPE | Call by reference | Type reference (TYPE) | /AIN/EPC_TYPE | Tag Encoding Type | 20050527 | |||
| 3 | EV_FILTER_WITH_COMPANY | Call by reference | Type reference (TYPE) | /AIN/DM_FILTER | Device Filter | 20050526 | |||
| 4 | IT_COMPANY_PREFIX | Call by reference | Type reference (TYPE) | /AIN/EPC_PREFIX_TAB | Company Prefix | 20050527 | |||
| 5 | IT_ID_TYPE | Call by reference | Type reference (TYPE) | /AIN/EPC_HEADER_TAB | EPC Type: Header Value and URI Format | 20050527 | |||
| 6 | IT_ISSUE | Call by reference | Type reference (TYPE) | /AIN/ID_ISSUE_TAB | Table Type: Issuing Agency | 20050527 | |||
| 7 | IT_URN | Call by reference | Type reference (TYPE) | /AIN/ID_URN_TAB | Table Type of URN | 20050527 | |||
| 8 | IV_EPC_VERSION | Call by reference | Type reference (TYPE) | /AIN/EPC_VERSION | ID Version | 20050527 |
Method GET_URI_COMP on class /AIN/CL_FILTER has no exception.
Method SET_FILTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FILTER | Call by reference | Type reference (TYPE) | /AIN/DM_FILTER | Device Filter | 20050531 |
Method SET_FILTER on class /AIN/CL_FILTER has no exception.
Method SET_MASK_VAL_BITS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_MASK | Call by reference | Type reference (TYPE) | ANY | mask in hexa | 20050527 | |||
| 2 | CV_VALUE | Call by reference | Type reference (TYPE) | ANY | value in hexa | 20050527 | |||
| 3 | IV_LEN | Call by reference | Type reference (TYPE) | INT1 | Length of the bits | 20050527 | |||
| 4 | IV_POSITION | Call by reference | Type reference (TYPE) | INT1 | Position of the bits | 20050527 |
Method SET_MASK_VAL_BITS on class /AIN/CL_FILTER has no exception.
Method VERIFY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MATCH | Value transfer | Type reference (TYPE) | BOOLE | Contains the result of the verification | 20050526 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | The element value does not match the pattern | 20050526 |
Method VERIFY_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ELEMENT | Call by reference | Type reference (TYPE) | /AIN/PRF_ELEMENT_VALUE | Value of element | 20050525 | |||
| 2 | RV_CHECKED | Value transfer | Type reference (TYPE) | BOOLE | Boolean variable | 20050525 |
Method VERIFY_ELEMENT on class /AIN/CL_FILTER has no exception.
Method VERIFY_ELEMENT_CP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_COMP | Call by reference | Type reference (TYPE) | /AIN/ID_COMP_TAB | Table Type: Compornent of Element | 20050530 | |||
| 2 | IT_URN | Call by reference | Type reference (TYPE) | /AIN/ID_URN_TAB | Table Type of URN | 20050530 | |||
| 3 | IV_EPC_TYPE | Call by reference | Type reference (TYPE) | /AIN/EPC_TYPE | Tag Encoding Type | 20050530 | |||
| 4 | IV_VERSION | Call by reference | Type reference (TYPE) | /AIN/EPC_VERSION | ID Version | 20050530 | |||
| 5 | RV_NOT_MATCH | Value transfer | Type reference (TYPE) | BOOLE | Boolean variable | 20050530 |
Method VERIFY_ELEMENT_CP on class /AIN/CL_FILTER has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 400 |