Class Person

    • Constructor Detail

      • Person

        public Person()
    • Method Detail

      • equals

        public boolean equals​(Object other)
        Indicates whether some other object is "equal to" this one as defined by the Object equals() method.

        Overrides:
        equals in class Object
        Parameters:
        other - he reference object with which to compare.
        Returns:
        true if 'this' object is equal to the 'other' object.
      • hashCode

        public int hashCode()
        Returns a hashcode value for the object.

        It follows the contract defined by the Object hashCode() method.

        Overrides:
        hashCode in class Object
        Returns:
        the hashcode of the bean object.
      • toString

        public String toString()
        Returns the String representation for the object.

        Overrides:
        toString in class Object
        Returns:
        String representation for the object.
      • getName

        public String getName()
        Returns the person name.

        Specified by:
        getName in interface SyndPerson
        Returns:
        the person name, null if none.
      • setName

        public void setName​(String name)
        Sets the personname.

        Specified by:
        setName in interface SyndPerson
        Parameters:
        name - the person name, null if none.
      • getUrl

        public String getUrl()
        Returns the person URL (same as getUri())

        Returns:
        the person URL, null if none.
      • setUriResolved

        public void setUriResolved​(String uriResolved)
      • getUriResolved

        public String getUriResolved​(String resolveURI)
      • getEmail

        public String getEmail()
        Returns the person email.

        Specified by:
        getEmail in interface SyndPerson
        Returns:
        the person email, null if none.
      • setEmail

        public void setEmail​(String email)
        Sets the person email.

        Specified by:
        setEmail in interface SyndPerson
        Parameters:
        email - the person email, null if none.
      • getUri

        public String getUri()
        Returns the uri

        Specified by:
        getUri in interface SyndPerson
        Returns:
        Returns the uri.
        Since:
        Atom 1.0
      • setUri

        public void setUri​(String uri)
        Set the uri

        Specified by:
        setUri in interface SyndPerson
        Parameters:
        uri - The uri to set.
        Since:
        Atom 1.0
      • getModules

        public List<Module> getModules()
        Returns the entry modules.

        Specified by:
        getModules in interface Extendable
        Returns:
        a list of ModuleImpl elements with the entry modules, an emtpy list if none.
      • setModules

        public void setModules​(List<Module> modules)
        Sets the entry modules.

        Specified by:
        setModules in interface Extendable
        Parameters:
        modules - the list of ModuleImpl elements with the entry modules to set, an empty list or null if none.
      • getModule

        public Module getModule​(String uri)
        Returns the module identified by a given URI.

        Specified by:
        getModule in interface Extendable
        Parameters:
        uri - the URI of the ModuleImpl.
        Returns:
        The module with the given URI, null if none.