'setter of orientation property.'

@orientation.setter
def orientation(self, value):

    for values in self.__orientation:
        if (value in values):
            self.server.jsonrpc.setOrientation(values[1])
            break
    else:
        raise ValueError('Invalid    orientation.')
