001/* 002 * This library is part of OpenCms - 003 * the Open Source Content Management System 004 * 005 * Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com) 006 * 007 * This library is free software; you can redistribute it and/or 008 * modify it under the terms of the GNU Lesser General Public 009 * License as published by the Free Software Foundation; either 010 * version 2.1 of the License, or (at your option) any later version. 011 * 012 * This library is distributed in the hope that it will be useful, 013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 015 * Lesser General Public License for more details. 016 * 017 * For further information about Alkacon Software, please see the 018 * company website: http://www.alkacon.com 019 * 020 * For further information about OpenCms, please see the 021 * project website: http://www.opencms.org 022 * 023 * You should have received a copy of the GNU Lesser General Public 024 * License along with this library; if not, write to the Free Software 025 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 026 */ 027 028package org.opencms.jsp; 029 030import org.opencms.gwt.shared.I_CmsContentLoadCollectorInfo; 031 032/** 033 * Bean containing the data needed to call a collector.<p> 034 */ 035public class CmsContentLoadCollectorInfo implements I_CmsContentLoadCollectorInfo { 036 037 /** The collector name. */ 038 private String m_collectorName; 039 040 /** The collector class. */ 041 private String m_collectorClass; 042 043 /** The collector parameters. */ 044 private String m_collectorParams; 045 046 /** The contentload id. */ 047 private String m_id; 048 049 /** 050 * Creates a new instance.<p> 051 */ 052 public CmsContentLoadCollectorInfo() { 053 054 // do nothing 055 } 056 057 /** 058 * @see org.opencms.gwt.shared.I_CmsContentLoadCollectorInfo#getCollectorClass() 059 */ 060 public String getCollectorClass() { 061 062 return m_collectorClass; 063 } 064 065 /** 066 * @see org.opencms.gwt.shared.I_CmsContentLoadCollectorInfo#getCollectorName() 067 */ 068 @Override 069 public String getCollectorName() { 070 071 return m_collectorName; 072 } 073 074 /** 075 * @see org.opencms.gwt.shared.I_CmsContentLoadCollectorInfo#getCollectorParams() 076 */ 077 @Override 078 public String getCollectorParams() { 079 080 return m_collectorParams; 081 } 082 083 /** 084 * Returns the id.<p> 085 * 086 * @return the id 087 */ 088 public String getId() { 089 090 return m_id; 091 } 092 093 /** 094 * @see org.opencms.gwt.shared.I_CmsContentLoadCollectorInfo#setCollectorClass(java.lang.String) 095 */ 096 public void setCollectorClass(final String className) { 097 098 m_collectorClass = className; 099 100 } 101 102 /** 103 * @see org.opencms.gwt.shared.I_CmsContentLoadCollectorInfo#setCollectorName(java.lang.String) 104 */ 105 @Override 106 public void setCollectorName(String collectorName) { 107 108 m_collectorName = collectorName; 109 } 110 111 /** 112 * @see org.opencms.gwt.shared.I_CmsContentLoadCollectorInfo#setCollectorParams(java.lang.String) 113 */ 114 @Override 115 public void setCollectorParams(String collectorParams) { 116 117 m_collectorParams = collectorParams; 118 } 119 120 /** 121 * Sets the id.<p> 122 * 123 * @param id the id to set 124 */ 125 public void setId(String id) { 126 127 m_id = id; 128 } 129 130}