コード例 #1
0
    def __repr__(self):
        repr = ReferenceResolutionReport.__repr__(self)

        # Order messages by order in resolution algorithm

        if not self.validDestinationName:
            repr += "Destination name is invalid."
        elif self.destinationClassKnown and not (self.validDestinationType):
            repr += "Destination type is invalid."

        return repr
コード例 #2
0
	def __repr__(self):
		repr = ReferenceResolutionReport.__repr__(self)

		# Order messages by order in resolution algorithm

		if not self.validDestinationName :
			repr += "Destination name is invalid."
		elif self.destinationClassKnown and not(self.validDestinationType):
			repr += "Destination type is invalid."

		return repr
コード例 #3
0
 def __init__(self, line):
     ReferenceResolutionReport.__init__(self, line)
     self.entityType = "Access"
     self.validDestinationName = False
     self.destinationClassKnown = False
     self.validDestinationType = False
コード例 #4
0
	def __init__(self, line):
		ReferenceResolutionReport.__init__(self, line)
		self.entityType = "Access"
		self.validDestinationName = False
		self.destinationClassKnown = False
		self.validDestinationType = False