|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 AttributeValueReader
attributeKey
- - the attribute name
AttributeValidationException
public String getAttributeName()
AttributeValueReader
getAttributeName
in interface AttributeValueReader
public void setAttributeName(String currentName)
AttributeValueReader
setAttributeName
in interface AttributeValueReader
currentName
- the currentName to setpublic String getEntryName()
AttributeValueReader
Errors are generally found by entry name + attribute name + error key
getEntryName
in interface AttributeValueReader
public abstract AttributeValueReader clone()
AttributeValueReader
Object.clone()
clone
in interface AttributeValueReader
clone
in class Object
AttributeValueReader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |