org.kuali.rice.krad.datadictionary
Class DictionaryBeanBase

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.DictionaryBeanBase
All Implemented Interfaces:
DictionaryBean
Direct Known Subclasses:
DataDictionaryDefinitionBase, DataDictionaryEntryBase, UifDictionaryBeanBase, ViewSessionPolicy

public abstract class DictionaryBeanBase
extends Object
implements DictionaryBean

Common base for all objects that can be configured in the dictionary

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
DictionaryBeanBase()
           
 
Method Summary
<T> T
copy()
          Copies object by value
protected
<T> void
copyProperties(T dictionaryBeanBase)
          Copies properties for copy()
 String getComponentCode()
          A code within the namespace that identifies a component or group the bean is associated with
 String getNamespaceCode()
          Namespace code (often an application or module code) that dictionary bean is associated with
 void setComponentCode(String componentCode)
          Setter for the bean's associated component code
 void setNamespaceCode(String namespaceCode)
          Setter for the bean's associated namespace code
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DictionaryBeanBase

public DictionaryBeanBase()
Method Detail

getNamespaceCode

public String getNamespaceCode()
Description copied from interface: DictionaryBean
Namespace code (often an application or module code) that dictionary bean is associated with

Note this may be assigned through the bean definition itself, or associated by the module configuration and its dictionary files

Specified by:
getNamespaceCode in interface DictionaryBean
Returns:
String namespace code
See Also:
DictionaryBean.getNamespaceCode()

setNamespaceCode

public void setNamespaceCode(String namespaceCode)
Setter for the bean's associated namespace code

Parameters:
namespaceCode -

getComponentCode

public String getComponentCode()
Description copied from interface: DictionaryBean
A code within the namespace that identifies a component or group the bean is associated with

Specified by:
getComponentCode in interface DictionaryBean
Returns:
String representing a component code
See Also:
DictionaryBean.getComponentCode()

setComponentCode

public void setComponentCode(String componentCode)
Setter for the bean's associated component code

Parameters:
componentCode -

copy

public <T> T copy()
Copies object by value

Returns:
copiedClass

copyProperties

protected <T> void copyProperties(T dictionaryBeanBase)
Copies properties for copy()

Parameters:
dictionaryBeanBase - base bean


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.