Add the appropriate inverse to the Spouse relationship in the Person de?nition given in Section 14.5.1
What will be an ideal response?
class Person : Object
( extent PersonExt
keys SSN, (Name, PhoneN) ): persistent
// properties of the instances of the type
{ attribute String Name;
attribute String SSN;
attribute enum Sex {m,f};
attribute Address Address;
attribute SetPhoneN;
// relationships of instances of the type
relationship Person Spouse
inverse Person::Spouse;
relationship SetChild;
// methods of instances of the type
void add_phone_number(in String Phone);
}
You might also like to view...
Which of the following statements about C++11's functions for converting string objects to numeric values is false?
a. Each function attempts to convert its entire string argument to a numeric value. b. If no conversion can be performed, an invalid_argument exception occurs. c. If the result of the conversion is out of range for the function’s return type, an out_of_range exception occurs. d. None of the above.
Which connectivity model uses a single access point that provides connectivity for a number of clients within a BSS?
A. Point-to-point B. Point-to-multipoint C. Mesh multipoint D. Roaming
If the On Mouse Click check box is selected in the Timing group on the Transitions tab, the viewer can advance the slide show by _____.
A. clicking the left mouse button B. pressing the spacebar C. pressing the Enter key D. all of the above
Which of the following systems can help identify your geolocation??
A. ?Geographic information systems B. ?Extranets C. VPNs D. ?GPS