Class ExternalizableAttributeDefinitionProxy
- All Implemented Interfaces:
Serializable,Cloneable,Copyable,DataDictionaryDefinition,DictionaryBean,CaseConstrainable,Constrainable,ExistenceConstrainable,Formatable,HierarchicallyConstrainable,MustOccurConstrainable,PrerequisiteConstrainable,SimpleConstrainable,ValidCharactersConstrainable,Constraint,ExistenceConstraint
- See Also:
-
Field Summary
Fields inherited from class org.kuali.rice.krad.datadictionary.AttributeDefinition
additionalDisplayAttributeName, alternateDisplayAttributeName, attributeSecurity, cachedDerivedControl, caseConstraint, childEntryName, control, controlField, customValidatorClass, dependencyConstraints, dynamic, forceUppercase, formatterClass, mustOccurConstraints, propertyEditor, unique, validationPattern, validCharactersConstraintFields inherited from class org.kuali.rice.krad.datadictionary.AttributeDefinitionBase
constraintText, dataObjectAttribute, description, displayLabelAttribute, label, name, shortLabel, simpleConstraint, summaryFields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
embeddedDataObjectMetadata, generatedFromMetadata, idFields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
componentCode, namespaceCode -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an AttributeReferenceDefinition -
Method Summary
Modifier and TypeMethodDescriptionvoidcompleteValidation(Class rootObjectClass, Class otherObjectClass, ValidationTrace tracer) Directly validate simple fields, call completeValidation on Definition fields.The description element is used to provide a long description of the attribute or collection.Indicates whether user entry should be converted to upper casegetLabel()The label element is the field or collection name that will be shown on inquiry and maintenance screens.Returns the maximum length for this field, if set.getName()Name of the attributeThe summary element is used to provide a short description of the attribute or collection.Defines the allowable character-level or field-level values for an attributebooleanbooleanIndicates whether a validation pattern has been setThe required element allows values of "true" or "false".booleanvoidsetSourceAttributeName(String sourceAttributeName) voidsetSourceExternalizableBusinessObjectInterface(String sourceClassName) toString()Methods inherited from class org.kuali.rice.krad.datadictionary.AttributeDefinition
completeValidation, dataDictionaryPostProcessing, getAdditionalDisplayAttributeName, getAlternateDisplayAttributeName, getAttributeSecurity, getCaseConstraint, getChildEntryName, getControlField, getCustomValidatorClass, getDataType, getDependencyConstraints, getExclusiveMin, getInclusiveMax, getMinLength, getMustOccurConstraints, getOptionsFinder, getPrerequisiteConstraints, getPropertyEditor, getUnique, getValidCharactersConstraint, hasAttributeSecurity, setAdditionalDisplayAttributeName, setAlternateDisplayAttributeName, setAttributeSecurity, setCaseConstraint, setChildEntryName, setControl, setControlField, setCustomValidatorClass, setDataType, setDataType, setDependencyConstraints, setExclusiveMin, setForceUppercase, setFormatterClass, setInclusiveMax, setMaxLength, setMinLength, setMustOccurConstraints, setOptionsFinder, setOptionsFinderClass, setPrerequisiteConstraints, setPropertyEditor, setPropertyEditorClass, setUnique, setValidationPattern, setValidCharactersConstraintMethods inherited from class org.kuali.rice.krad.datadictionary.AttributeDefinitionBase
getConstraintText, getDataObjectAttribute, getDirectShortLabel, getSimpleConstraint, setConstraintText, setDataObjectAttribute, setDescription, setDisplayLabelAttribute, setLabel, setName, setRequired, setShortLabel, setSimpleConstraint, setSummaryMethods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
getId, hasEmbeddedDataObjectMetadata, setEmbeddedDataObjectMetadata, setGeneratedFromMetadata, setId, wasGeneratedFromMetadataMethods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
clone, copy, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
getComponentCode, getNamespaceCode
-
Constructor Details
-
ExternalizableAttributeDefinitionProxy
public ExternalizableAttributeDefinitionProxy()Constructs an AttributeReferenceDefinition
-
-
Method Details
-
setSourceExternalizableBusinessObjectInterface
-
getSourceExternalizableBusinessObjectInterface
-
setSourceAttributeName
-
getSourceAttributeName
-
getForceUppercase
Description copied from class:AttributeDefinitionIndicates whether user entry should be converted to upper caseIf set all user input will be changed to uppercase. Values from the database will also be forced to display as upper case and thus be persisted as upper case.
If not set and embedded metadata is present, the ForceUppercase value will be read from the linked metadata.- Overrides:
getForceUppercasein classAttributeDefinition- Returns:
- boolean true if force upper case is set
- See Also:
-
getName
Description copied from class:AttributeDefinitionBaseName of the attribute- Specified by:
getNamein interfaceConstrainable- Overrides:
getNamein classAttributeDefinitionBase- Returns:
- the name
- See Also:
-
getLabel
Description copied from class:AttributeDefinitionBaseThe label element is the field or collection name that will be shown on inquiry and maintenance screens. This will be overridden by presence of displayLabelAttribute element.- Overrides:
getLabelin classAttributeDefinitionBase- Returns:
- the label
- See Also:
-
getShortLabel
- Overrides:
getShortLabelin classAttributeDefinitionBase- Returns:
- the shortLabel, or the label if no shortLabel has been set
- See Also:
-
getMaxLength
Description copied from class:AttributeDefinitionReturns the maximum length for this field, if set. If not set, it attempts to pull from the embedded metadata, if any. z- Overrides:
getMaxLengthin classAttributeDefinition- See Also:
-
hasValidationPattern
public boolean hasValidationPattern()Description copied from class:AttributeDefinitionIndicates whether a validation pattern has been set- Overrides:
hasValidationPatternin classAttributeDefinition- Returns:
- boolean
- See Also:
-
getValidationPattern
Description copied from class:AttributeDefinitionDefines the allowable character-level or field-level values for an attributeValidationPattern is a Map which is accessed using a key of "validationPattern". Each entry may contain some of the keys listed below. The keys that may be present for a given attribute are dependent upon the type of validationPattern. maxLength (String) exactLength type allowWhitespace allowUnderscore allowPeriod validChars precision scale allowNegative The allowable keys (in addition to type) for each type are: Type**** ***Keys*** alphanumeric exactLength maxLength allowWhitespace allowUnderscore allowPeriod alpha exactLength maxLength allowWhitespace anyCharacter exactLength maxLength allowWhitespace charset validChars numeric exactLength maxLength fixedPoint allowNegative precision scale floatingPoint allowNegative date n/a emailAddress n/a javaClass n/a month n/a phoneNumber n/a timestamp n/a year n/a zipcode n/a Note: maxLength and exactLength are mutually exclusive. If one is entered, the other may not be entered. Note: See ApplicationResources.properties for exact regex patterns. e.g. validationPatternRegex.date for regex used in date validation.
- Overrides:
getValidationPatternin classAttributeDefinition- Returns:
- ValidationPattern
- See Also:
-
isRequired
Description copied from class:AttributeDefinitionBaseThe required element allows values of "true" or "false". A value of "true" indicates that a value must be entered for this business object when creating or editing a new business object.- Specified by:
isRequiredin interfaceExistenceConstraint- Overrides:
isRequiredin classAttributeDefinitionBase- See Also:
-
getControl
- Overrides:
getControlin classAttributeDefinition- Returns:
- control
- See Also:
-
getSummary
Description copied from class:AttributeDefinitionBaseThe summary element is used to provide a short description of the attribute or collection. This is designed to be used for help purposes.- Overrides:
getSummaryin classAttributeDefinitionBase- Returns:
- the summary
- See Also:
-
getDescription
Description copied from class:AttributeDefinitionBaseThe description element is used to provide a long description of the attribute or collection. This is designed to be used for help purposes.- Overrides:
getDescriptionin classAttributeDefinitionBase- Returns:
- the description
- See Also:
-
hasFormatterClass
public boolean hasFormatterClass()- Overrides:
hasFormatterClassin classAttributeDefinition- See Also:
-
getFormatterClass
- Specified by:
getFormatterClassin interfaceFormatable- Overrides:
getFormatterClassin classAttributeDefinition- See Also:
-
getDisplayLabelAttribute
- Overrides:
getDisplayLabelAttributein classAttributeDefinitionBase- See Also:
-
completeValidation
public void completeValidation(Class rootObjectClass, Class otherObjectClass, ValidationTrace tracer) Description copied from class:AttributeDefinitionDirectly validate simple fields, call completeValidation on Definition fields.- Specified by:
completeValidationin interfaceDataDictionaryDefinition- Overrides:
completeValidationin classAttributeDefinition- Parameters:
rootObjectClass- Class of the BusinessObjectEntry which ultimately contains this definitionotherObjectClass- other stuff required to complete validationtracer-ValidationTraceclass used to track what was being validated at the time of any problems discovered- See Also:
-
isValidateDataDictionaryEboReferences
public boolean isValidateDataDictionaryEboReferences() -
toString
-