|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase org.kuali.rice.krad.datadictionary.AttributeDefinitionBase org.kuali.rice.krad.datadictionary.AttributeDefinition org.kuali.rice.krad.datadictionary.ExternalizableAttributeDefinitionProxy
public class ExternalizableAttributeDefinitionProxy
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.
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)
Directly validate simple fields, call completeValidation on Definition fields. |
ControlDefinition |
getControl()
|
String |
getDescription()
|
String |
getDisplayLabelAttribute()
|
Boolean |
getForceUppercase()
Indicates whether user entry should be converted to upper case |
String |
getFormatterClass()
|
String |
getLabel()
|
Integer |
getMaxLength()
Determines the maximum size of the field |
String |
getName()
|
String |
getShortLabel()
|
String |
getSourceAttributeName()
|
String |
getSourceExternalizableBusinessObjectInterface()
|
String |
getSummary()
|
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()
|
void |
setSourceAttributeName(String sourceAttributeName)
|
void |
setSourceExternalizableBusinessObjectInterface(String sourceClassName)
|
String |
toString()
|
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 |
---|
public ExternalizableAttributeDefinitionProxy()
Method Detail |
---|
public void setSourceExternalizableBusinessObjectInterface(String sourceClassName)
public String getSourceExternalizableBusinessObjectInterface()
public void setSourceAttributeName(String sourceAttributeName)
public String getSourceAttributeName()
public Boolean getForceUppercase()
AttributeDefinition
If 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.
getForceUppercase
in class AttributeDefinition
AttributeDefinition.getForceUppercase()
public String getName()
getName
in interface Constrainable
getName
in class AttributeDefinitionBase
AttributeDefinitionBase.getName()
public String getLabel()
getLabel
in class AttributeDefinitionBase
AttributeDefinitionBase.getLabel()
public String getShortLabel()
getShortLabel
in class AttributeDefinitionBase
AttributeDefinitionBase.getShortLabel()
public Integer getMaxLength()
LengthConstraint
The maximum size is used for data entry, data edit and display purposes.
getMaxLength
in interface LengthConstraint
getMaxLength
in class AttributeDefinition
AttributeDefinition.getMaxLength()
public boolean hasValidationPattern()
AttributeDefinition
hasValidationPattern
in class AttributeDefinition
AttributeDefinition.hasValidationPattern()
public ValidationPattern getValidationPattern()
AttributeDefinition
ValidationPattern 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 AttributeDefinition
AttributeDefinition.getValidationPattern()
public Boolean isRequired()
isRequired
in interface ExistenceConstraint
isRequired
in class AttributeDefinitionBase
AttributeDefinitionBase.isRequired()
public ControlDefinition getControl()
getControl
in class AttributeDefinition
AttributeDefinition.getControl()
public String getSummary()
getSummary
in class AttributeDefinitionBase
AttributeDefinitionBase.getSummary()
public String getDescription()
getDescription
in class AttributeDefinitionBase
AttributeDefinitionBase.getDescription()
public boolean hasFormatterClass()
hasFormatterClass
in class AttributeDefinition
AttributeDefinition.hasFormatterClass()
public String getFormatterClass()
getFormatterClass
in interface Formatable
getFormatterClass
in class AttributeDefinition
AttributeDefinition.getFormatterClass()
public String getDisplayLabelAttribute()
getDisplayLabelAttribute
in class AttributeDefinitionBase
AttributeDefinitionBase.getDisplayLabelAttribute()
public void completeValidation(Class rootObjectClass, Class otherObjectClass)
AttributeDefinition
completeValidation
in interface DataDictionaryDefinition
completeValidation
in class AttributeDefinition
rootObjectClass
- Class of the BusinessObjectEntry which ultimately contains this definitionotherObjectClass
- other stuff required to complete validationDataDictionaryEntry.completeValidation()
public String toString()
toString
in class AttributeDefinition
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |