All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anotheria.asg.util.bean.PagingLink Maven / Gradle / Ivy

There is a newer version: 4.3.0
Show newest version
package net.anotheria.asg.util.bean;

/**
 * A link in the presentation of paging.
 *
 * @author another
 * @version $Id: $Id
 */
public class PagingLink {
	/**
	 * Link to a page.
	 */
	private String link;
	/**
	 * Caption of a page.
	 */
	private String caption;
	
	/**
	 * 

Constructor for PagingLink.

* * @param aLink a {@link java.lang.String} object. * @param aCaption a {@link java.lang.String} object. */ public PagingLink(String aLink, String aCaption){ link = aLink; caption = aCaption; } /** *

Constructor for PagingLink.

* * @param aCaption a {@link java.lang.String} object. */ public PagingLink(String aCaption){ this(null, aCaption); } /** *

Getter for the field caption.

* * @return a {@link java.lang.String} object. */ public String getCaption() { return caption; } /** *

Setter for the field caption.

* * @param caption a {@link java.lang.String} object. */ public void setCaption(String caption) { this.caption = caption; } /** *

Getter for the field link.

* * @return a {@link java.lang.String} object. */ public String getLink() { return link; } /** *

Setter for the field link.

* * @param link a {@link java.lang.String} object. */ public void setLink(String link) { this.link = link; } /** *

isLinked.

* * @return a boolean. */ public boolean isLinked(){ return link != null && link.length()>0; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy