public class ExternalizableAttributeDefinitionProxy extends AttributeDefinition
additionalDisplayAttributeName, alternateDisplayAttributeName, attributeSecurity, cachedDerivedControl, caseConstraint, childEntryName, control, controlField, customValidatorClass, dependencyConstraints, dynamic, forceUppercase, formatterClass, mustOccurConstraints, propertyEditor, unique, validationPattern, validCharactersConstraintconstraintText, dataObjectAttribute, description, displayLabelAttribute, label, name, shortLabel, simpleConstraint, summaryembeddedDataObjectMetadata, generatedFromMetadata, idcomponentCode, namespaceCode| Constructor and Description |
|---|
ExternalizableAttributeDefinitionProxy()
Constructs an AttributeReferenceDefinition
|
| Modifier and Type | Method and Description |
|---|---|
void |
completeValidation(Class rootObjectClass,
Class otherObjectClass,
ValidationTrace tracer)
Directly validate simple fields, call completeValidation on Definition
fields.
|
ControlDefinition |
getControl() |
String |
getDescription()
The description element is used to provide a long description of the
attribute or collection.
|
String |
getDisplayLabelAttribute() |
Boolean |
getForceUppercase()
Indicates whether user entry should be converted to upper case
|
String |
getFormatterClass() |
String |
getLabel()
The label element is the field or collection name that will be shown on
inquiry and maintenance screens.
|
Integer |
getMaxLength()
Returns the maximum length for this field, if set.
|
String |
getName()
Name of the attribute
|
String |
getShortLabel() |
String |
getSourceAttributeName() |
String |
getSourceExternalizableBusinessObjectInterface() |
String |
getSummary()
The summary element is used to provide a short description of the
attribute or collection.
|
ValidationPattern |
getValidationPattern()
Defines the allowable character-level or
field-level values for an attribute
|
boolean |
hasFormatterClass() |
boolean |
hasValidationPattern()
Indicates whether a validation pattern has been set
|
Boolean |
isRequired()
The required element allows values of "true" or "false".
|
void |
setSourceAttributeName(String sourceAttributeName) |
void |
setSourceExternalizableBusinessObjectInterface(String sourceClassName) |
String |
toString() |
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, setValidCharactersConstraintgetConstraintText, getDataObjectAttribute, getDirectShortLabel, getSimpleConstraint, setConstraintText, setDataObjectAttribute, setDescription, setDisplayLabelAttribute, setLabel, setName, setRequired, setShortLabel, setSimpleConstraint, setSummarygetId, hasEmbeddedDataObjectMetadata, setEmbeddedDataObjectMetadata, setGeneratedFromMetadata, setId, wasGeneratedFromMetadataclone, copy, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentCode, getNamespaceCodepublic ExternalizableAttributeDefinitionProxy()
public void setSourceExternalizableBusinessObjectInterface(String sourceClassName)
public String getSourceExternalizableBusinessObjectInterface()
public void setSourceAttributeName(String sourceAttributeName)
public String getSourceAttributeName()
public Boolean getForceUppercase()
AttributeDefinitionIf 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.getForceUppercase in class AttributeDefinitionAttributeDefinition.getForceUppercase()public String getName()
AttributeDefinitionBasegetName in interface ConstrainablegetName in class AttributeDefinitionBaseAttributeDefinitionBase.getName()public String getLabel()
AttributeDefinitionBasegetLabel in class AttributeDefinitionBaseAttributeDefinitionBase.getLabel()public String getShortLabel()
getShortLabel in class AttributeDefinitionBaseAttributeDefinitionBase.getShortLabel()public Integer getMaxLength()
AttributeDefinitiongetMaxLength in class AttributeDefinitionAttributeDefinition.getMaxLength()public boolean hasValidationPattern()
AttributeDefinitionhasValidationPattern in class AttributeDefinitionAttributeDefinition.hasValidationPattern()public ValidationPattern getValidationPattern()
AttributeDefinitionValidationPattern 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.
getValidationPattern in class AttributeDefinitionAttributeDefinition.getValidationPattern()public Boolean isRequired()
AttributeDefinitionBaseisRequired in interface ExistenceConstraintisRequired in class AttributeDefinitionBaseAttributeDefinitionBase.isRequired()public ControlDefinition getControl()
getControl in class AttributeDefinitionAttributeDefinition.getControl()public String getSummary()
AttributeDefinitionBasegetSummary in class AttributeDefinitionBaseAttributeDefinitionBase.getSummary()public String getDescription()
AttributeDefinitionBasegetDescription in class AttributeDefinitionBaseAttributeDefinitionBase.getDescription()public boolean hasFormatterClass()
hasFormatterClass in class AttributeDefinitionAttributeDefinition.hasFormatterClass()public String getFormatterClass()
getFormatterClass in interface FormatablegetFormatterClass in class AttributeDefinitionAttributeDefinition.getFormatterClass()public String getDisplayLabelAttribute()
getDisplayLabelAttribute in class AttributeDefinitionBaseAttributeDefinitionBase.getDisplayLabelAttribute()public void completeValidation(Class rootObjectClass, Class otherObjectClass, ValidationTrace tracer)
AttributeDefinitioncompleteValidation in interface DataDictionaryDefinitioncompleteValidation in class AttributeDefinitionrootObjectClass - Class of the BusinessObjectEntry which ultimately contains this definitionotherObjectClass - other stuff required to complete validationtracer - ValidationTrace class used to track what was being validated at the time of any problems discoveredDataDictionaryEntry.completeValidation()public String toString()
toString in class ObjectObject.toString()Copyright © 2005–2015 The Kuali Foundation. All rights reserved.