org.opencms.gwt.shared
Class CmsLinkBean

java.lang.Object
  extended by org.opencms.gwt.shared.CmsLinkBean

public class CmsLinkBean
extends java.lang.Object

A bean for representing a link, which can be external or internal.

Since:
8.0.0

Constructor Summary
CmsLinkBean(java.lang.String link, boolean internal)
          Creates a new link bean.
 
Method Summary
 java.lang.String getLink()
          Returns the link target.
 boolean isInternal()
          Returns true if this is an internal link.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsLinkBean

public CmsLinkBean(java.lang.String link,
                   boolean internal)
Creates a new link bean.

Parameters:
link - the link target
internal - true if this is an internal link
Method Detail

getLink

public java.lang.String getLink()
Returns the link target.

Returns:
the link target

isInternal

public boolean isInternal()
Returns true if this is an internal link.

Returns:
true if this is an internal link