File size: 693 Bytes
21baa2f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
'''
Created on ٢٣‏/٠٣‏/٢٠١٠

@author: Mad Blue
'''

from Lexicon.NormalizationRulesDict import *

class CustomizeRule(object):
    """
     # PyUML: Do not remove this line! # XMI_ID:_qz4V1I35Ed-gg8GOK1TmhA
    """
    '''
    classdocs
    '''
    customize=dict()    

    def __init__(self):
        '''
        Constructor
        '''
        self.customize = FirstNormDict;
        for key, value in SecondNormDict.items():
            self.customize.addRule(self,key,value);        
        pass
        
    def addRule(self,key,value):        
        self.customize[key]=value;
        pass
    
    def reomveRule(self,key):
        self.customize.pop(key);
        pass