net.sf.staccatocommons.lang.value
Interface RelevantState.StateCollector

Enclosing class:
RelevantState<A>

public static interface RelevantState.StateCollector

An object for collecting the attributes of an object that are part of its relevant state

Author:
flbulgarelli

Method Summary
 RelevantState.StateCollector add(boolean attribute)
          Adds a boolean attribute to the object's state
 RelevantState.StateCollector add(int attribute)
          Adds an int attribute to the object's state
 RelevantState.StateCollector add(long attribute)
          Adds a long attribute to the object's state
 RelevantState.StateCollector add(Object attribute)
          Adds an attribute to the object's state
 

Method Detail

add

RelevantState.StateCollector add(Object attribute)
Adds an attribute to the object's state

Parameters:
attribute - an attribute to add to the relevant state
Returns:
this builder

add

RelevantState.StateCollector add(int attribute)
Adds an int attribute to the object's state

Parameters:
attribute - an attribute to add to the relevant state
Returns:
this builder

add

RelevantState.StateCollector add(long attribute)
Adds a long attribute to the object's state

Parameters:
attribute - an attribute to add to the relevant state
Returns:
this builder

add

RelevantState.StateCollector add(boolean attribute)
Adds a boolean attribute to the object's state

Parameters:
attribute - an attribute to add to the relevant state
Returns:
this builder


Copyright © 2010-2012 Staccatocommons. All Rights Reserved.