All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openurp.edu.clazz.model.RestrictionPair Maven / Gradle / Ivy

The newest version!
/*
 * OpenURP, Agile University Resource Planning Solution.
 *
 * Copyright © 2014, The OpenURP Software.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful.
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see .
 */
package org.openurp.edu.clazz.model;

import org.beangle.commons.lang.tuple.Pair;

import java.util.List;

public class RestrictionPair {

  private ClazzRestriction restriction;
  private Pair> gradeLimit;
  private Pair> genderLimit;
  private Pair> levelLimit;
  private Pair> eduTypeLimit;
  private Pair> majorLimit;
  private Pair> departmentLimit;
  private Pair> squadLimit;
  private Pair> directionLimit;
  private Pair> stdTypeLimit;

  public RestrictionPair() {
    super();
  }

  public RestrictionPair(ClazzRestriction restriction) {
    this.restriction = restriction;
  }

  public ClazzRestriction getRestriction() {
    return restriction;
  }

  public void setRestriction(ClazzRestriction restriction) {
    this.restriction = restriction;
  }

  public Pair> getGradeLimit() {
    return gradeLimit;
  }

  public void setGradeLimit(Pair> gradeLimit) {
    this.gradeLimit = gradeLimit;
  }

  public Pair> getGenderLimit() {
    return genderLimit;
  }

  public void setGenderLimit(Pair> genderLimit) {
    this.genderLimit = genderLimit;
  }

  public Pair> getLevelLimit() {
    return levelLimit;
  }

  public void setLevelLimit(Pair> levelLimit) {
    this.levelLimit = levelLimit;
  }

  public Pair> getEduTypeLimit() {
    return eduTypeLimit;
  }

  public void setEduTypeLimit(Pair> eduTypeLimit) {
    this.eduTypeLimit = eduTypeLimit;
  }

  public Pair> getMajorLimit() {
    return majorLimit;
  }

  public void setMajorLimit(Pair> majorLimit) {
    this.majorLimit = majorLimit;
  }

  public Pair> getDepartmentLimit() {
    return departmentLimit;
  }

  public void setDepartmentLimit(Pair> departmentLimit) {
    this.departmentLimit = departmentLimit;
  }

  public Pair> getSquadLimit() {
    return squadLimit;
  }

  public void setSquadLimit(Pair> squadLimit) {
    this.squadLimit = squadLimit;
  }

  public Pair> getDirectionLimit() {
    return directionLimit;
  }

  public void setDirectionLimit(Pair> directionLimit) {
    this.directionLimit = directionLimit;
  }

  public Pair> getStdTypeLimit() {
    return stdTypeLimit;
  }

  public void setStdTypeLimit(Pair> stdTypeLimit) {
    this.stdTypeLimit = stdTypeLimit;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy