public interface AttributeValueReader
| Modifier and Type | Method and Description |
|---|---|
AttributeValueReader |
clone() |
String |
getAttributeName()
This method is an accessor for the attribute name that is currently being processed by the DictionaryValidationService implementation.
|
List<String> |
getCleanSearchableValues(String attributeName)
A method to enable legacy processing of string representations of attribute values like a date range in the format
12/03/2001..1/29/2009
|
Constrainable |
getDefinition(String attributeName)
This method provides access to the constrainable attribute definition of a specific attribute name.
|
List<Constrainable> |
getDefinitions()
This method returns a list of all constrainable dictionary metadata definitions for attributes or fields encapsulated by this object.
|
Constrainable |
getEntry()
The dictionary metadata associated with an object (its "entry" in the dictionary) can also be constrainable, in which case the object
value itself can be validated against one or more constraints.
|
String |
getEntryName()
An entry name should be returned for the purposes of correcting looking up errors, which are generally found by entry name +
attribute name + error key.
|
String |
getLabel(String attributeName)
This method looks up a label for a specific attribute name.
|
Object |
getObject()
The underlying object itself (not the field/attribute value, but the object).
|
String |
getPath()
The path is a string representation of specifically which attribute (at some depth) is being accessed, for example, on a
person object there might be the following field path:
joe.home.mailingAddress.state
|
Class<?> |
getType(String attributeName)
The type of the attribute specified.
|
<X> X |
getValue()
A convenience method for looking up the attribute value that is currently being processed.
|
<X> X |
getValue(String attributeName)
A method for looking up any attribute value by name for the object being processed.
|
boolean |
isReadable()
Indicates whether the configured attribute name is readable for the object
|
void |
setAttributeName(String attributeName)
Setter for the current attribute that is being processed.
|
String getAttributeName()
Constrainable getDefinition(String attributeName)
attributeName - - the name of the attribute/field whose metadata is being requestedList<Constrainable> getDefinitions()
Constrainable getEntry()
String getEntryName()
String getLabel(String attributeName)
attributeName - Object getObject()
String getPath()
Class<?> getType(String attributeName)
attributeName - boolean isReadable()
<X> X getValue() throws AttributeValidationException
X - AttributeValidationException<X> X getValue(String attributeName) throws AttributeValidationException
X - attributeName - AttributeValidationExceptionList<String> getCleanSearchableValues(String attributeName) throws AttributeValidationException
attributeName - AttributeValidationExceptionvoid setAttributeName(String attributeName)
attributeName - AttributeValueReader clone()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.