|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.DictionaryBeanBase 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, forceUppercase, formatterClass, lookupContextPath, lookupDefinition, mustOccurConstraints, propertyEditor, unique, validationPattern, validCharactersConstraint |
Fields inherited from class org.kuali.rice.krad.datadictionary.AttributeDefinitionBase |
---|
constraintText, description, displayLabelAttribute, label, name, shortLabel, simpleConstraint, 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()
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()
|
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()
|
Methods inherited from class org.kuali.rice.krad.datadictionary.AttributeDefinitionBase |
---|
getConstraintText, getDirectShortLabel, getSimpleConstraint, setConstraintText, setDescription, setDisplayLabelAttribute, setLabel, setName, setRequired, setShortLabel, setSimpleConstraint, setSummary |
Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase |
---|
getId, setId |
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
copy, copyProperties, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean |
---|
getComponentCode, getNamespaceCode |
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()
AttributeDefinitionBase
getName
in interface Constrainable
getName
in class AttributeDefinitionBase
AttributeDefinitionBase.getName()
public String getLabel()
AttributeDefinitionBase
getLabel
in class AttributeDefinitionBase
AttributeDefinitionBase.getLabel()
public String getShortLabel()
getShortLabel
in class AttributeDefinitionBase
AttributeDefinitionBase.getShortLabel()
public Integer getMaxLength()
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()
AttributeDefinitionBase
isRequired
in interface ExistenceConstraint
isRequired
in class AttributeDefinitionBase
AttributeDefinitionBase.isRequired()
public ControlDefinition getControl()
getControl
in class AttributeDefinition
AttributeDefinition.getControl()
public String getSummary()
AttributeDefinitionBase
getSummary
in class AttributeDefinitionBase
AttributeDefinitionBase.getSummary()
public String getDescription()
AttributeDefinitionBase
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 |