org.kuali.student.r2.common.datadictionary.util
Class MockAttributeValueReader

java.lang.Object
  extended by org.kuali.student.r2.common.datadictionary.util.MockAttributeValueReader
All Implemented Interfaces:
org.kuali.rice.krad.datadictionary.validation.AttributeValueReader

public class MockAttributeValueReader
extends Object
implements org.kuali.rice.krad.datadictionary.validation.AttributeValueReader


Constructor Summary
MockAttributeValueReader()
           
 
Method Summary
 org.kuali.rice.krad.datadictionary.validation.AttributeValueReader clone()
           
 String getAttributeName()
           
 List<String> getCleanSearchableValues(String attributeName)
           
 org.kuali.rice.krad.datadictionary.validation.capability.Constrainable getDefinition(String attributeName)
           
 List<org.kuali.rice.krad.datadictionary.validation.capability.Constrainable> getDefinitions()
           
 org.kuali.rice.krad.datadictionary.validation.capability.Constrainable getEntry()
           
 String getEntryName()
           
 String getLabel(String attributeName)
           
 Object getObject()
           
 String getPath()
           
 Class<?> getType(String attributeName)
           
<X> X
getValue()
           
<X> X
getValue(String attributeName)
           
 boolean isReadable()
           
 void setAttributeName(String attributeName)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockAttributeValueReader

public MockAttributeValueReader()
Method Detail

isReadable

public boolean isReadable()
Specified by:
isReadable in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader

getAttributeName

public String getAttributeName()
Specified by:
getAttributeName in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader

getCleanSearchableValues

public List<String> getCleanSearchableValues(String attributeName)
                                      throws org.kuali.rice.krad.datadictionary.exception.AttributeValidationException
Specified by:
getCleanSearchableValues in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader
Throws:
org.kuali.rice.krad.datadictionary.exception.AttributeValidationException

getDefinition

public org.kuali.rice.krad.datadictionary.validation.capability.Constrainable getDefinition(String attributeName)
Specified by:
getDefinition in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader

getDefinitions

public List<org.kuali.rice.krad.datadictionary.validation.capability.Constrainable> getDefinitions()
Specified by:
getDefinitions in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader

getEntry

public org.kuali.rice.krad.datadictionary.validation.capability.Constrainable getEntry()
Specified by:
getEntry in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader

getEntryName

public String getEntryName()
Specified by:
getEntryName in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader

getLabel

public String getLabel(String attributeName)
Specified by:
getLabel in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader

getObject

public Object getObject()
Specified by:
getObject in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader

getPath

public String getPath()
Specified by:
getPath in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader

getType

public Class<?> getType(String attributeName)
Specified by:
getType in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader

getValue

public <X> X getValue()
           throws org.kuali.rice.krad.datadictionary.exception.AttributeValidationException
Specified by:
getValue in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader
Throws:
org.kuali.rice.krad.datadictionary.exception.AttributeValidationException

getValue

public <X> X getValue(String attributeName)
           throws org.kuali.rice.krad.datadictionary.exception.AttributeValidationException
Specified by:
getValue in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader
Throws:
org.kuali.rice.krad.datadictionary.exception.AttributeValidationException

setAttributeName

public void setAttributeName(String attributeName)
Specified by:
setAttributeName in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader

clone

public org.kuali.rice.krad.datadictionary.validation.AttributeValueReader clone()
Specified by:
clone in interface org.kuali.rice.krad.datadictionary.validation.AttributeValueReader
Overrides:
clone in class Object


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