def __init__(self, db, serviceObject, runtimeConfig):
    self.db = db
    self.serviceObject = serviceObject
    self.runtimeConfig = runtimeConfig
    if (self.serviceObject is not None):
        self.serializationContext = self.serviceObject.getSerializationContext()
    else:
        self.serializationContext = None
def __init__(self, db, serviceObject, runtimeConfig):
    self.db = db
    self.serviceObject = serviceObject
    self.runtimeConfig = runtimeConfig
    if (self.serviceObject is not None):
        self.serializationContext = self.serviceObject.getSerializationContext()
    else:
        self.serializationContext = None