Package com.nomagic.magicreport
Class Link
java.lang.Object
com.nomagic.magicreport.Link
- All Implemented Interfaces:
IVariable,Serializable
An bean represent a link object for template.
- Since:
- Jul 2, 2007
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOCALLINK
public static final int LOCALLINKIndicates the bookmark type is local link.- See Also:
-
HYPERLINK
public static final int HYPERLINKIndicates the bookmark type is hyper link.- See Also:
-
-
Constructor Details
-
Link
public Link()Create empty link. -
Link
Create link with url and name.- Parameters:
url- link urlname- link name
-
Link
Create link with url and name and type.- Parameters:
url- link urlname- link nametype- link type
-
-
Method Details
-
getUrl
Return a url.- Returns:
- the url
-
setUrl
Set a url.- Parameters:
url- the url to set
-
getName
Return a name.- Returns:
- the name
-
setName
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
-