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 PV_FILTER Instance attribute Private Type reference (TYPE) /AIN/DM_FILTER Filter value 20050516
2 PV_FILTER_INIT Instance attribute Private Type reference (TYPE) /AIN/DM_FILTER Filter value 20050818
3 _C_COMPANY_PREFIX Constant Private Type reference (TYPE) STRING 'COMPANY_PREFIX' 20050526
4 _C_EPC_FILTER_PREFIX Constant Public Type reference (TYPE) STRING 'urn:epc:pat' EPC Filter prefix 20050818
5 _C_EPC_PREFIX Constant Public Type reference (TYPE) STRING 'urn:epc:tag' EPC Filter prefix 20050818
6 _C_RANGE_ENDER Constant Public Type reference (TYPE) C ']' 20050525
7 _C_RANGE_SEPARATOR Constant Public Type reference (TYPE) C '-' 20050525
8 _C_RANGE_STARTER Constant Public Type reference (TYPE) C '[' 20050525
9 _C_REGULAR_EXPRESSION Constant Private Type reference (TYPE) STRING '[[0-9]+-[0-9]+]|*|[0-9]+' 20050525
10 _C_WILDCARD Constant Public Type reference (TYPE) C '*' 20050526
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Initialize the filter value 20050516
2 GET_SYMBOL_FILTER Instance method Public Method Gets the filter in Symbol Specifications (Mask/Value) 20050526
3 GET_SYMBOL_VM Instance method Private Method Gets the mask ans the value (Symbol usage) 20050527
4 GET_URI_COMP Instance method Private Method Gets the components of the filter 20050525
5 SET_FILTER Instance method Public Method Sets the filter value 20050531
6 SET_MASK_VAL_BITS Instance method Private Method Sets the bits to 1 of the given positions 20050527
7 VERIFY Instance method Public Method Verifies if the filter value fits the pattern of ALE 20050516
8 VERIFY_ELEMENT Instance method Private Method Verifies the given element 20050525
9 VERIFY_ELEMENT_CP 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 Importing 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 Exporting EV_MASK Call by reference Type reference (TYPE) /AIN/EPC Electronic Product Code 20050526
2 Exporting EV_VALUE Call by reference Type reference (TYPE) /AIN/EPC Electronic Product Code 20050526
# Exception Resumable Description Created on
1 INVALIDATE_DATA_FILTER Invalidate filter value 20050818

Method GET_SYMBOL_VM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_MASK Call by reference Type reference (TYPE) /AIN/EPC Electronic Product Code 20050527
2 Exporting EV_VALUE Call by reference Type reference (TYPE) /AIN/EPC Electronic Product Code 20050527
3 Importing IT_COMP Call by reference Type reference (TYPE) /AIN/ID_COMP_TAB Table Type: Compornent of Element 20050527
4 Importing IT_PRTTN Call by reference Type reference (TYPE) /AIN/EPC_PRTTN_TAB Partition Information 20050527
5 Importing IT_SCHEMA Call by reference Type reference (TYPE) /AIN/ID_SCHEMA_TAB Table Type of ID Scehma 20050527
6 Importing IV_EPC Call by reference Type reference (TYPE) /AIN/EPC Electronic Product Code 20050527
7 Importing IV_EPC_TYPE Call by reference Type reference (TYPE) /AIN/EPC_TYPE Tag Encoding Type 20050527
8 Importing 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 Exporting ET_COMP Call by reference Type reference (TYPE) /AIN/ID_COMP_TAB Table Type: Compornent of Element 20050525
2 Exporting EV_EPC_TYPE Call by reference Type reference (TYPE) /AIN/EPC_TYPE Tag Encoding Type 20050527
3 Exporting EV_FILTER_WITH_COMPANY Call by reference Type reference (TYPE) /AIN/DM_FILTER Device Filter 20050526
4 Importing IT_COMPANY_PREFIX Call by reference Type reference (TYPE) /AIN/EPC_PREFIX_TAB Company Prefix 20050527
5 Importing IT_ID_TYPE Call by reference Type reference (TYPE) /AIN/EPC_HEADER_TAB EPC Type: Header Value and URI Format 20050527
6 Importing IT_ISSUE Call by reference Type reference (TYPE) /AIN/ID_ISSUE_TAB Table Type: Issuing Agency 20050527
7 Importing IT_URN Call by reference Type reference (TYPE) /AIN/ID_URN_TAB Table Type of URN 20050527
8 Importing 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 Importing 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 Changing CV_MASK Call by reference Type reference (TYPE) ANY mask in hexa 20050527
2 Changing CV_VALUE Call by reference Type reference (TYPE) ANY value in hexa 20050527
3 Importing IV_LEN Call by reference Type reference (TYPE) INT1 Length of the bits 20050527
4 Importing 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 Returning EV_MATCH Value transfer Type reference (TYPE) BOOLE Contains the result of the verification 20050526
# Exception Resumable Description Created on
1 INVALIDATE_DATA 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 Importing IV_ELEMENT Call by reference Type reference (TYPE) /AIN/PRF_ELEMENT_VALUE Value of element 20050525
2 Returning 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 Importing IT_COMP Call by reference Type reference (TYPE) /AIN/ID_COMP_TAB Table Type: Compornent of Element 20050530
2 Importing IT_URN Call by reference Type reference (TYPE) /AIN/ID_URN_TAB Table Type of URN 20050530
3 Importing IV_EPC_TYPE Call by reference Type reference (TYPE) /AIN/EPC_TYPE Tag Encoding Type 20050530
4 Importing IV_VERSION Call by reference Type reference (TYPE) /AIN/EPC_VERSION ID Version 20050530
5 Returning 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