org.jboss.dna.repository
Interface Configurator.PropertySetter<ReturnType>

Type Parameters:
ReturnType - the interface returned from these methods
Enclosing class:
Configurator<BuilderType>

public static interface Configurator.PropertySetter<ReturnType>

The interface used to set the value for a JavaBean-style property.

Author:
Randall Hauch
See Also:
Configurator.SetProperties.with(String)

Method Summary
 ReturnType setTo(boolean value)
          Set the property value to a boolean.
 ReturnType setTo(double value)
          Set the property value to a double.
 ReturnType setTo(float value)
          Set the property value to a float.
 ReturnType setTo(int value)
          Set the property value to an integer.
 ReturnType setTo(long value)
          Set the property value to a long number.
 ReturnType setTo(Object value)
          Set the property value to an object.
 ReturnType setTo(short value)
          Set the property value to a short.
 ReturnType setTo(String value)
          Set the property value to a string.
 

Method Detail

setTo

ReturnType setTo(int value)
Set the property value to an integer.

Parameters:
value - the new value for the property
Returns:
the next component to continue configuration; never null

setTo

ReturnType setTo(long value)
Set the property value to a long number.

Parameters:
value - the new value for the property
Returns:
the next component to continue configuration; never null

setTo

ReturnType setTo(short value)
Set the property value to a short.

Parameters:
value - the new value for the property
Returns:
the next component to continue configuration; never null

setTo

ReturnType setTo(boolean value)
Set the property value to a boolean.

Parameters:
value - the new value for the property
Returns:
the next component to continue configuration; never null

setTo

ReturnType setTo(float value)
Set the property value to a float.

Parameters:
value - the new value for the property
Returns:
the next component to continue configuration; never null

setTo

ReturnType setTo(double value)
Set the property value to a double.

Parameters:
value - the new value for the property
Returns:
the next component to continue configuration; never null

setTo

ReturnType setTo(String value)
Set the property value to a string.

Parameters:
value - the new value for the property
Returns:
the next component to continue configuration; never null

setTo

ReturnType setTo(Object value)
Set the property value to an object.

Parameters:
value - the new value for the property
Returns:
the next component to continue configuration; never null


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.