qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kgiu...@apache.org
Subject svn commit: r942777 - in /qpid/trunk/qpid/cpp/bindings/qmf: python/qmf.py ruby/qmf.rb
Date Mon, 10 May 2010 15:02:55 GMT
Author: kgiusti
Date: Mon May 10 15:02:54 2010
New Revision: 942777

URL: http://svn.apache.org/viewvc?rev=942777&view=rev
Log:
qmf: add class accessors for event schema - parity with class schema

Modified:
    qpid/trunk/qpid/cpp/bindings/qmf/python/qmf.py
    qpid/trunk/qpid/cpp/bindings/qmf/ruby/qmf.rb

Modified: qpid/trunk/qpid/cpp/bindings/qmf/python/qmf.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qmf/python/qmf.py?rev=942777&r1=942776&r2=942777&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qmf/python/qmf.py (original)
+++ qpid/trunk/qpid/cpp/bindings/qmf/python/qmf.py Mon May 10 15:02:54 2010
@@ -1054,6 +1054,17 @@ class SchemaEventClass:
     def name(self):
         return self.impl.getClassKey().getClassName()
 
+    def class_key(self):
+        return SchemaClassKey(self.impl.getClassKey())
+
+
+    def package_name(self):
+        return self.impl.getClassKey().getPackageName()
+
+
+    def class_name(self):
+        return self.impl.getClassKey().getClassName()
+
 
   ##==============================================================================
   ## CONSOLE

Modified: qpid/trunk/qpid/cpp/bindings/qmf/ruby/qmf.rb
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qmf/ruby/qmf.rb?rev=942777&r1=942776&r2=942777&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qmf/ruby/qmf.rb (original)
+++ qpid/trunk/qpid/cpp/bindings/qmf/ruby/qmf.rb Mon May 10 15:02:54 2010
@@ -979,6 +979,18 @@ module Qmf
     def name
       @impl.getClassKey.getClassName
     end
+
+    def class_key
+      SchemaClassKey.new(@impl.getClassKey)
+    end
+
+    def package_name
+      @impl.getClassKey.getPackageName
+    end
+
+    def class_name
+      @impl.getClassKey.getClassName
+    end
   end
 
   ##==============================================================================



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message