Class DomainObjectConverterMethod

  • All Implemented Interfaces:
    io.polygenesis.abstraction.thing.FunctionProvider

    public class DomainObjectConverterMethod
    extends Object
    implements io.polygenesis.abstraction.thing.FunctionProvider
    The type Domain object converter method.
    Author:
    Christos Tsakostas
    • Constructor Detail

      • DomainObjectConverterMethod

        public DomainObjectConverterMethod​(io.polygenesis.abstraction.thing.Function function,
                                           Object from,
                                           Object to)
        Instantiates a new Domain object converter method.
        Parameters:
        function - the function
        from - the from
        to - the to
    • Method Detail

      • getFunction

        public io.polygenesis.abstraction.thing.Function getFunction()
        Gets function.
        Specified by:
        getFunction in interface io.polygenesis.abstraction.thing.FunctionProvider
        Returns:
        the function
      • getFrom

        public Object getFrom()
        Gets from.
        Returns:
        the from
      • getTo

        public Object getTo()
        Gets to.
        Returns:
        the to
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object