<commit_before>/*
 * Copyright 2008 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/ecl2.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.kfs.module.endow.document.validation.event;

import org.kuali.kfs.module.endow.businessobject.EndowmentTransactionLine;
import org.kuali.kfs.module.endow.document.EndowmentTransactionLinesDocument;
import org.kuali.kfs.module.endow.document.validation.AddTransactionLineRule;
import org.kuali.rice.krad.rule.BusinessRule;
import org.kuali.rice.krad.rule.event.KualiDocumentEventBase;

public class AddTransactionLineEvent extends KualiDocumentEventBase {
    private EndowmentTransactionLine line;

    /**
     * @param description
     * @param errorPathPrefix
     * @param document
     */
    public AddTransactionLineEvent(String errorPathPrefix, EndowmentTransactionLinesDocument document, EndowmentTransactionLine line) {
        super("Adding Transaction Line to document " + getDocumentId(document), errorPathPrefix, document);
        this.document = document;
        this.line = line;        
    }
<commit_msg>JIRA KFSMI-7195 Endow Module Rice 2.0 Conversion<commit_after>/*
 * Copyright 2008 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/ecl2.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.kfs.module.endow.document.validation.event;

import org.kuali.kfs.module.endow.businessobject.EndowmentTransactionLine;
import org.kuali.kfs.module.endow.document.EndowmentTransactionLinesDocument;
import org.kuali.kfs.module.endow.document.validation.AddTransactionLineRule;
import org.kuali.rice.krad.rules.rule.BusinessRule;
import org.kuali.rice.krad.rules.rule.event.KualiDocumentEventBase;

public class AddTransactionLineEvent extends KualiDocumentEventBase {
    private EndowmentTransactionLine line;

    /**
     * @param description
     * @param errorPathPrefix
     * @param document
     */
    public AddTransactionLineEvent(String errorPathPrefix, EndowmentTransactionLinesDocument document, EndowmentTransactionLine line) {
        super("Adding Transaction Line to document " + getDocumentId(document), errorPathPrefix, document);
        this.document = document;
        this.line = line;        
    }

{'fraction_non_alphanumeric': 0.07689903094717099, 'fraction_numerical': 0.006251953735542357, 'mean_word_length': 4.271828665568369, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2375556', 'n_tokens_mistral': 883, 'n_tokens_neox': 853, 'n_words': 266}