org.kuali.rice.kew.api.actionlist
Class DisplayParameters.Builder

java.lang.Object
  extended by org.kuali.rice.kew.api.actionlist.DisplayParameters.Builder
All Implemented Interfaces:
Serializable, ModelBuilder, DisplayParametersContract
Enclosing class:
DisplayParameters

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

A builder which can be used to construct DisplayParameters instances. Enforces the constraints of the DocumentContentContract.

See Also:
Serialized Form

Method Summary
 DisplayParameters build()
          Builds an instance of a DisplayParameters based on the current state of the builder.
static DisplayParameters.Builder create(DisplayParametersContract contract)
          Creates a builder by populating it with data from the given .
static DisplayParameters.Builder create(Integer frameHeight)
           
 Integer getFrameHeight()
           
 void setFrameHeight(Integer frameHeight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static DisplayParameters.Builder create(Integer frameHeight)

create

public static DisplayParameters.Builder create(DisplayParametersContract contract)
Creates a builder by populating it with data from the given .

Parameters:
contract - the contract from which to populate this builder
Returns:
an instance of the builder populated with data from the contract

build

public DisplayParameters build()
Builds an instance of a DisplayParameters based on the current state of the builder.

Specified by:
build in interface ModelBuilder
Returns:
the fully-constructed CampusType

getFrameHeight

public Integer getFrameHeight()
Specified by:
getFrameHeight in interface DisplayParametersContract

setFrameHeight

public void setFrameHeight(Integer frameHeight)


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