Examples of PlanetsInstitutionsImpl


Examples of eu.planets_project.tb.impl.model.finals.PlanetsInstitutionsImpl

 
  /* (non-Javadoc)
   * @see eu.planets_project.tb.api.model.Institution#checkInstitutionAllowed(int)
   */
  public boolean checkInstitutionAllowed(int instID) {
    PlanetsInstitutionsImpl institutions = new PlanetsInstitutionsImpl();
    return institutions.checkInstitutionIDisValid(instID);
  }
View Full Code Here

Examples of eu.planets_project.tb.impl.model.finals.PlanetsInstitutionsImpl

 
  /* (non-Javadoc)
   * @see eu.planets_project.tb.api.model.Institution#checkInstitutionTypeAllowed(int)
   */
  public boolean checkInstitutionTypeAllowed(int instID) {
    PlanetsInstitutionsImpl institutions = new PlanetsInstitutionsImpl();
    return institutions.checkInstitutionTypeIsValid(instID);
  }
View Full Code Here

Examples of eu.planets_project.tb.impl.model.finals.PlanetsInstitutionsImpl

  /* (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);
View Full Code Here

Examples of eu.planets_project.tb.impl.model.finals.PlanetsInstitutionsImpl

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

Examples of eu.planets_project.tb.impl.model.finals.PlanetsInstitutionsImpl

  /* (non-Javadoc)
   * @see eu.planets_project.tb.api.model.Institution#setInstitutionType(int)
   */
  public void setInstitutionType(int typeID) {
    PlanetsInstitutionsImpl inst = new PlanetsInstitutionsImpl();
    boolean b2 = inst.checkInstitutionTypeIsValid(typeID);
   
    if (b2)
      this.iInstitutionType = typeID;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.