org.kuali.rice.core.api.criteria
Class OrderByField.Builder

java.lang.Object
  extended by org.kuali.rice.core.api.criteria.OrderByField.Builder
All Implemented Interfaces:
Serializable, ModelBuilder
Enclosing class:
OrderByField

public static final class OrderByField.Builder
extends Object
implements ModelBuilder, Serializable

See Also:
Serialized Form

Method Summary
 OrderByField build()
          Returns an instance of the object being built by this builder based on the current state of the builder.
static OrderByField.Builder create()
           
static OrderByField.Builder create(String fieldName, OrderDirection orderDirection)
           
 String getFieldName()
           
 OrderDirection getOrderDirection()
           
 void setFieldName(String fieldName)
           
 void setOrderDirection(OrderDirection orderDirection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static OrderByField.Builder create()

create

public static OrderByField.Builder create(String fieldName,
                                          OrderDirection orderDirection)

getOrderDirection

public OrderDirection getOrderDirection()

setOrderDirection

public void setOrderDirection(OrderDirection orderDirection)

getFieldName

public String getFieldName()

setFieldName

public void setFieldName(String fieldName)

build

public OrderByField build()
Description copied from interface: ModelBuilder
Returns an instance of the object being built by this builder based on the current state of the builder. It should be possible to invoke this method more than once on the same builder. It should never return null;

Specified by:
build in interface ModelBuilder
Returns:
an instance of the object being built by this builder, should never return null


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.