org.jage.platform.component.builder
Class MapBuilder.MapValue

java.lang.Object
  extended by org.jage.platform.component.builder.MapBuilder.MapValue
Enclosing class:
MapBuilder

public final class MapBuilder.MapValue
extends Object


Constructor Summary
MapBuilder.MapValue()
           
 
Method Summary
 MapBuilder value(Class<?> type, String stringValue)
          Specifies the value of the item being added.
 MapBuilder value(String stringValue)
          Specifies the value of the item being added.
 MapBuilder valueRef(String targetName)
          Specifies the value of the item being added.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapBuilder.MapValue

public MapBuilder.MapValue()
Method Detail

value

public MapBuilder value(Class<?> type,
                        String stringValue)
Specifies the value of the item being added.

Parameters:
type - The value's type.
stringValue - The value's string value.
Returns:
This builder.

value

public MapBuilder value(String stringValue)
Specifies the value of the item being added. The value's type will be inferred from the definition.

Parameters:
stringValue - The value's string value.
Returns:
This builder.

valueRef

public MapBuilder valueRef(String targetName)
Specifies the value of the item being added.

Parameters:
targetName - The value target component's name.
Returns:
This builder.


Copyright © 2006-2011 AGH University of Science and Technology. All Rights Reserved.