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.  
protected  Map<String,PropertyDescriptor> beanInfo
          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. This method provides access to the constrainable attribute definition of a specific attribute name.
 List<Constrainable> getDefinitions()
          Deprecated. This method returns a list of all constrainable dictionary metadata definitions for attributes or fields encapsulated by this object.
 String getLabel(String attributeName)
          Deprecated. This method looks up a label for a specific attribute name.
 Class<?> getType(String attributeName)
          Deprecated. The type of the attribute specified.
<X> X
getValue(String attributeName)
          Deprecated. A method for looking 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
 
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. 

beanInfo

protected Map<String,PropertyDescriptor> beanInfo
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
This method 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
This method returns 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
This method looks up a label for a specific attribute name.

Specified by:
getLabel in interface AttributeValueReader
Overrides:
getLabel in class DictionaryObjectAttributeValueReader
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
The type of the attribute specified. A Java class.

Specified by:
getType in interface AttributeValueReader
Overrides:
getType in class DictionaryObjectAttributeValueReader
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
A method for looking up any attribute value by name for the object being processed.

Specified by:
getValue in interface AttributeValueReader
Overrides:
getValue in class DictionaryObjectAttributeValueReader
Returns:
Throws:
AttributeValidationException
See Also:
AttributeValueReader.getValue(java.lang.String)


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