SAP ABAP Class CL_SWF_BRR_RULECONVERT (BRR: Conversion of a Rule)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-XI-IS-BPE (Application Component) Business Process Engine
     SWF_BRR (Package) Business Rule Repository
Properties
Class CL_SWF_BRR_RULECONVERT  
Short Description BRR: Conversion of a Rule    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWF_BRR   Business Rule Repository 
Created 20041221   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 SWB1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 SWFEX Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SWF_BRR_RULECONVERT has no interface implemented.
Friends
Class CL_SWF_BRR_RULECONVERT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_EXPR Instance attribute Private Type reference (TYPE) TT_EXPR Expressions 20060113
2 MT_IDMAP Instance attribute Private Type reference (TYPE) TT_IDMAP Mapping Internal ID <-> Extractor ID 20060403
3 MT_NAMESPACE_MAP Instance attribute Private Type reference (TYPE) RDT_NAMESPACE Namespace Table 20060322
4 MT_SWBCOND Instance attribute Private Type reference (TYPE) SWBCONDT_S WF: Condition, Expressions Are Strings 20041221
5 M_CONDITION Instance attribute Private Object reference (TYPE REF TO) CL_SWF_RLS_CONDITION 20060601
6 M_CONTAINER Instance attribute Private Object reference (TYPE REF TO) IF_SWF_CNT_CONTAINER Container - Context for Conversion 20060322
7 M_LPTR_CONV Instance attribute Private Type reference (TYPE) I Index of Current Table Line to Be Converted 20050121
8 M_RULE Instance attribute Private Type reference (TYPE) BRR_RULE_XML_HELPER Help Structure for Serializing/Deserializing a Rule 20060113
9 M_RULESTRING Instance attribute Private Type reference (TYPE) STRING String-Based XML Representation of Condition 20060403
10 M_RULEXML Instance attribute Private Type reference (TYPE) XSTRING XML Representation of Condition 20041221
11 M_SEQID Instance attribute Private Type reference (TYPE) BRR_LOCALID_N Local ID (Numeric Part) 20050121
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20041221
2 RULE_TO_SWBCOND Static method Public Method 20041221
3 SWBCOND_TO_RULE Static method Public Method 20041221
4 _CONVERT_EXPRESSION Instance method Private Method 20060113
5 _CONVERT_TOKEN Instance method Private Method 20060112
6 _CONVERT_TO_SWB_OPERATOR Static method Private Method Convert Standard Operator to SWB_COND Format 20060504
7 _CREATE_COMPARISON Instance method Private Method 20050121
8 _CREATE_EXPRESSION Instance method Private Method 20050121
9 _CREATE_LOCALID Instance method Private Method 20050121
10 _CREATE_SWBCOND Instance method Private Method 20060601
11 _DESERIALIZE_EXPRESSIONS Instance method Private Method Deserialize Complete List of Expressions 20060403
12 _EXTRACTOR_TO_EXPRESSION Instance method Private Method Converts Extractor (Java Expression) to Workflow Expression 20060322
13 _GET_CONDITION Instance method Private Method 20060601
14 _GET_RULEXML Instance method Private Method 20041221
Events
Class CL_SWF_BRR_RULECONVERT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_EXPR Private See coding 20060113 tt_expr TYPE HASHED TABLE OF ty_expr WITH UNIQUE KEY id
2 TT_IDMAP Private See coding 20060403 tt_idmap TYPE HASHED TABLE OF ty_idmap WITH UNIQUE KEY extractor_id
3 TY_EXPR Private See coding 20060113 BEGIN OF ty_expr, id TYPE brr_localid, extractor_id TYPE guid_16, expr TYPE string, END OF ty_expr
4 TY_IDMAP Private See coding 20060403 BEGIN OF ty_idmap, extractor_id TYPE guid_16, id TYPE brr_localid, extractor TYPE trd_extractor, END OF ty_idmap
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_RULESTRING Call by reference Type reference (TYPE) STRING Stringbasierte XML-Repräsentation einer Bedingung 20060403
2 Importing IM_RULEXML Call by reference Type reference (TYPE) XSTRING XML-Repräsentation einer Bedingung 20041221
3 Importing IN_CONTAINER Call by reference Object reference (TYPE REF TO) IF_SWF_CNT_CONTAINER Container - Implementierung einer 'Collection' 20060322
4 Importing IT_NAMESPACE_MAP Call by reference Type reference (TYPE) RDT_NAMESPACE Tabelle der Namespaces 20060322
5 Importing IT_SWBCOND Call by reference Type reference (TYPE) SWBCONDT_S WF: Bedingung, Ausdrücke sind Strings 20041221

Method CONSTRUCTOR on class CL_SWF_BRR_RULECONVERT has no exception.

Method RULE_TO_SWBCOND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SWBCOND Call by reference Type reference (TYPE) SWBCONDTAB WF: Interne Repräsentation einer Bedingung 20041221
2 Exporting ET_SWBCOND_S Call by reference Type reference (TYPE) SWBCONDT_S WF: Bedingung, Ausdrücke sind Strings 20041221
3 Importing IM_RULESTRING Call by reference Type reference (TYPE) STRING Stringbasierte XML-Repräsentation einer Bedingung 20060403
4 Importing IM_RULEXML Call by reference Type reference (TYPE) XSTRING XML-Repräsentation einer Bedingung (empfohlen!) 20041221
5 Importing IN_CONTAINER Call by reference Object reference (TYPE REF TO) IF_SWF_CNT_CONTAINER Container - Implementierung einer 'Collection' 20060403
6 Importing IT_NAMESPACE_MAP Call by reference Type reference (TYPE) RDT_NAMESPACE Tabelle der Namespaces 20060403
# Exception Resumable Description Created on
1 CX_BRR_RULE Regel kann nicht konvertiert werden 20060428

Method SWBCOND_TO_RULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SWBCOND Call by reference Type reference (TYPE) SWBCONDTAB WF: Interne Repräsentation einer Bedingung 20041221
2 Importing IT_SWBCOND_S Call by reference Type reference (TYPE) SWBCONDT_S WF: Bedingung, Ausdrücke sind Strings 20041221
3 Returning RE_RULEXML Value transfer Type reference (TYPE) XSTRING XML-Repräsentation einer Bedingung 20041221

Method SWBCOND_TO_RULE on class CL_SWF_BRR_RULECONVERT has no exception.

Method _CONVERT_EXPRESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IN_EXPRID Call by reference Type reference (TYPE) BRR_LOCALID Lokale ID 20060113
2 Returning OUT_EXPR Value transfer Type reference (TYPE) STRING 20060113

Method _CONVERT_EXPRESSION on class CL_SWF_BRR_RULECONVERT has no exception.

Method _CONVERT_TOKEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TOKEN Call by reference Type reference (TYPE) BRR_TOKEN BRR: Token einer Bedingung 20060112
# Exception Resumable Description Created on
1 CX_BRR_RULE Fehler im BRR-Service 20070522

Method _CONVERT_TO_SWB_OPERATOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing OPERATOR Call by reference Type reference (TYPE) BRR_OPERATOR Standard-Operator 20060504
2 Exporting SWB_OPERATOR Call by reference Type reference (TYPE) SWD_OPERAT Vergleichsoperator in booleschen Bedingungen 20060504

Method _CONVERT_TO_SWB_OPERATOR on class CL_SWF_BRR_RULECONVERT has no exception.

Method _CREATE_COMPARISON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LINE Call by reference Type reference (TYPE) SWB_COND_S Struktur für Bedingungen 20050121
2 Returning RE_ID Value transfer Type reference (TYPE) BRR_LOCALID Lokale ID 20050121

Method _CREATE_COMPARISON on class CL_SWF_BRR_RULECONVERT has no exception.

Method _CREATE_EXPRESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_EXPR Call by reference Type reference (TYPE) STRING Expression 20050121
2 Importing IM_EXPRTYPE Call by reference Type reference (TYPE) SWA_EXPRTY Expression type 20050121
3 Returning RE_ID Value transfer Type reference (TYPE) BRR_LOCALID Lokale ID 20050121

Method _CREATE_EXPRESSION on class CL_SWF_BRR_RULECONVERT has no exception.

Method _CREATE_LOCALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PREFIX Call by reference Type reference (TYPE) BRR_LOCALID_P Lokale ID (Präfix) 20050121
2 Returning RE_ID Value transfer Type reference (TYPE) BRR_LOCALID Lokale ID 20050121

Method _CREATE_LOCALID on class CL_SWF_BRR_RULECONVERT has no exception.

Method _CREATE_SWBCOND Signature

Method _CREATE_SWBCOND on class CL_SWF_BRR_RULECONVERT has no parameter.
# Exception Resumable Description Created on
1 CX_BRR_RULE 20060601

Method _DESERIALIZE_EXPRESSIONS Signature

Method _DESERIALIZE_EXPRESSIONS on class CL_SWF_BRR_RULECONVERT has no parameter.
# Exception Resumable Description Created on
1 CX_BRR_RULE Extraktor kann nicht deserialisiert werden 20060428

Method _EXTRACTOR_TO_EXPRESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_EXPRESSION Call by reference Type reference (TYPE) STRING 20060403
2 Importing IN_EXTRACTOR Call by reference Type reference (TYPE) TRD_EXTRACTOR XI: Extractors 20060403

Method _EXTRACTOR_TO_EXPRESSION on class CL_SWF_BRR_RULECONVERT has no exception.

Method _GET_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_CONDITION Value transfer Object reference (TYPE REF TO) CL_SWF_RLS_CONDITION 20060601
# Exception Resumable Description Created on
1 CX_BRR_RULE 20060601

Method _GET_RULEXML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_RULEXML Value transfer Type reference (TYPE) XSTRING XML-Repräsentation einer Bedingung 20041221

Method _GET_RULEXML on class CL_SWF_BRR_RULECONVERT has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 700