Interface RemoteMarriage

All Superinterfaces:
Remote
All Known Implementing Classes:
RemoteMarriageImpl

public interface RemoteMarriage extends Remote
This interface models a Marriage that is accessed remotely using Java Remote Method Invocation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the date on which the husband and wife were married
    Returns a textual description of this marriage
    int
    Returns the id of the husband in the marriage
    Returns the location at which the husband and wife were married
    int
    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