Package uk.gov.gchq.gaffer.rest.example
Class ExampleElementGenerator
- java.lang.Object
-
- uk.gov.gchq.gaffer.rest.example.ExampleElementGenerator
-
- All Implemented Interfaces:
Function<Iterable<? extends ExampleDomainObject>,Iterable<? extends Element>>
,ElementGenerator<ExampleDomainObject>
,OneToOneElementGenerator<ExampleDomainObject>
public class ExampleElementGenerator extends Object implements OneToOneElementGenerator<ExampleDomainObject>
-
-
Constructor Summary
Constructors Constructor Description ExampleElementGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Element
_apply(ExampleDomainObject obj)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface uk.gov.gchq.gaffer.data.generator.OneToOneElementGenerator
apply
-
-
-
-
Method Detail
-
_apply
public Element _apply(ExampleDomainObject obj)
- Specified by:
_apply
in interfaceOneToOneElementGenerator<ExampleDomainObject>
- Parameters:
obj
- the domain object to convert- Returns:
- the generated
Element
-
-