org.kuali.rice.kns.datadictionary.validation
Class MaintenanceDocumentAttributeValueReader

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.validation.BaseAttributeValueReader
      extended by org.kuali.rice.krad.datadictionary.validation.DictionaryObjectAttributeValueReader
          extended by org.kuali.rice.kns.datadictionary.validation.MaintenanceDocumentAttributeValueReader
All Implemented Interfaces:
AttributeValueReader

Deprecated. As of release 2.0

@Deprecated
public class MaintenanceDocumentAttributeValueReader
extends DictionaryObjectAttributeValueReader

This class provides legacy processing for maintenance documents in the dictionary validation service implementation.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
protected  Map<String,Class<?>> attributeTypeMap
          Deprecated.  
protected  Map<String,Object> attributeValueMap
          Deprecated.  
 
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.DictionaryObjectAttributeValueReader
beanWrapper, entry, object
 
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.BaseAttributeValueReader
attributeName, entryName
 
Constructor Summary
MaintenanceDocumentAttributeValueReader(Object object, String entryName, MaintenanceDocumentEntry entry, PersistenceStructureService persistenceStructureService)
          Deprecated.  
 
Method Summary
 Constrainable getDefinition(String attributeName)
          Deprecated. provides access to the constrainable attribute definition of a specific attribute name
 List<Constrainable> getDefinitions()
          Deprecated. gets a list of all constrainable dictionary metadata definitions for attributes or fields encapsulated by this object
 String getLabel(String attributeName)
          Deprecated. looks up a label for a specific attribute name
 Class<?> getType(String attributeName)
          Deprecated. gets the type of the attribute specified - A Java class
<X> X
getValue(String attributeName)
          Deprecated. looks up any attribute value by name for the object being processed
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.DictionaryObjectAttributeValueReader
clone, getEntry, getObject, getPath, getValue, isNestedAttribute, isParentAttributeNull, isReadable
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.BaseAttributeValueReader
getAttributeName, getCleanSearchableValues, getEntryName, setAttributeName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributeTypeMap

protected Map<String,Class<?>> attributeTypeMap
Deprecated. 

attributeValueMap

protected Map<String,Object> attributeValueMap
Deprecated. 
Constructor Detail

MaintenanceDocumentAttributeValueReader

public MaintenanceDocumentAttributeValueReader(Object object,
                                               String entryName,
                                               MaintenanceDocumentEntry entry,
                                               PersistenceStructureService persistenceStructureService)
Deprecated. 
Method Detail

getDefinition

public Constrainable getDefinition(String attributeName)
Deprecated. 
Description copied from interface: AttributeValueReader
provides access to the constrainable attribute definition of a specific attribute name

If the value of the metadata associated with the object field does not implement constrainable, or if no metadata is associated with this object field, then null should be returned.

Specified by:
getDefinition in interface AttributeValueReader
Overrides:
getDefinition in class DictionaryObjectAttributeValueReader
Parameters:
attributeName - - the name of the attribute/field whose metadata is being requested
Returns:
dictionary metadata object implementing some constrainable capability
See Also:
AttributeValueReader.getDefinition(java.lang.String)

getDefinitions

public List<Constrainable> getDefinitions()
Deprecated. 
Description copied from interface: AttributeValueReader
gets a list of all constrainable dictionary metadata definitions for attributes or fields encapsulated by this object

Specified by:
getDefinitions in interface AttributeValueReader
Overrides:
getDefinitions in class DictionaryObjectAttributeValueReader
Returns:
a list of constrainable definitions
See Also:
AttributeValueReader.getDefinitions()

getLabel

public String getLabel(String attributeName)
Deprecated. 
Description copied from interface: AttributeValueReader
looks up a label for a specific attribute name

Specified by:
getLabel in interface AttributeValueReader
Overrides:
getLabel in class DictionaryObjectAttributeValueReader
Parameters:
attributeName - - the name of attribute
Returns:
some descriptive label that can be exposed to the end user for error messages

getType

public Class<?> getType(String attributeName)
Deprecated. 
Description copied from interface: AttributeValueReader
gets the type of the attribute specified - A Java class

Specified by:
getType in interface AttributeValueReader
Overrides:
getType in class DictionaryObjectAttributeValueReader
Parameters:
attributeName - - the name of attribute
Returns:
the type of the attribute referenced by the passed name, or null if no attribute exists of that name
See Also:
AttributeValueReader.getType(java.lang.String)

getValue

public <X> X getValue(String attributeName)
           throws AttributeValidationException
Deprecated. 
Description copied from interface: AttributeValueReader
looks up any attribute value by name for the object being processed

Specified by:
getValue in interface AttributeValueReader
Overrides:
getValue in class DictionaryObjectAttributeValueReader
Type Parameters:
X - - the type of the attribute
Parameters:
attributeName - - the name of attribute whose value is looked up
Returns:
- the attribute's value if found, null if not
Throws:
AttributeValidationException
See Also:
AttributeValueReader.getValue(java.lang.String)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.