Class SyndLinkImpl

    • Constructor Detail

      • SyndLinkImpl

        public SyndLinkImpl()
    • 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.

        Specified by:
        equals in interface SyndLink
        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.

        Specified by:
        hashCode in interface SyndLink
        Overrides:
        hashCode in class Object
        Returns:
        the hashcode of the bean object.
      • toString

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

        Specified by:
        toString in interface SyndLink
        Overrides:
        toString in class Object
        Returns:
        String representation for the object.
      • getRel

        public String getRel()
        Returns the link rel.

        Specified by:
        getRel in interface SyndLink
        Returns:
        the link rel, null if none.
      • setRel

        public void setRel​(String rel)
        Sets the link rel.

        Specified by:
        setRel in interface SyndLink
        Parameters:
        rel - the link rel,, null if none.
      • getType

        public String getType()
        Returns the link type.

        Specified by:
        getType in interface SyndLink
        Returns:
        the link type, null if none.
      • setType

        public void setType​(String type)
        Sets the link type.

        Specified by:
        setType in interface SyndLink
        Parameters:
        type - the link type, null if none.
      • getHref

        public String getHref()
        Returns the link href.

        Specified by:
        getHref in interface SyndLink
        Returns:
        the link href, null if none.
      • setHref

        public void setHref​(String href)
        Sets the link href.

        Specified by:
        setHref in interface SyndLink
        Parameters:
        href - the link href, null if none.
      • getTitle

        public String getTitle()
        Returns the link title.

        Specified by:
        getTitle in interface SyndLink
        Returns:
        the link title, null if none.
      • setTitle

        public void setTitle​(String title)
        Sets the link title.

        Specified by:
        setTitle in interface SyndLink
        Parameters:
        title - the link title, null if none.
      • getHreflang

        public String getHreflang()
        Returns the hreflang

        Specified by:
        getHreflang in interface SyndLink
        Returns:
        Returns the hreflang.
      • setHreflang

        public void setHreflang​(String hreflang)
        Set the hreflang

        Specified by:
        setHreflang in interface SyndLink
        Parameters:
        hreflang - The hreflang to set.
      • getLength

        public long getLength()
        Returns the length

        Specified by:
        getLength in interface SyndLink
        Returns:
        Returns the length.
      • setLength

        public void setLength​(long length)
        Set the length

        Specified by:
        setLength in interface SyndLink
        Parameters:
        length - The length to set.