Class SearchListDTO

  • All Implemented Interfaces:
    Serializable

    public class SearchListDTO
    extends Object
    implements Serializable

    Data transfer object for search objects

    Copyright 2010 (C) by Martin Ganserer

    Version:
    1.0.0
    Author:
    Martin Ganserer
    See Also:
    Serialized Form
    • Constructor Detail

      • SearchListDTO

        public SearchListDTO​(int id,
                             String name,
                             String viewName)
        Constructor
        Parameters:
        id -
        name -
        viewName -
    • Method Detail

      • getId

        public int getId()
        Returns:
        the ID
      • setId

        public void setId​(int id)
        Parameters:
        id - the id to set
      • getName

        public String getName()
        Returns:
        the name
      • setName

        public void setName​(String name)
        Parameters:
        name - the name to set
      • getViewName

        public String getViewName()
        Returns:
        the name of the view
      • setViewName

        public void setViewName​(String viewName)
        Parameters:
        viewName - the view name to set
      • getUserName

        public String getUserName()
        Returns:
        the user name
      • setUserName

        public void setUserName​(String userName)
        Parameters:
        userName -
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object