fix bugs
[plcapi.git] / PLC / Parameter.py
index c2b3466..14a8b18 100644 (file)
@@ -21,7 +21,8 @@ class Parameter:
                  ro = False,
                  nullok = False, 
                  primary_key = False, 
-                 indexed = False):
+                 indexed = False,
+                 joined=False):
         # Basic type of the parameter. Must be a builtin type
         # that can be marshalled by XML-RPC.
         self.type = typeval
@@ -47,6 +48,12 @@ class Parameter:
 
         self.primary_key = primary_key
 
+        # Whether the DB field is indexed
+        self.indexed = indexed
+        
+        # Whether the DB field lives in another table  
+        self.joined = joined
+
     def type(self):
         return self.type