       function db = get.Db(obj)
            %get.Db Get the value for property Db
            db = char(obj.JavaMessage.getDb);
        end
        
        function set.Db(obj, db)
            %set.Db Set the value for property Db
            validateattributes(db, {'char'}, {}, 'ObjectType', 'db');
            
            obj.JavaMessage.setDb(db);
        end
    end
    
    methods (Access = protected)
        function cpObj = copyElement(obj)
            %copyElement Implements deep copy behavior for message
            
            % Call default copy method for shallow copy
            cpObj = copyElement@robotics.ros.Message(obj);
            
            % Create a new Java message object
            cpObj.JavaMessage = obj.createNewJavaMessage;
            
            % Iterate over all primitive properties
            cpObj.Key = obj.Key;
            cpObj.Db = obj.Db;
        end
        
        function reload(obj, strObj)
            %reload Called by loadobj to assign properties
          