Class ExtractId
-
public class ExtractId extends uk.gov.gchq.koryphe.function.KorypheFunction<Element,Object>
AnExtractId
is aKorypheFunction
for simplifying the process of extracting the object associated with a providedIdentifierType
. If the Element is null, this will return null.
-
-
Constructor Summary
Constructors Constructor Description ExtractId()
ExtractId(IdentifierType id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
apply(Element element)
boolean
equals(Object obj)
IdentifierType
getId()
int
hashCode()
void
setId(IdentifierType id)
String
toString()
-
-
-
Constructor Detail
-
ExtractId
public ExtractId()
-
ExtractId
public ExtractId(IdentifierType id)
-
-
Method Detail
-
equals
public boolean equals(Object obj)
-
hashCode
public int hashCode()
-
getId
public IdentifierType getId()
-
setId
public void setId(IdentifierType id)
-
-