package org.xcolab.view.pages.proposals.wrappers;

import org.xcolab.client.proposals.ProposalJudgeRatingClientUtil;
import org.xcolab.client.proposals.pojo.evaluation.judges.ProposalRatingType;
import org.xcolab.client.proposals.pojo.evaluation.judges.ProposalRatingValue;

import java.util.List;

public class ProposalRatingTypeWrapper {

    private final ProposalRatingType proposalRatingType;

    public ProposalRatingTypeWrapper(ProposalRatingType proposalRatingType) {
        this.proposalRatingType = proposalRatingType;
    }

    public List<ProposalRatingValue> getRatingValues() {

        return ProposalJudgeRatingClientUtil.getProposalRatingValuesByProposalRatingTypeId(this.proposalRatingType.getId_());
    }

    public Long getId() {
        return this.proposalRatingType.getId_();
    }

    public String getLabel() {
        return this.proposalRatingType.getLabel();
    }
    public String getDescription() {
        return this.proposalRatingType.getDescription();
    }

    public boolean getIsActive()
    {
        return this.proposalRatingType.getIsActive();
    }

    public void setIsActive(boolean isActive){
        this.proposalRatingType.setIsActive(isActive);
    }

}

@@ -588,17 +588,16 @@
 ues() %7B%0A
-%0A
         

Remove empty new line