Class DataDictionaryDefinitionBase
java.lang.Object
org.kuali.rice.krad.datadictionary.DictionaryBeanBase
org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
- All Implemented Interfaces:
Serializable,Cloneable,Copyable,DataDictionaryDefinition,DictionaryBean
- Direct Known Subclasses:
AttributeDefinitionBase,CollectionDefinition,DocumentCollectionPath,DocumentValuePathGroup,HelpDefinition,InactivationBlockingDefinition,PrimitiveAttributeDefinition,ReferenceDefinition,RelationshipDefinition,RoutingTypeDefinition,SearchingTypeDefinition,SortDefinition
public abstract class DataDictionaryDefinitionBase
extends DictionaryBeanBase
implements DataDictionaryDefinition
Common base class for DataDictionaryDefinition types.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
FieldsFields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
componentCode, namespaceCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompleteValidation(Class<?> rootBusinessObjectClass, Class<?> otherBusinessObjectClass) Deprecated.voidcompleteValidation(Class<?> rootBusinessObjectClass, Class<?> otherBusinessObjectClass, ValidationTrace tracer) Empty implementation so that all subclasses do not need to implement this method if they have no local validation to perform.getId()booleanReturns true if the given object contains an embedded KRAD Data metadata object which may be used for defaulting certain attributes.voidsetEmbeddedDataObjectMetadata(boolean embeddedDataObjectMetadata) voidsetGeneratedFromMetadata(boolean generatedFromMetadata) voidA unique identifier for this data dictionary element.booleanReturns true if this data dictionary object was completely generated from KRAD Data metadata.Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode
-
Field Details
-
id
-
embeddedDataObjectMetadata
protected boolean embeddedDataObjectMetadata -
generatedFromMetadata
protected boolean generatedFromMetadata
-
-
Constructor Details
-
DataDictionaryDefinitionBase
public DataDictionaryDefinitionBase()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceDataDictionaryDefinition
-
setId
A unique identifier for this data dictionary element. -
hasEmbeddedDataObjectMetadata
public boolean hasEmbeddedDataObjectMetadata()Returns true if the given object contains an embedded KRAD Data metadata object which may be used for defaulting certain attributes. -
wasGeneratedFromMetadata
public boolean wasGeneratedFromMetadata()Returns true if this data dictionary object was completely generated from KRAD Data metadata. -
setEmbeddedDataObjectMetadata
public void setEmbeddedDataObjectMetadata(boolean embeddedDataObjectMetadata) -
setGeneratedFromMetadata
public void setGeneratedFromMetadata(boolean generatedFromMetadata) -
completeValidation
@Deprecated public void completeValidation(Class<?> rootBusinessObjectClass, Class<?> otherBusinessObjectClass) Deprecated.Default implementation so that all subclasses do not need to implement this deprecated method.- Specified by:
completeValidationin interfaceDataDictionaryDefinition- Parameters:
rootBusinessObjectClass- Class of the BusinessObjectEntry which ultimately contains this definitionotherBusinessObjectClass- other stuff required to complete validation
-
completeValidation
public void completeValidation(Class<?> rootBusinessObjectClass, Class<?> otherBusinessObjectClass, ValidationTrace tracer) Empty implementation so that all subclasses do not need to implement this method if they have no local validation to perform.- Specified by:
completeValidationin interfaceDataDictionaryDefinition- Parameters:
rootBusinessObjectClass- Class of the BusinessObjectEntry which ultimately contains this definitionotherBusinessObjectClass- other stuff required to complete validationtracer-ValidationTraceclass used to track what was being validated at the time of any problems discovered
-