IndexingItemBuilder.FieldOrValue

public static class IndexingItemBuilder.FieldOrValue extends Object

Construct to specify an actual field value or pointer to a key within the key/values map.

Public Method Summary

boolean
equals(Object other)
int
String
toString()
Gets a string suitable for unit tests.
static <T> FieldOrValue<T>
withField(String field)
Looks up value for the property from setValues(Multimap) for the given field.
static <T> FieldOrValue<T>
withValue(T value)
Uses the provided value for the property.

Inherited Method Summary

Public Methods

public boolean equals (Object other)

Parameters
other

public int hashCode ()

public String toString ()

Gets a string suitable for unit tests.

public static FieldOrValue<T> withField (String field)

Looks up value for the property from setValues(Multimap) for the given field.

Parameters
field the key to lookup from setValues(Multimap)
Returns

public static FieldOrValue<T> withValue (T value)

Uses the provided value for the property.

Parameters
value the value for the property
Returns