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

id.ac.unpar.siamodels.matakuliah.AIF339 Maven / Gradle / Ivy

Go to download

This library models various aspects of Universitas Katolik Parahyangan's objects, such as mahasiswa (student), their modules, and their grades. Theoretically supports all departments, but only Informatics department is mostly complete.

There is a newer version: 5.2.0
Show newest version
package id.ac.unpar.siamodels.matakuliah;

import id.ac.unpar.siamodels.Mahasiswa;
import id.ac.unpar.siamodels.MataKuliah;
import id.ac.unpar.siamodels.InfoMataKuliah;
import id.ac.unpar.siamodels.matakuliah.interfaces.HasPrasyarat;

import java.util.List;

@InfoMataKuliah(nama = "Pemodelan Formal", sks = 3)
public class AIF339 extends MataKuliah implements HasPrasyarat {

	@Override
	public boolean checkPrasyarat(Mahasiswa mahasiswa, List reasonsContainer) {
		boolean ok = true;
		if (!mahasiswa.hasTempuhKuliah("AIF104")) {
			reasonsContainer.add("Tidak memenuhi prasyarat tempuh AIF104");
			ok = false;
		}
		if (!mahasiswa.hasTempuhKuliah("AIF208")) {
			reasonsContainer.add("Tidak memenuhi prasyarat tempuh AIF208");			
			ok = false;
		}
		return ok;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy