SigPath

org.sigpath.user
Class Affiliation

java.lang.Object
  extended by org.sigpath.user.Affiliation
All Implemented Interfaces:
InstanceCallbacks

public class Affiliation
extends Object
implements InstanceCallbacks

Affiliation class that represents an affiliation to which a SigPath User is attached encapsulates the all Affiliation properties.

Version:
$Revision: 6536 $
Author:
Benjamin Chiang

Constructor Summary
Affiliation()
          Constructor (default with no values or parameters).
 
Method Summary
 Address getAddress()
          Returns the Address of the affiliation represented by this class.
 String getDept()
          Returns the department of the affiliation represented by this class.
 String getInstitution()
          Returns the institution of the affiliation represented by this class.
 String getPhone()
          Returns the phone of the affiliation represented by this class.
 void jdoPostLoad()
           
 void jdoPreClear()
           
 void jdoPreDelete()
          Delete the instance of Address associated with this user from the persistent store.
 void jdoPreStore()
           
 void setAddress(Address address)
          Sets the address of the affiliation represented by this class.
 void setDept(String dept)
          Sets the department of the affiliation represented by this class.
 void setInstitution(String institution)
          Sets the institution of the affiliation represented by this class.
 void setPhone(String phone)
          Sets the phone of the affiliation represented by this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Affiliation

public Affiliation()
Constructor (default with no values or parameters).

Method Detail

getInstitution

public String getInstitution()
Returns the institution of the affiliation represented by this class.

Returns:
String institution of the affiliation

setInstitution

public void setInstitution(String institution)
Sets the institution of the affiliation represented by this class.

Parameters:
institution - String value of the institution of the affiliation

getAddress

public Address getAddress()
Returns the Address of the affiliation represented by this class.

Returns:
Address object of the affiliation

setAddress

public void setAddress(Address address)
Sets the address of the affiliation represented by this class.

Parameters:
address - Address value of the address of the affiliation

getDept

public String getDept()
Returns the department of the affiliation represented by this class.

Returns:
String dept of the affiliation

setDept

public void setDept(String dept)
Sets the department of the affiliation represented by this class.

Parameters:
dept - String value of the department of the affiliation

getPhone

public String getPhone()
Returns the phone of the affiliation represented by this class.

Returns:
String phone of the affiliation

setPhone

public void setPhone(String phone)
Sets the phone of the affiliation represented by this class.

Parameters:
phone - String value of the phone of the affiliation

jdoPostLoad

public void jdoPostLoad()
Specified by:
jdoPostLoad in interface InstanceCallbacks

jdoPreStore

public void jdoPreStore()
Specified by:
jdoPreStore in interface InstanceCallbacks

jdoPreClear

public void jdoPreClear()
Specified by:
jdoPreClear in interface InstanceCallbacks

jdoPreDelete

public void jdoPreDelete()
Delete the instance of Address associated with this user from the persistent store.

Specified by:
jdoPreDelete in interface InstanceCallbacks

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.