|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteMarriage
This interface models a Marriage
that is accessed remotely using Java Remote Method Invocation.
| Method Summary | |
|---|---|
Date |
getDate()
Returns the date on which the husband and wife were married |
String |
getDescription()
Returns a textual description of this marriage |
int |
getHusbandId()
Returns the id of the husband in the marriage |
String |
getLocation()
Returns the location at which the husband and wife were married |
int |
getWifeId()
Returns the id of the wife in the marriage |
void |
setDate(Date date)
Sets the date on which the husband and wife were married |
void |
setLocation(String location)
Sets the location at which the husband and wife were married |
| Method Detail |
|---|
int getHusbandId()
throws RemoteException
RemoteException
int getWifeId()
throws RemoteException
RemoteException
Date getDate()
throws RemoteException
RemoteException
void setDate(Date date)
throws RemoteException
RemoteException
String getLocation()
throws RemoteException
RemoteException
void setLocation(String location)
throws RemoteException
RemoteException
String getDescription()
throws RemoteException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||