示例#1
0
    /**
     * The Big Constructor. Pretty self-explanatory.
     *
     * TODO add majors
     */
    public Opportunity(string opportunityID, string opportunity_name, OPPORTUNITY_FORMATS opportunity_format, ArrayList tags, string description, Date begin_date,
                       Date end_date, OPPORTUNITY_LENGTH length, LEVEL_OF_ENGAGEMENT engagement, OPPORTUNITY_RECURRENCE recurrence, string location, bool is_coop_friendly, float minimum_gpa, string resident_status,
                       string other_requirements, string college_or_department, string contact_name, string contact_phone,
                       string contact_email, ArrayList learning_outcomes, ArrayList skills)
    {
        this.opportunityID      = opportunityID;
        this.opportunity_name   = opportunity_name;
        this.opportunity_format = opportunity_format;
        this.tags                  = tags;
        this.description           = description;
        this.begin_date            = begin_date;
        this.end_date              = end_date;
        this.length                = length;
        this.engagement            = engagement;
        this.recurrence            = recurrence;
        this.location              = location;
        this.is_coop_friendly      = is_coop_friendly;
        this.minimum_gpa           = minimum_gpa;
        this.resident_status       = resident_status;
        this.other_requirements    = other_requirements;
        this.college_or_department = college_or_department;
        this.contact_name          = contact_name;
        this.contact_phone         = contact_phone;
        this.contact_email         = contact_email;
        this.learning_outcomes     = learning_outcomes;
        this.skills                = skills;

        //		// Add tags
        //		for (int i = 0; i < tags.Count; i++) {
        //			this.tag_opportunity ((string)tags [i]);
        //		}
    }
示例#2
0
	/**
	 * The Big Constructor. Pretty self-explanatory.
	 * 
	 * TODO add majors
	 */
	public Opportunity (string opportunityID, string opportunity_name, OPPORTUNITY_FORMATS opportunity_format, ArrayList tags, string description, Date begin_date, 
	                    Date end_date, OPPORTUNITY_LENGTH length, LEVEL_OF_ENGAGEMENT engagement, OPPORTUNITY_RECURRENCE recurrence, string location, bool is_coop_friendly, float minimum_gpa, string resident_status,
	                    string other_requirements, string college_or_department, string contact_name, string contact_phone,
	                    string contact_email, ArrayList learning_outcomes, ArrayList skills)
	{
		this.opportunityID = opportunityID;
		this.opportunity_name = opportunity_name;
		this.opportunity_format = opportunity_format;
		this.tags = tags;
		this.description = description;
		this.begin_date = begin_date;
		this.end_date = end_date;
		this.length = length;
		this.engagement = engagement;
		this.recurrence = recurrence;
		this.location = location;
		this.is_coop_friendly = is_coop_friendly;
		this.minimum_gpa = minimum_gpa;
		this.resident_status = resident_status;
		this.other_requirements = other_requirements;
		this.college_or_department = college_or_department;
		this.contact_name = contact_name;
		this.contact_phone = contact_phone;
		this.contact_email = contact_email;
		this.learning_outcomes = learning_outcomes;
		this.skills = skills;
		
		//		// Add tags
		//		for (int i = 0; i < tags.Count; i++) {
		//			this.tag_opportunity ((string)tags [i]);
		//		}
	}