org.kuali.rice.core.api.uif
Class RemotableSelectGroup.Builder

java.lang.Object
  extended by org.kuali.rice.core.api.uif.RemotableSelectGroup.Builder
All Implemented Interfaces:
ModelBuilder, KeyLabeled, RemotableSelectGroupContract
Enclosing class:
RemotableSelectGroup

public static final class RemotableSelectGroup.Builder
extends Object
implements RemotableSelectGroupContract, ModelBuilder


Method Summary
 RemotableSelectGroup build()
          Returns an instance of the object being built by this builder based on the current state of the builder.
static RemotableSelectGroup.Builder create(Map<String,String> keyLabels, String label)
           
 Map<String,String> getKeyLabels()
          The key-label pairs to display on the control.
 String getLabel()
          The label for the select group select group.
 void setKeyLabels(Map<String,String> keyLabels)
           
 void setLabel(String label)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static RemotableSelectGroup.Builder create(Map<String,String> keyLabels,
                                                  String label)

getLabel

public String getLabel()
Description copied from interface: RemotableSelectGroupContract
The label for the select group select group. Cannot be null or blank.

Specified by:
getLabel in interface RemotableSelectGroupContract
Returns:
the label

setLabel

public void setLabel(String label)

getKeyLabels

public Map<String,String> getKeyLabels()
Description copied from interface: KeyLabeled
The key-label pairs to display on the control. This field cannot be null or an empty map.

Specified by:
getKeyLabels in interface KeyLabeled
Returns:
a map containing values.

setKeyLabels

public void setKeyLabels(Map<String,String> keyLabels)

build

public RemotableSelectGroup 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.