Interface ClassBasedPropertyBuilder<P,T extends ClassBasedPropertyBuilder<P,T>>
-
- All Superinterfaces:
Builder<P>
,CheckedBuilder<P,IllegalArgumentException>
,Mutable
,MutationBehaviour<Mutable>
public interface ClassBasedPropertyBuilder<P,T extends ClassBasedPropertyBuilder<P,T>> extends Builder<P>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <V> V
get(Class<V> type)
Gets a value of property based on its type.<V> T
set(Class<V> type, V value)
Sets a value of property uniquely identified by its class.
-
-
-
Method Detail
-
set
<V> T set(Class<V> type, V value)
Sets a value of property uniquely identified by its class.- Type Parameters:
V
- value type- Parameters:
type
- Type of property to setvalue
- Value of property- Returns:
- Builder instance
-
get
<V> V get(Class<V> type)
Gets a value of property based on its type.- Type Parameters:
V
- value type- Parameters:
type
- Type of property to get- Returns:
- Builder instance
-
-