Class ExtractProperty

  • All Implemented Interfaces:
    Function<Element,​Object>

    public class ExtractProperty
    extends uk.gov.gchq.koryphe.function.KorypheFunction<Element,​Object>
    An ExtractProperty is a KorypheFunction for simplifying the process of extracting a property from an Element. If the Element is null, this will return null.
    • Constructor Detail

      • ExtractProperty

        public ExtractProperty()
      • ExtractProperty

        public ExtractProperty​(String name)
    • Method Detail

      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class uk.gov.gchq.koryphe.function.KorypheFunction<Element,​Object>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class uk.gov.gchq.koryphe.function.KorypheFunction<Element,​Object>
      • getName

        public String getName()
      • setName

        public void setName​(String name)