Class Link

java.lang.Object
com.nomagic.magicreport.Link
All Implemented Interfaces:
IVariable, Serializable

@OpenApiAll public class Link extends Object implements IVariable
An bean represent a link object for template.
Since:
Jul 2, 2007
See Also:
  • Field Details

  • Constructor Details

    • Link

      public Link()
      Create empty link.
    • Link

      public Link(String url, String name)
      Create link with url and name.
      Parameters:
      url - link url
      name - link name
    • Link

      public Link(String url, String name, int type)
      Create link with url and name and type.
      Parameters:
      url - link url
      name - link name
      type - link type
  • Method Details

    • getUrl

      public String getUrl()
      Return a url.
      Returns:
      the url
    • setUrl

      public void setUrl(String url)
      Set a url.
      Parameters:
      url - the url to set
    • getName

      public String getName()
      Return a name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Set a name.
      Parameters:
      name - the name to set
    • getType

      public int getType()
      Return a type.
      Returns:
      the type
    • setType

      public void setType(int type)
      Set a type.
      Parameters:
      type - the type to set