001/** 002 * Copyright 2005-2016 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 */ 016package org.kuali.rice.krad.datadictionary; 017 018import org.springframework.beans.factory.InitializingBean; 019 020 021 022/** 023 * Common base class for DataDictionaryDefinition types. 024 * 025 * 026 */ 027abstract public class DataDictionaryDefinitionBase implements DataDictionaryDefinition, InitializingBean { 028 private static final long serialVersionUID = -2003626577498716712L; 029 030 protected String id; 031 032 public DataDictionaryDefinitionBase() { 033 } 034 035 public String getId() { 036 return this.id; 037 } 038 039 /** 040 * A unique identifier for this data dictionary element. 041 */ 042 public void setId(String id) { 043 this.id = id; 044 } 045 046 /** 047 * @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet() 048 */ 049 public void afterPropertiesSet() throws Exception {} 050}