001 /**
002 * Copyright 2005-2014 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.rice.krad.datadictionary;
017
018 import org.kuali.rice.krad.datadictionary.parse.BeanTagAttribute;
019 import org.springframework.beans.factory.InitializingBean;
020
021 /**
022 * Common base class for DataDictionaryDefinition types.
023 *
024 * @author Kuali Rice Team (rice.collab@kuali.org)
025 */
026 abstract public class DataDictionaryDefinitionBase extends DictionaryBeanBase implements DataDictionaryDefinition, InitializingBean {
027 private static final long serialVersionUID = -2003626577498716712L;
028
029 protected String id;
030
031 public DataDictionaryDefinitionBase() {
032 }
033
034 @BeanTagAttribute(name = "id")
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 }