Package biana :: Package BianaObjects :: Module UserEntityExpandedRelation'
[hide private]
[frames] | no frames]

Source Code for Module biana.BianaObjects.UserEntityExpandedRelation'

 1   
 2  #import UserEntityRelation 
 3   
 4  #class UserEntityExpandedRelation(UserEntityRelation.UserEntityRelation): 
 5  #    """ 
 6  #    A class to represent expanded relations 
 7  #    """ 
 8   
 9  #    def __init__(self, userEntityParticipants, userEntity1Source, userEntity2Source, attribute_identifier, attribute_values): 
10   
11  #        self.uE1Source = userEntity1Source 
12  #        self.uE2Source = userEntity2Source 
13  #        self.attribute_identifier = attribute_identifier 
14  #        self.attribute_values = attribute_values 
15   
16  #        UserEntityRelation.UserEntityRelation(self, userEntityParticipants=userEntityParticipants, externalEntityRelationIdList) 
17   
18  #        return 
19   
20   
21 -class UserEntityExpandedRelation(object):
22 """ 23 A class to represent expanded relations between two user entities 24 """ 25
26 - def __init__(self, userEntity1Source, userEntity2Source, attribute_identifier, attribute_values, externalEntityRelationID):
27 28 self.uE1Source = userEntity1Source 29 self.uE2Source = userEntity2Source 30 self.attribute_identifier = attribute_identifier 31 self.attribute_values = attribute_values 32 self.externalEntityRelationID = externalEntityRelationID
33
34 - def __str__(self):
35 return str(self.externalEntityRelationID)
36