def __init__(self, objectID, name, year, website): ''' Constructor method for building Actor object Parameters: name - Movie's name (string) year - Movie's apparition year (integer) website - Movie website (string) ''' IDObject.__init__(self, objectID) self._name = name self._year = year self._website = website
def __init__(self, ID, title, descr, author): ''' Constructor for Book class Input: ID (integer) title (string) descr (string) - description author (string) ''' IDObject.__init__(self, ID) self._id = ID self._title = title self._descr = descr self._author = author
def __init__(self, objectID, firstName, lastName, birthday, nationality, residence, height, weight, email, phone): ''' Constructor method for building Actor object Parameters: firstName - Actor's first name (string) lastName - Actor's last name (string) birthday - Actor's birthday (string) nationality - Actor's nationality (string) residence - Actor's city of residence (string) height - Actor's height in meters (string) weigth - Actor's weight in kg (integer number) email - Actor's email adderss (string) phone - Actor's phone number (string) ''' IDObject.__init__(self, objectID) self._firstName = firstName self._lastName = lastName self._birthday = birthday self._nationality = nationality self._residence = residence self._height = height self._weight = weight self._email = email self._phone = phone
def __init__(self, rentalId, start, end, client, car): IDObject.__init__(self, rentalId) self._client = client self._car = car self._start = start self._end = end
def __init__(self, objectId, licenseNumber, make, model): IDObject.__init__(self, objectId) self._license = licenseNumber self._make = make self._model = model
def __init__(self, disciplineId, name): ''' Constructor ''' IDObject.__init__(self, disciplineId) self._name = name
def __init__(self, studentId, name): ''' Constructor for student class ''' IDObject.__init__(self, studentId) self._name = name
def __init__(self, clientId, cnp, name): IDObject.__init__(self, clientId) self._cnp = cnp self._name = name