Class PropertiesTuple
- java.lang.Object
 - 
- uk.gov.gchq.gaffer.data.element.function.PropertiesTuple
 
 
- 
- All Implemented Interfaces:
 Serializable,Iterable<Object>,uk.gov.gchq.koryphe.tuple.Tuple<String>
public class PropertiesTuple extends Object implements uk.gov.gchq.koryphe.tuple.Tuple<String>, Serializable
APropertiesTupleimplementsTuplewrapping aPropertiesand providing a getter and setter for the element's property values. This class allows Properties to be used with the function module whilst minimising dependencies.- See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringPROPERTIES 
- 
Constructor Summary
Constructors Constructor Description PropertiesTuple()PropertiesTuple(Properties properties) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Objectget(String propertyName)PropertiesgetProperties()inthashCode()voidput(String propertyName, Object value)voidsetProperties(Properties properties)StringtoString()Iterable<Object>values()- 
Methods inherited from interface java.lang.Iterable
forEach, spliterator 
 - 
 
 - 
 
- 
- 
Field Detail
- 
PROPERTIES
public static final String PROPERTIES
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
PropertiesTuple
public PropertiesTuple()
 
- 
PropertiesTuple
public PropertiesTuple(Properties properties)
 
 - 
 
- 
Method Detail
- 
get
public Object get(String propertyName)
- Specified by:
 getin interfaceuk.gov.gchq.koryphe.tuple.Tuple<String>
 
- 
values
public Iterable<Object> values()
- Specified by:
 valuesin interfaceuk.gov.gchq.koryphe.tuple.Tuple<String>
 
- 
put
public void put(String propertyName, Object value)
- Specified by:
 putin interfaceuk.gov.gchq.koryphe.tuple.Tuple<String>
 
- 
getProperties
public Properties getProperties()
 
- 
setProperties
public void setProperties(Properties properties)
 
 - 
 
 -