|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersonAdapter
Interface for Person adpater so that the class already created in the the Person hierarchy can be used as remote objects.
Field Summary | |
---|---|
static java.lang.String |
SERVICENAME
|
Method Summary | |
---|---|
Address |
getAddress()
Get the Address of the Person. |
Unit |
getAffiliation()
Returns the unit a person belongs to. |
Sex |
getGender()
Returns the sex of a person |
int |
getID()
Returns the ID of a person. |
java.lang.String |
getName()
Returns the name of a person |
java.lang.String |
printDescription()
Get a description of the Person. |
void |
setName(java.lang.String name)
Set the persons name to a new name. |
Field Detail |
---|
static final java.lang.String SERVICENAME
Method Detail |
---|
java.lang.String getName() throws java.rmi.RemoteException
java.rmi.RemoteException
void setName(java.lang.String name) throws java.rmi.RemoteException
name
- The name of the person.
java.rmi.RemoteException
Sex getGender() throws java.rmi.RemoteException
java.rmi.RemoteException
Unit getAffiliation() throws java.rmi.RemoteException
java.rmi.RemoteException
int getID() throws java.rmi.RemoteException
java.rmi.RemoteException
Address getAddress() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String printDescription() throws java.rmi.RemoteException
java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |