Sets the uri to the public object
        @param uri: a uri
        @type uri: string

def set_uri(self, uri):
        '''
        Sets the uri to the public object
        @param uri: a uri
        @type uri: string
        '''
        publicObj = self.get_public()
        if publicObj is not None:
            publicObj.set_uri(uri)
        else:
            publicObj = Cpublic()
            publicObj.set_uri(uri)
            self.set_public(publicObj)