001/** 002 * Copyright 2005-2018 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.uif.container; 017 018import org.kuali.rice.krad.datadictionary.parse.BeanTag; 019import org.kuali.rice.krad.datadictionary.parse.BeanTagAttribute; 020import org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase; 021import org.kuali.rice.krad.uif.element.Message; 022 023import java.io.Serializable; 024 025/** 026 * Configures nodes for a {@link org.kuali.rice.krad.uif.container.TreeGroup} 027 * @author Kuali Rice Team (rice.collab@kuali.org) 028 */ 029@BeanTag(name = "nodePrototype") 030public class NodePrototype extends UifDictionaryBeanBase implements Serializable { 031 private static final long serialVersionUID = 1L; 032 033 private Message labelPrototype; 034 private Group dataGroupPrototype; 035 036 public NodePrototype() { 037 super(); 038 } 039 040 /** 041 * @return the labelPrototype 042 */ 043 @BeanTagAttribute(type= BeanTagAttribute.AttributeType.DIRECTORBYTYPE) 044 public Message getLabelPrototype() { 045 return this.labelPrototype; 046 } 047 048 /** 049 * @param labelPrototype the labelPrototype to set 050 */ 051 public void setLabelPrototype(Message labelPrototype) { 052 this.labelPrototype = labelPrototype; 053 } 054 055 /** 056 * @return the dataGroupPrototype 057 */ 058 @BeanTagAttribute(type= BeanTagAttribute.AttributeType.DIRECTORBYTYPE) 059 public Group getDataGroupPrototype() { 060 return this.dataGroupPrototype; 061 } 062 063 /** 064 * @param dataGroupPrototype the dataGroupPrototype to set 065 */ 066 public void setDataGroupPrototype(Group dataGroupPrototype) { 067 this.dataGroupPrototype = dataGroupPrototype; 068 } 069 070}