|
a/OSSEval/entity/models.py |
|
b/OSSEval/entity/models.py |
|
... |
|
... |
17 |
return '<Entity Id="' + str(self.id) + '" Name="' + self.name + '" ActualEntityClass="' + self.actual_entity_class + '" ActualEntityApp="' + self.actual_entity_app + '"/>'
|
17 |
return '<Entity Id="' + str(self.id) + '" Name="' + self.name + '" ActualEntityClass="' + self.actual_entity_class + '" ActualEntityApp="' + self.actual_entity_app + '"/>'
|
18 |
|
18 |
|
19 |
def __str__(self):
|
19 |
def __str__(self):
|
20 |
return self.name
|
20 |
return self.name
|
21 |
|
21 |
|
22 |
|
|
|
23 |
class SearchConfiguration(models.Model):
|
|
|
24 |
proxy_url = models.CharField(max_length=300)
|
|
|
25 |
proxy_port = models.CharField(max_length=10)
|
|
|
26 |
proxy_user = models.CharField(max_length=50)
|
|
|
27 |
proxy_password = models.CharField(max_length=50)
|
|
|
28 |
# active_search = quale classe implementa la entity corrente
|
|
|
29 |
# http://stackoverflow.com/questions/372042/difference-between-abstract-class-and-interface-in-python
|
|
|
30 |
|
22 |
|
31 |
|
|
|