/[papo]/gnue/common/src/GConditions.py
ViewVC logotype

Diff of /gnue/common/src/GConditions.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by charlie, Tue Aug 27 18:15:51 2002 UTC revision 1.4.2.1 by apronotti, Thu Aug 21 18:22:14 2003 UTC
# Line 196  def buildPrefixFromTree(conditionTree): Line 196  def buildPrefixFromTree(conditionTree):
196              'by the condition to prefix table conversion.') % otype              'by the condition to prefix table conversion.') % otype
197        
198    
199    class GJoinCondition(GObj):
200      def __init__(self, parent=None, type="GCJoinCondition"):
201        GObj.__init__(self, parent, type=type)
202    
203    class GJoin(GObj):
204      def __init__(self, parent=None, type="GCJoin"):
205        GObj.__init__(self, parent, type=type)
206    
207    class GCLeftTable(GObj):
208      def __init__(self, parent=None, type="GCLeftTable"):
209        GObj.__init__(self, parent, type=type)
210    
211    class GCRightTable(GObj):
212      def __init__(self, parent=None, type="GCRightTable"):
213        GObj.__init__(self, parent, type=type)
214    
215  class GCondition(GObj):  class GCondition(GObj):
216    def __init__(self, parent=None, type="GCCondition"):    def __init__(self, parent=None, type="GCCondition"):
# Line 326  def getXMLelements(updates={}): Line 341  def getXMLelements(updates={}):
341        'condition':       {        'condition':       {
342           'BaseClass': GCondition,           'BaseClass': GCondition,
343           'ParentTags':  ('conditions','and','or','not','negate') },           'ParentTags':  ('conditions','and','or','not','negate') },
344          'joinconditions':       {
345             'BaseClass': GJoinCondition,
346             'ParentTags':  ('conditions') },
347          'join':       {
348             'BaseClass': GJoin,
349             'Attributes': {
350                   'type':     {
351                   'Required': 1,
352                   'Typecast': GTypecast.joinConditionType } },
353             'ParentTags':  ('joinconditions','join') },
354          'left_table':       {
355             'BaseClass': GCLeftTable,
356             'Attributes': {
357                'name':     {
358                   'Required': 1,
359                   'Typecast': GTypecast.name } },
360             'ParentTags':  ('join') },
361          'right_table':       {
362             'BaseClass': GCRightTable,
363             'Attributes': {
364                'name':     {
365                   'Required': 1,
366                   'Typecast': GTypecast.name } },
367             'ParentTags':  ('join') },
368        'cfield':       {        'cfield':       {
369           'BaseClass': GCField,           'BaseClass': GCField,
370           'Attributes': {           'Attributes': {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.4.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26