<commit_before>/*
 * Copyright 2007 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.fixture;

import java.sql.Date;

import org.kuali.kfs.module.endow.businessobject.KEMID;
import org.kuali.kfs.sys.context.SpringContext;
import org.kuali.rice.kns.service.BusinessObjectService;

public enum KemIdFixture {
    // Security Record FIXTURE
    CLOSED_KEMID_RECORD("TESTKEMID", // kemid
            "Test Kemid for Unit test", // shortTitle
            "Long Title for Kemid", // longTitle
            Date.valueOf("2006-02-01"), // dateOpened
            Date.valueOf("2006-02-01"), // dateEstablished
            "046", // typeCode
            "MR", // purposeCode
            "TRST", // responsibleAdminCode
            "NTRAN", // transactionRestrictionCode
            new Integer(1), // cashSweepModelId
            false, // dormantIndicator
            true, // close
            "038B011179", // closedToKEMID
            "T", // closeCode
            "TRU", // incomeRestrictionCode
            "TRU" // principalRestrictionCode
    ),

    OPEN_KEMID_RECORD("TESTKEMID", // kemid
            "Test Kemid for Unit test", // shortTitle
            "Long Title for Kemid", // longTitle
            Date.valueOf("2006-02-01"), // dateOpened
            Date.valueOf("2006-02-01"), // dateEstablished
            "046", // typeCode
            "MR", // purposeCode
            "TRST", // responsibleAdminCode
            "NTRAN", // transactionRestrictionCode
            new Integer(1), // cashSweepModelId
            false, // dormantIndicator
            false, // close
            "", // closedToKEMID
            "", // closeCode
            "TRU", // incomeRestrictionCode
            "TRU" // principalRestrictionCode
    ),

    ALLOW_TRAN_KEMID_RECORD("TESTKEMID", // kemid
            "Test Kemid for Unit test", // shortTitle
            "Long Title for Kemid", // longTitle
            Date.valueOf("2006-02-01"), // dateOpened
            Date.valueOf("2006-02-01"), // dateEstablished
            "046", // typeCode
            "MR", // purposeCode
            "TRST", // responsibleAdminCode
            "NONE", // transactionRestrictionCode
            new Integer(1), // cashSweepModelId
            false, // dormantIndicator
            false, // close
            "", // closedToKEMID
            "", // closeCode
            "TRU", // incomeRestrictionCode
            "TRU" // principalRestrictionCode
    ),

    NO_TRAN_KEMID_RECORD("TESTKEMID", // kemid
            "Test Kemid for Unit test", // shortTitle
            "Long Title for Kemid", // longTitle
            Date.valueOf("2006-02-01"), // dateOpened
            Date.valueOf("2006-02-01"), // dateEstablished
            "046", // typeCode
            "MR", // purposeCode
            "TRST", // responsibleAdminCode
            "NTRAN", // transactionRestrictionCode
            new Integer(1), // cashSweepModelId
            false, // dormantIndicator
            false, // close
            "", // closedToKEMID
            "", // closeCode
            "TRU", // incomeRestrictionCode
            "TRU" // principalRestrictionCode
    );

    public final String kemid;
    public final String shortTitle;
    public final String longTitle;
    public final Date dateOpened;
    public final Date dateEstablished;
    public final String typeCode;
    public final String purposeCode;<commit_msg>Switched value to null (from "") to prevent FK violations.<commit_after>/*
 * Copyright 2007 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.fixture;

import java.sql.Date;

import org.kuali.kfs.module.endow.businessobject.KEMID;
import org.kuali.kfs.sys.context.SpringContext;
import org.kuali.rice.kns.service.BusinessObjectService;

public enum KemIdFixture {
    // Security Record FIXTURE
    CLOSED_KEMID_RECORD("TESTKEMID", // kemid
            "Test Kemid for Unit test", // shortTitle
            "Long Title for Kemid", // longTitle
            Date.valueOf("2006-02-01"), // dateOpened
            Date.valueOf("2006-02-01"), // dateEstablished
            "046", // typeCode
            "MR", // purposeCode
            "TRST", // responsibleAdminCode
            "NTRAN", // transactionRestrictionCode
            new Integer(1), // cashSweepModelId
            false, // dormantIndicator
            true, // close
            "038B011179", // closedToKEMID
            "T", // closeCode
            "TRU", // incomeRestrictionCode
            "TRU" // principalRestrictionCode
    ),

    OPEN_KEMID_RECORD("TESTKEMID", // kemid
            "Test Kemid for Unit test", // shortTitle
            "Long Title for Kemid", // longTitle
            Date.valueOf("2006-02-01"), // dateOpened
            Date.valueOf("2006-02-01"), // dateEstablished
            "046", // typeCode
            "MR", // purposeCode
            "TRST", // responsibleAdminCode
            "NTRAN", // transactionRestrictionCode
            new Integer(1), // cashSweepModelId
            false, // dormantIndicator
            false, // close
            "", // closedToKEMID
            null, // closeCode
            "TRU", // incomeRestrictionCode
            "TRU" // principalRestrictionCode
    ),

    ALLOW_TRAN_KEMID_RECORD("TESTKEMID", // kemid
            "Test Kemid for Unit test", // shortTitle
            "Long Title for Kemid", // longTitle
            Date.valueOf("2006-02-01"), // dateOpened
            Date.valueOf("2006-02-01"), // dateEstablished
            "046", // typeCode
            "MR", // purposeCode
            "TRST", // responsibleAdminCode
            "NONE", // transactionRestrictionCode
            new Integer(1), // cashSweepModelId
            false, // dormantIndicator
            false, // close
            "", // closedToKEMID
            null, // closeCode
            "TRU", // incomeRestrictionCode
            "TRU" // principalRestrictionCode
    ),

    NO_TRAN_KEMID_RECORD("TESTKEMID", // kemid
            "Test Kemid for Unit test", // shortTitle
            "Long Title for Kemid", // longTitle
            Date.valueOf("2006-02-01"), // dateOpened
            Date.valueOf("2006-02-01"), // dateEstablished
            "046", // typeCode
            "MR", // purposeCode
            "TRST", // responsibleAdminCode
            "NTRAN", // transactionRestrictionCode
            new Integer(1), // cashSweepModelId
            false, // dormantIndicator
            false, // close
            "", // closedToKEMID
            null, // closeCode
            "TRU", // incomeRestrictionCode
            "TRU" // principalRestrictionCode
    );

    public final String kemid;
    public final String shortTitle;
    public final String longTitle;
    public final Date dateOpened;
    public final Date dateEstablished;
    public final String typeCode;
    public final String purposeCode;
{'fraction_non_alphanumeric': 0.10811148606424197, 'fraction_numerical': 0.023997000374953132, 'mean_word_length': 1.9087604507451836, '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': '6346298', 'n_tokens_mistral': 2323, 'n_tokens_neox': 2148, 'n_words': 576}