/* (non-Javadoc)
* @see eu.planets_project.tb.api.model.Institution#setInstitution(int, int)
*/
public void setInstitution(int instID, int instTypeID) {
PlanetsInstitutionsImpl inst = new PlanetsInstitutionsImpl();
boolean b1 = inst.checkInstitutionIDisValid(instID);
boolean b2 = inst.checkInstitutionTypeIsValid(instTypeID);
if (b1||b2){
this.iInstitutionType = instTypeID;
//need to convert from int used in finals - to long, used for EJB persistent ID
this.lInstitutionID = Long.valueOf(instID);