public ScientificCommission(ExecutionDegree executionDegree, Person person) { super(); if (executionDegree.isPersonInScientificCommission(person)) { throw new DomainException("scientificCommission.person.duplicate"); } setRootDomainObject(RootDomainObject.getInstance()); setContact(false); setExecutionDegree(executionDegree); setPerson(person); ScientificCommissionLog.createLog( this.getExecutionDegree().getDegree(), this.getExecutionDegree().getExecutionYear(), "resources.MessagingResources", "log.degree.scientificcomission.addmember", this.getPerson().getPresentationName(), this.getExecutionDegree().getDegree().getPresentationName()); }