<commit_before>package org.gridlab.gridsphere.portlet.impl;

import org.gridlab.gridsphere.portlet.PortletRole;

/*
 * @author <a href="mailto:<EMAIL>"><NAME></a>
 * @version $Id$
 * The <code>PortletRoleInfo</code> saves the role associated to a concrete portlet.
 */

public class SportletRoleInfo {

    private String portletRole = "";
    private String portletClass = "";
    private String oid = null;

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public PortletRole getPortletRole() {
        return PortletRole.toPortletRole(portletRole);
    }

    public void setPortletRole(PortletRole portletRole) {<commit_msg>make SportletRoleInfo implement Serializable if it is stored in session and Tomcat serailizes sessions by default<commit_after>package org.gridlab.gridsphere.portlet.impl;

import org.gridlab.gridsphere.portlet.PortletRole;

import java.io.Serializable;

/*
 * @author <a href="mailto:<EMAIL>"><NAME></a>
 * @version $Id$
 * The <code>PortletRoleInfo</code> saves the role associated to a concrete portlet.
 */

public class SportletRoleInfo implements Serializable {

    private static final long serialVersionUID = 2887296080186064446L;
    
    private String portletRole = "";
    private String portletClass = "";
    private String oid = null;

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public PortletRole getPortletRole() {
        return PortletRole.toPortletRole(portletRole);
    }

    public void setPortletRole(PortletRole portletRole) {
{'fraction_non_alphanumeric': 0.09671532846715329, 'fraction_numerical': 0.011557177615571776, 'mean_word_length': 3.556786703601108, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '676845', 'n_tokens_mistral': 528, 'n_tokens_neox': 500, 'n_words': 129}