org.kuali.rice.krad.datadictionary
Class ComplexAttributeDefinition

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
      extended by org.kuali.rice.krad.datadictionary.AttributeDefinitionBase
          extended by org.kuali.rice.krad.datadictionary.ComplexAttributeDefinition
All Implemented Interfaces:
Serializable, DataDictionaryDefinition, Constrainable, ExistenceConstrainable, Constraint, ExistenceConstraint, org.springframework.beans.factory.InitializingBean

public class ComplexAttributeDefinition
extends AttributeDefinitionBase

A complex attribute definition in the DataDictictionary. This can be be used to define an attribute for a DataObjectEntry's attribute list which is represented by another object entry definition. It will

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
protected  DataDictionaryEntry dataObjectEntry
           
 
Fields inherited from class org.kuali.rice.krad.datadictionary.AttributeDefinitionBase
constraint, description, displayLabelAttribute, label, messageKey, name, required, shortLabel, summary
 
Fields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
id
 
Constructor Summary
ComplexAttributeDefinition()
           
 
Method Summary
 void completeValidation(Class<?> rootObjectClass, Class<?> otherObjectClass)
          Performs complete intra-definition validation which couldn't be done earlier - for example, verifies that field references refer to actual fields of some specific class.
 DataDictionaryEntry getDataObjectEntry()
           
 void setDataObjectEntry(DataDictionaryEntry dataObjectEntry)
           
 
Methods inherited from class org.kuali.rice.krad.datadictionary.AttributeDefinitionBase
getDescription, getDirectShortLabel, getDisplayLabelAttribute, getLabel, getName, getShortLabel, getSummary, isRequired, setDescription, setDisplayLabelAttribute, setLabel, setName, setRequired, setShortLabel, setSummary
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
afterPropertiesSet, getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataObjectEntry

protected DataDictionaryEntry dataObjectEntry
Constructor Detail

ComplexAttributeDefinition

public ComplexAttributeDefinition()
Method Detail

getDataObjectEntry

public DataDictionaryEntry getDataObjectEntry()
Returns:
the dataObjectEntry

setDataObjectEntry

public void setDataObjectEntry(DataDictionaryEntry dataObjectEntry)
Parameters:
dataObjectEntry - the dataObjectEntry to set

completeValidation

public void completeValidation(Class<?> rootObjectClass,
                               Class<?> otherObjectClass)
Description copied from interface: DataDictionaryDefinition
Performs complete intra-definition validation which couldn't be done earlier - for example, verifies that field references refer to actual fields of some specific class.

Parameters:
rootObjectClass - Class of the BusinessObjectEntry which ultimately contains this definition
otherObjectClass - other stuff required to complete validation
See Also:
DataDictionaryDefinition.completeValidation(java.lang.Class, java.lang.Class)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.