Source code for eWRT.lib.Result

#!/usr/bin/env python

## Result is an item of ResultSet
[docs]class Result: ## constructor # @parameter id, name def __init__(self, id, name): self.id = id self.name = name ## get the ID of Result # @return Id
[docs] def getId(self): return self.id
## get the Name of the Result # @return Name
[docs] def getName(self): return self.name
[docs] def getAttributes(self): """ todo: return attributes of Result """