org.kuali.rice.krad.datadictionary
Class ExternalizableAttributeDefinitionProxy

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.AttributeDefinition
              extended by org.kuali.rice.krad.datadictionary.ExternalizableAttributeDefinitionProxy
All Implemented Interfaces:
Serializable, DataDictionaryDefinition, CaseConstrainable, Constrainable, ExistenceConstrainable, Formatable, HierarchicallyConstrainable, LengthConstrainable, MustOccurConstrainable, PrerequisiteConstrainable, RangeConstrainable, ValidCharactersConstrainable, Constraint, DataTypeConstraint, ExistenceConstraint, LengthConstraint, RangeConstraint, org.springframework.beans.factory.InitializingBean

public class ExternalizableAttributeDefinitionProxy
extends AttributeDefinition

A single attribute definition in the DataDictionary, which contains information relating to the display, validation, and general maintenance of a specific attribute of an entry.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.datadictionary.AttributeDefinition
additionalDisplayAttributeName, alternateDisplayAttributeName, attributeSecurity, caseConstraint, childEntryName, control, controlField, customValidatorClass, dataType, dependencyConstraints, dynamic, exclusiveMin, forceUppercase, formatterClass, inclusiveMax, lookupContextPath, lookupDefinition, maxLength, minLength, mustOccurConstraints, propertyEditor, unique, validationPattern, validCharactersConstraint
 
Fields inherited from class org.kuali.rice.krad.datadictionary.AttributeDefinitionBase
constraintText, description, displayLabelAttribute, label, messageKey, name, required, shortLabel, summary
 
Fields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
id
 
Constructor Summary
ExternalizableAttributeDefinitionProxy()
          Constructs an AttributeReferenceDefinition
 
Method Summary
 void completeValidation(Class rootObjectClass, Class otherObjectClass)
          Validate the fields associated with locating the delegate.
 ControlDefinition getControl()
          If control wasn't set on this instance, use the value from its delegate.
 String getDescription()
          If description wasn't set on this instance, use the value from its delegate.
 String getDisplayLabelAttribute()
           
 Boolean getForceUppercase()
          If forceUppercase wasn't set on this instance, use the value from its delegate.
 String getFormatterClass()
          If a formatterClass wasn't set for this instance, use the value from its delegate.
 String getLabel()
          If label wasn't set on this instance, use the value from its delegate.
 Integer getMaxLength()
          If maxLength wasn't set on this instance, use the value from its delegate.
 String getName()
          If name wasn't set on this instance, use the value from its delegate.
 String getShortLabel()
          If shortlabel wasn't set on this instance, use the value from its delegate.
 String getSourceAttributeName()
           
 String getSourceExternalizableBusinessObjectInterface()
           
 String getSummary()
          If summary wasn't set on this instance, use the value from its delegate.
 ValidationPattern getValidationPattern()
          If validationPattern wasn't set on this instance, use the value from its delegate.
 boolean hasFormatterClass()
           
 boolean hasValidationPattern()
           
 Boolean isRequired()
          If required wasn't set on this instance, use the value from its delegate.
 void setSourceAttributeName(String sourceAttributeName)
           
 void setSourceExternalizableBusinessObjectInterface(String sourceClassName)
           
 String toString()
           
 
Methods inherited from class org.kuali.rice.krad.datadictionary.AttributeDefinition
afterPropertiesSet, getAdditionalDisplayAttributeName, getAlternateDisplayAttributeName, getAttributeSecurity, getCaseConstraint, getChildEntryName, getControlField, getCustomValidatorClass, getDataType, getExclusiveMin, getInclusiveMax, getLookupContextPath, getLookupDefinition, getMinLength, getMustOccurConstraints, getOptionsFinder, getPrerequisiteConstraints, getPropertyEditor, getUnique, getValidCharactersConstraint, hasAttributeSecurity, setAdditionalDisplayAttributeName, setAlternateDisplayAttributeName, setAttributeSecurity, setCaseConstraint, setChildEntryName, setControl, setControlField, setCustomValidatorClass, setDataType, setDataType, setExclusiveMin, setForceUppercase, setFormatterClass, setInclusiveMax, setLookupContextPath, setLookupDefinition, setMaxLength, setMinLength, setMustOccurConstraints, setOptionsFinder, setOptionsFinderClass, setPrerequisiteConstraints, setPropertyEditor, setPropertyEditorClass, setUnique, setValidationPattern, setValidCharactersConstraint
 
Methods inherited from class org.kuali.rice.krad.datadictionary.AttributeDefinitionBase
getConstraintText, getDirectShortLabel, setConstraintText, setDescription, setDisplayLabelAttribute, setLabel, setName, setRequired, setShortLabel, setSummary
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExternalizableAttributeDefinitionProxy

public ExternalizableAttributeDefinitionProxy()
Constructs an AttributeReferenceDefinition

Method Detail

setSourceExternalizableBusinessObjectInterface

public void setSourceExternalizableBusinessObjectInterface(String sourceClassName)

getSourceExternalizableBusinessObjectInterface

public String getSourceExternalizableBusinessObjectInterface()

setSourceAttributeName

public void setSourceAttributeName(String sourceAttributeName)

getSourceAttributeName

public String getSourceAttributeName()

getForceUppercase

public Boolean getForceUppercase()
If forceUppercase wasn't set on this instance, use the value from its delegate.

Overrides:
getForceUppercase in class AttributeDefinition
See Also:
org.kuali.core.datadictionary.AttributeDefinition#getForceUppercase()

getName

public String getName()
If name wasn't set on this instance, use the value from its delegate.

Specified by:
getName in interface Constrainable
Overrides:
getName in class AttributeDefinitionBase
See Also:
org.kuali.core.datadictionary.AttributeDefinition#getName()

getLabel

public String getLabel()
If label wasn't set on this instance, use the value from its delegate.

Overrides:
getLabel in class AttributeDefinitionBase
See Also:
org.kuali.core.datadictionary.AttributeDefinition#getLabel()

getShortLabel

public String getShortLabel()
If shortlabel wasn't set on this instance, use the value from its delegate.

Overrides:
getShortLabel in class AttributeDefinitionBase
Returns:
the shortLabel, or the label if no shortLabel has been set
See Also:
org.kuali.core.datadictionary.AttributeDefinition#getShortLabel()

getMaxLength

public Integer getMaxLength()
If maxLength wasn't set on this instance, use the value from its delegate.

Specified by:
getMaxLength in interface LengthConstraint
Overrides:
getMaxLength in class AttributeDefinition
See Also:
org.kuali.core.datadictionary.AttributeDefinition#getMaxLength()

hasValidationPattern

public boolean hasValidationPattern()
Overrides:
hasValidationPattern in class AttributeDefinition
Returns:
true if a validationPattern is available, directly or indirectly
See Also:
org.kuali.core.datadictionary.AttributeDefinition#hasValidationPattern()

getValidationPattern

public ValidationPattern getValidationPattern()
If validationPattern wasn't set on this instance, use the value from its delegate.

Overrides:
getValidationPattern in class AttributeDefinition
See Also:
org.kuali.core.datadictionary.AttributeDefinition#getValidationPattern()

isRequired

public Boolean isRequired()
If required wasn't set on this instance, use the value from its delegate.

Specified by:
isRequired in interface ExistenceConstraint
Overrides:
isRequired in class AttributeDefinitionBase
See Also:
org.kuali.core.datadictionary.AttributeDefinition#isRequired()

getControl

public ControlDefinition getControl()
If control wasn't set on this instance, use the value from its delegate.

Overrides:
getControl in class AttributeDefinition
Returns:
control
See Also:
org.kuali.core.datadictionary.AttributeDefinition#getControl()

getSummary

public String getSummary()
If summary wasn't set on this instance, use the value from its delegate.

Overrides:
getSummary in class AttributeDefinitionBase
See Also:
org.kuali.core.datadictionary.AttributeDefinition#getSummary()

getDescription

public String getDescription()
If description wasn't set on this instance, use the value from its delegate.

Overrides:
getDescription in class AttributeDefinitionBase
See Also:
org.kuali.core.datadictionary.AttributeDefinition#getDescription()

hasFormatterClass

public boolean hasFormatterClass()
Overrides:
hasFormatterClass in class AttributeDefinition
Returns:
true if a formatterClass is available, directly or indirectly
See Also:
org.kuali.core.datadictionary.AttributeDefinition#hasFormatterClass()

getFormatterClass

public String getFormatterClass()
If a formatterClass wasn't set for this instance, use the value from its delegate.

Specified by:
getFormatterClass in interface Formatable
Overrides:
getFormatterClass in class AttributeDefinition
See Also:
org.kuali.core.datadictionary.AttributeDefinition#getFormatterClass()

getDisplayLabelAttribute

public String getDisplayLabelAttribute()
Overrides:
getDisplayLabelAttribute in class AttributeDefinitionBase
See Also:
org.kuali.core.datadictionary.AttributeDefinition#getDisplayLabelAttribute()

completeValidation

public void completeValidation(Class rootObjectClass,
                               Class otherObjectClass)
Validate the fields associated with locating the delegate. Other validation must be deferred until the delegate class has been assigned.

Specified by:
completeValidation in interface DataDictionaryDefinition
Overrides:
completeValidation in class AttributeDefinition
Parameters:
rootObjectClass - Class of the BusinessObjectEntry which ultimately contains this definition
otherObjectClass - other stuff required to complete validation
See Also:
org.kuali.core.datadictionary.DataDictionaryEntry#completeValidation()

toString

public String toString()
Overrides:
toString in class AttributeDefinition
See Also:
Object.toString()


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