package net.sourceforge.fenixedu.domain.personnelSection.contracts; import net.sourceforge.fenixedu.domain.RootDomainObject; import pt.ist.fenixWebFramework.services.Service; import pt.utl.ist.fenix.tools.util.i18n.MultiLanguageString; public class ContractSituation extends ContractSituation_Base { public ContractSituation(final String giafId, final MultiLanguageString name, final Boolean endSituation) { super(); check(giafId, ""); check(name, ""); check(endSituation, ""); setRootDomainObject(RootDomainObject.getInstance()); setGiafId(giafId); setName(name); setEndSituation(endSituation); } @Service public void edit(final MultiLanguageString name, final Boolean endSituation) { check(name, ""); check(endSituation, ""); setName(name); setEndSituation(endSituation); } }