public class SortDefinition extends DataDictionaryDefinitionBase
| Modifier and Type | Field and Description | 
|---|---|
| protected List<String> | attributeNames | 
| protected boolean | sortAscending | 
id| Constructor and Description | 
|---|
| SortDefinition() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | completeValidation(Class rootBusinessObjectClass,
                                    Class otherBusinessObjectClass)Directly validate simple fields. | 
| List<String> | getAttributeNames() | 
| boolean | getSortAscending() | 
| void | setAttributeName(String attributeName)The sortAttribute element defines one part of the sort key. | 
| void | setAttributeNames(List<String> attributeNames)The sortAttributes element allows a multiple-part sort key
                      to be defined
                      JSTL: sortAttributes is a Map which is accessed using a
                      key of "sortAttributes". | 
| void | setSortAscending(boolean sortAscending) | 
| String | toString() | 
afterPropertiesSet, getId, setIdprotected boolean sortAscending
protected List<String> attributeNames
public SortDefinition()
public void setAttributeName(String attributeName)
IllegalArgumentException - if the given attributeName is blankpublic List<String> getAttributeNames()
public boolean getSortAscending()
public void setSortAscending(boolean sortAscending)
public void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
rootBusinessObjectClass - Class of the BusinessObjectEntry which ultimately contains this definitionotherBusinessObjectClass - other stuff required to complete validationorg.kuali.rice.krad.datadictionary.DataDictionaryDefinition#completeValidation(java.lang.Class, java.lang.Object)public String toString()
toString in class ObjectObject.toString()public void setAttributeNames(List<String> attributeNames)
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.