Class Link

    • Constructor Detail

      • Link

        public Link​(String id,
                    String href,
                    String type,
                    Boolean blank,
                    String text,
                    String description)
        Instantiates a new link.
        Parameters:
        id - the id
        href - the href
        type - the type
        blank - specified whether to open the link in a blank target (default is false)
        text - the text
        description - the description
    • Method Detail

      • getId

        public String getId()
        Gets id.
        Returns:
        the id
      • setId

        public void setId​(String id)
        Sets id.
        Parameters:
        id - the id
      • getHref

        @NotBlank
        public @NotBlank String getHref()
        The URI.
        Returns:
        href href
      • setHref

        public void setHref​(String href)
        Sets href.
        Parameters:
        href - the href
      • getType

        public String getType()
        The type.
        Returns:
        type type
      • setType

        public void setType​(String type)
        Sets type.
        Parameters:
        type - the type
      • getBlank

        public Boolean getBlank()
        Specified whether to open the link in a blank target (default is false).
        Returns:
        the blank
      • setBlank

        public void setBlank​(Boolean blank)
        Specified whether to open the link in a blank target (default is false).
        Parameters:
        blank - the blank
      • getText

        public String getText()
        The link text.
        Returns:
        text text
      • setText

        public void setText​(String text)
        Sets text.
        Parameters:
        text - the text
      • getDescription

        public String getDescription()
        A short description.
        Returns:
        description description
      • setDescription

        public void setDescription​(String description)
        Sets description.
        Parameters:
        description - the description