Beispiel #1
0
 def toProtocolElement(self):
     """
     Returns the representation of this CallSet as the corresponding
     ProtocolElement.
     """
     gaCallSet = protocol.CallSet()
     gaCallSet.created = self._variantSet.getCreationTime()
     gaCallSet.updated = self._variantSet.getUpdatedTime()
     gaCallSet.id = self._id
     gaCallSet.name = self._sampleName
     gaCallSet.sampleId = self._sampleName
     return gaCallSet
Beispiel #2
0
 def toProtocolElement(self):
     """
     Returns the representation of this CallSet as the corresponding
     ProtocolElement.
     """
     variantSet = self.getParentContainer()
     gaCallSet = protocol.CallSet()
     gaCallSet.created = variantSet.getCreationTime()
     gaCallSet.updated = variantSet.getUpdatedTime()
     gaCallSet.id = self.getId()
     gaCallSet.name = self.getLocalId()
     gaCallSet.sampleId = self.getLocalId()
     return gaCallSet