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.workplace.tools.modules; 029 030/** 031 * Bean used to hold all information required to add a new XmlContent based resource type.<p> 032 */ 033public class CmsResourceTypeInfoBean { 034 035 /** The big icon image. */ 036 private String m_bigIcon; 037 038 /** The description. */ 039 private String m_description; 040 041 /** The resource type id. */ 042 private int m_id; 043 044 /** The module name. */ 045 private String m_moduleName; 046 047 /** The resource type name. */ 048 private String m_name; 049 050 /** The nice name. */ 051 private String m_niceName; 052 053 /** The resource type schema. */ 054 private String m_schema; 055 056 /** The schema type name. */ 057 private String m_schemaTypeName; 058 059 /** The small icon image. */ 060 private String m_smallIcon; 061 062 /** The resource type title. */ 063 private String m_title; 064 065 /** 066 * Returns the big icon.<p> 067 * 068 * @return the big icon 069 */ 070 public String getBigIcon() { 071 072 return m_bigIcon; 073 } 074 075 /** 076 * Returns the description.<p> 077 * 078 * @return the description 079 */ 080 public String getDescription() { 081 082 return m_description; 083 } 084 085 /** 086 * Returns the id.<p> 087 * 088 * @return the id 089 */ 090 public int getId() { 091 092 return m_id; 093 } 094 095 /** 096 * Returns the module name.<p> 097 * 098 * @return the module name 099 */ 100 public String getModuleName() { 101 102 return m_moduleName; 103 } 104 105 /** 106 * Returns the name.<p> 107 * 108 * @return the name 109 */ 110 public String getName() { 111 112 return m_name; 113 } 114 115 /** 116 * Returns the nice name.<p> 117 * 118 * @return the nice name 119 */ 120 public String getNiceName() { 121 122 return m_niceName; 123 } 124 125 /** 126 * Returns the schema.<p> 127 * 128 * @return the schema 129 */ 130 public String getSchema() { 131 132 return m_schema; 133 } 134 135 /** 136 * Returns the schema type name.<p> 137 * 138 * @return the schema type name 139 */ 140 public String getSchemaTypeName() { 141 142 return m_schemaTypeName; 143 } 144 145 /** 146 * Returns the small icon.<p> 147 * 148 * @return the small icon 149 */ 150 public String getSmallIcon() { 151 152 return m_smallIcon; 153 } 154 155 /** 156 * Returns the title.<p> 157 * 158 * @return the title 159 */ 160 public String getTitle() { 161 162 return m_title; 163 } 164 165 /** 166 * Sets the big icon.<p> 167 * 168 * @param bigIcon the big icon to set 169 */ 170 public void setBigIcon(String bigIcon) { 171 172 m_bigIcon = bigIcon; 173 } 174 175 /** 176 * Sets the description.<p> 177 * 178 * @param description the description to set 179 */ 180 public void setDescription(String description) { 181 182 m_description = description; 183 } 184 185 /** 186 * Sets the id.<p> 187 * 188 * @param id the id to set 189 */ 190 public void setId(int id) { 191 192 m_id = id; 193 } 194 195 /** 196 * Sets the module name.<p> 197 * 198 * @param moduleName the module name to set 199 */ 200 public void setModuleName(String moduleName) { 201 202 m_moduleName = moduleName; 203 } 204 205 /** 206 * Sets the name.<p> 207 * 208 * @param name the name to set 209 */ 210 public void setName(String name) { 211 212 m_name = name; 213 } 214 215 /** 216 * Sets the nice name.<p> 217 * 218 * @param niceName the nice name to set 219 */ 220 public void setNiceName(String niceName) { 221 222 m_niceName = niceName; 223 } 224 225 /** 226 * Sets the schema.<p> 227 * 228 * @param schema the schema to set 229 */ 230 public void setSchema(String schema) { 231 232 m_schema = schema; 233 } 234 235 /** 236 * Sets the schema type name.<p> 237 * 238 * @param schemaTypeName the schema type name to set 239 */ 240 public void setSchemaTypeName(String schemaTypeName) { 241 242 m_schemaTypeName = schemaTypeName; 243 } 244 245 /** 246 * Sets the small icon.<p> 247 * 248 * @param smallIcon the small icon to set 249 */ 250 public void setSmallIcon(String smallIcon) { 251 252 m_smallIcon = smallIcon; 253 } 254 255 /** 256 * Sets the title.<p> 257 * 258 * @param title the title to set 259 */ 260 public void setTitle(String title) { 261 262 m_title = title; 263 } 264 265}