|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.datadictionary.validation.BaseAttributeValueReader
public abstract class BaseAttributeValueReader
A class that implements the required accessors and legacy processing for an attribute value reader. This provides a convenient base class from which other attribute value readers can be derived.
| Field Summary | |
|---|---|
protected String |
attributeName
|
protected String |
entryName
|
| Constructor Summary | |
|---|---|
BaseAttributeValueReader()
|
|
| Method Summary | |
|---|---|
abstract AttributeValueReader |
clone()
overrides Object.clone() |
String |
getAttributeName()
acts as an accessor for the attribute name that is currently being processed by the DictionaryValidationService implementation |
List<String> |
getCleanSearchableValues(String attributeKey)
enables legacy processing of string representations of attribute values like a date range in the format 12/03/2001..1/29/2009 |
String |
getEntryName()
gets the entry name for the purposes of correct error look up |
void |
setAttributeName(String currentName)
Setter for the current attribute that is being processed |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader |
|---|
getDefinition, getDefinitions, getEntry, getLabel, getObject, getPath, getType, getValue, getValue, isReadable |
| Field Detail |
|---|
protected String entryName
protected String attributeName
| Constructor Detail |
|---|
public BaseAttributeValueReader()
| Method Detail |
|---|
public List<String> getCleanSearchableValues(String attributeKey)
throws AttributeValidationException
AttributeValueReader
getCleanSearchableValues in interface AttributeValueReaderattributeKey - - the attribute name
AttributeValidationExceptionpublic String getAttributeName()
AttributeValueReader
getAttributeName in interface AttributeValueReaderpublic void setAttributeName(String currentName)
AttributeValueReader
setAttributeName in interface AttributeValueReadercurrentName - the currentName to setpublic String getEntryName()
AttributeValueReaderErrors are generally found by entry name + attribute name + error key
getEntryName in interface AttributeValueReaderpublic abstract AttributeValueReader clone()
AttributeValueReaderObject.clone()
clone in interface AttributeValueReaderclone in class ObjectAttributeValueReader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||