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

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

public final class MapBuilder.MapKey
extends Object


Constructor Summary
MapBuilder.MapKey()
           
 
Method Summary
 MapBuilder.MapValue key(Class<?> type, String stringValue)
          Specifies the key of the item being added.
 MapBuilder.MapValue key(String stringValue)
          Specifies the key of the item being added.
 MapBuilder.MapValue keyRef(String targetName)
          Specifies the key 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.MapKey

public MapBuilder.MapKey()
Method Detail

key

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

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

key

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

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

keyRef

public MapBuilder.MapValue keyRef(String targetName)
Specifies the key of the item being added.

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


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