package org.apache.struts.util;

import java.util.Map;

public class PagerEntry {
        
        protected String label = null;

        protected Map link = null;

        protected boolean isCurrent = false;

        public PagerEntry( String label, Map link ) {
                this.label = label;
                this.link = link;
        }

        public PagerEntry( String label, Map link, boolean isCurrent ) {
                this.label = label;
                this.link = link;
                this.isCurrent = isCurrent;
        }

        public String getLabel() {
                return label;
        }

        public Map getLink() {
                return link;
        }

        public boolean getIsCurrent() {
                return isCurrent;
        }
}