org.kuali.student.r2.common.datadictionary.util
Class MockAttributeValueReader
java.lang.Object
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
MockAttributeValueReader
public MockAttributeValueReader()
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.