<commit_before>/*
 * Copyright 2005-2010 The Kuali Foundation
 * 
 * Licensed under the Educational Community License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 * http://www.opensource.org/licenses/ecl1.php
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.kuali.kra.meeting;

import java.io.Serializable;

/**
 * 
 * This class is form data for other present.
 */
public class OtherPresentBean implements Serializable, Comparable<OtherPresentBean> {

    private static final long serialVersionUID = 4831035284455868528L;
    private CommitteeScheduleAttendance attendance;
    private boolean member;

    public CommitteeScheduleAttendance getAttendance() {
        return attendance;
    }

    public void setAttendance(CommitteeScheduleAttendance attendance) {
        this.attendance = attendance;
    }

    public boolean isMember() {
        return member;<commit_msg>KCIRB-1729: Explicitly initializing a field if it is null before returning it via its getter (we no longer have implicit automatic initialization with the new version of the bean utils).<commit_after>/*
 * Copyright 2005-2010 The Kuali Foundation
 * 
 * Licensed under the Educational Community License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 * http://www.opensource.org/licenses/ecl1.php
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.kuali.kra.meeting;

import java.io.Serializable;

/**
 * 
 * This class is form data for other present.
 */
public class OtherPresentBean implements Serializable, Comparable<OtherPresentBean> {

    private static final long serialVersionUID = 4831035284455868528L;
    private CommitteeScheduleAttendance attendance;
    private boolean member;

    public CommitteeScheduleAttendance getAttendance() {
        if(attendance == null) {
            attendance = new CommitteeScheduleAttendance();
        }
        return attendance;
    }

    public void setAttendance(CommitteeScheduleAttendance attendance) {
        this.attendance = attendance;
    }

    public boolean isMember() {
        return member;
{'fraction_non_alphanumeric': 0.06418439716312056, 'fraction_numerical': 0.02269503546099291, 'mean_word_length': 3.75716694772344, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3105902', 'n_tokens_mistral': 746, 'n_tokens_neox': 698, 'n_words': 295}