def save_summary(self, ctx, ref):
        """
        Retrieve a summary representation of this GenomeAnnotation.
        @return summary data
        :param ref: instance of type "ObjectReference"
        :returns: instance of Long
        """
        # ctx is the context object
        # return variables are: returnVal
        #BEGIN save_summary
        ga = GenomeAnnotationAPI_local(self.services, ctx['token'], ref)
        returnVal = ga.save_summary()
        #END save_summary

        # At some point might do deeper type checking...
        if not isinstance(returnVal, int):
            raise ValueError('Method save_summary return value ' +
                             'returnVal is not type int as required.')
        # return the results
        return [returnVal]