Changeset 433

Show
Ignore:
Timestamp:
Sat Jun 7 23:35:34 2008
Author:
Brian
Message:

Rename ORM objects to RoleSequence? and RolePosition?

Files:

Legend:

Unmodified
Added
Removed
Modified
  • scripts/trunk/Object Role Modeling/Install ORM Meta-Model Reports.py

    r428 r433  
    213 213  
    214 214 # new version  
    215       rt = { 'Name': 'ORM Constraint List', 'TableA': 'ORMConstraintList', 'TableB': None, 'Also': None, 'AllOrEach': 'each',  
      215     rt = { 'Name': 'ORM Role Sequence', 'TableA': 'ORMRoleSequence', 'TableB': None, 'Also': None, 'AllOrEach': 'each',  
    215 215            'SuggestedColumns': ',ID;,ORMConstraintID;,TableName;,TableID' }  
    216 216     ct = [  
    217 217     { 'Name': 'ID',           'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': False, 'Width': 35  },  
    218 218     { 'Name': 'ORMConstraintID',    'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': True, 'Width': 55  },  
    219       { 'Name': 'Seq',   'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': True, 'Width': 55  },  
      219     { 'Name': 'Seq',          'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': True, 'Width': 55  },  
    219 219         ]  
    220 220     Data.AddReportType(rt, ct)  
     
    231 231  
    232 232 # new version  
    233       rt = { 'Name': 'ORM Constraint Role', 'TableA': 'ORMConstraintRole', 'TableB': None, 'Also': None, 'AllOrEach': 'each',  
      233     rt = { 'Name': 'ORM Role Position', 'TableA': 'ORMRolePosition', 'TableB': None, 'Also': None, 'AllOrEach': 'each',  
    233 233            'SuggestedColumns': ',ID;,ORMConstraintID;,TableName;,TableID' }  
    234 234     ct = [  
    235       { 'Name': 'ID',           'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': False, 'Width': 35  },  
    236       { 'Name': 'ORMConstraintListID',    'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': True, 'Width': 55  },  
      235     { 'Name': 'ID',             'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': False, 'Width': 35  },  
      236     { 'Name': 'ORMRoleSequenceID',    'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': True, 'Width': 55  },  
    237 237     { 'Name': 'ORMRoleID',      'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': True, 'Width': 55  },  
    238 238     { 'Name': 'Seq',            'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': True, 'Width': 55  },  
     
    297 297     Data.AddReportType(rt, ct)  
    298 298  
    299   #       ORMPathLink  
      299 #       ORMPathPosition  
    299 299 #       - ID  
    300 300 #       - ProjectID (Schema)  
      301 #       - ORMPath  
    301 302 #       - ORMRole  
    302 303 #       - Sequence  (1 ..)  
    303 304  
    304       rt = { 'Name': 'ORM Path Link', 'TableA': 'ORMPathLink', 'TableB': None, 'Also': None, 'AllOrEach': 'each',  
      305     rt = { 'Name': 'ORM Path Position', 'TableA': 'ORMPathPosition', 'TableB': None, 'Also': None, 'AllOrEach': 'each',  
    304 305            'SuggestedColumns': ',ID;,ORMObjectTypeID;,ORMSubtypeID' }  
    305 306     ct = [  
    306 307     { 'Name': 'ID',           'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': False, 'Width': 35  },  
      308     { 'Name': 'ORMPathID',  'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': True, 'Width': 55  },  
    307 309     { 'Name': 'ORMRoleID',  'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': True, 'Width': 55  },  
    308       { 'Name': 'Sequence',   'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': True, 'Width': 55  },  
      310     { 'Name': 'Seq',   'Label': None,             'DataType': 'i', 'AccessType': 'd', 'T': 'A', 'Edit': True, 'Width': 55  },  
    308 310         ]  
    309 311     Data.AddReportType(rt, ct)  
  • scripts/trunk/Object Role Modeling/Install ORM Diagram.py

    r423 r433  
    46 46     # Data.AddTable('ORMRoleName')  
    47 47     Data.AddTable('ORMConstraint')  
    48       Data.AddTable('ORMConstraintList')  
    49       Data.AddTable('ORMConstraintRole')  
      48     Data.AddTable('ORMRoleSequence')  
      49     Data.AddTable('ORMRolePosition')  
    50 50     Data.AddTable('ORMConstraintConnector')  # temporary - only in diagram  
    51 51     Data.AddTable('ORMSubtypeConstraint')