Package edu.pdx.cs410J.family
Interface RemoteMarriage
- All Superinterfaces:
Remote
- All Known Implementing Classes:
RemoteMarriageImpl
This interface models a
Marriage
that is accessed remotely using Java Remote Method Invocation.-
Method Summary
Modifier and TypeMethodDescriptiongetDate()
Returns the date on which the husband and wife were marriedReturns a textual description of this marriageint
Returns the id of the husband in the marriageReturns the location at which the husband and wife were marriedint
Returns the id of the wife in the marriagevoid
Sets the date on which the husband and wife were marriedvoid
setLocation
(String location) Sets the location at which the husband and wife were married
-
Method Details
-
getHusbandId
Returns the id of the husband in the marriage- Throws:
RemoteException
-
getWifeId
Returns the id of the wife in the marriage- Throws:
RemoteException
-
getDate
Returns the date on which the husband and wife were married- Throws:
RemoteException
-
setDate
Sets the date on which the husband and wife were married- Throws:
RemoteException
-
getLocation
Returns the location at which the husband and wife were married- Throws:
RemoteException
-
setLocation
Sets the location at which the husband and wife were married- Throws:
RemoteException
-
getDescription
Returns a textual description of this marriage- Throws:
RemoteException
-