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);
    }

}

@@ -268,16 +268,45 @@
 Value;%0A%0A
+import java.io.Serializable;%0A
 import j
@@ -360,16 +360,40 @@
 Wrapper 
+implements Serializable 
 %7B%0A%0A    p
@@ -685,16 +685,33 @@
 ientUtil
+%0A                
 .getProp
@@ -959,16 +959,17 @@
 ;%0A    %7D%0A
+%0A
     publ

Fix serialization error