001    /**
002     * Copyright 2010-2013 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.opensource.org/licenses/ecl2.php
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package org.kuali.common.jdbc.config;
017    
018    import org.kuali.common.util.project.model.ProjectIdentifier;
019    
020    /**
021     * @deprecated
022     */
023    @Deprecated
024    public enum KualiJdbcConfig implements org.kuali.common.util.config.ProjectConfig {
025    
026            DEFAULT(); // Provides the default set of configuration for JDBC related processes
027    
028            private final ProjectIdentifier identifier = JdbcProjectConstants.PROJECT_IDENTIFIER;
029            private final String contextId;
030            private final String configId;
031    
032            private KualiJdbcConfig() {
033                    this(null);
034            }
035    
036            private KualiJdbcConfig(String contextId) {
037                    this.contextId = contextId;
038                    this.configId = org.kuali.common.util.config.ConfigUtils.getConfigId(this);
039            }
040    
041            @Override
042            public String getGroupId() {
043                    return identifier.getGroupId();
044            }
045    
046            @Override
047            public String getArtifactId() {
048                    return identifier.getArtifactId();
049            }
050    
051            @Override
052            public String getContextId() {
053                    return contextId;
054            }
055    
056            @Override
057            public String getConfigId() {
058                    return configId;
059            }
060    
061    }