def get_uid(self):
        """
        Return an object UID constructed from the object properties / fields.

        :rtype: ``str``
        """
        parts = []
        parts.append(self.RESOURCE_TYPE)

        for field in self.UID_FIELDS:
            value = getattr(self, field, None) or ""
            parts.append(value)

        uid = self.UID_SEPARATOR.join(parts)
        return uid

        Return an object UID constructed from the object properties / fields.

        :rtype: ``str``
        
st2common/st2common/models/db/stormbase.py