@classmethod
def get(cls, value):
    """
        Lookup an enum by value
        :param value: the value
        """
    if not value in cls.values:
        raise ValueError('There is no enum for value %d' % (value,))
    return cls.values[value]
