001: /*
002: * Copyright 2001-2006 C:1 Financial Services GmbH
003: *
004: * This software is free software; you can redistribute it and/or
005: * modify it under the terms of the GNU Lesser General Public
006: * License Version 2.1, as published by the Free Software Foundation.
007: *
008: * This software is distributed in the hope that it will be useful,
009: * but WITHOUT ANY WARRANTY; without even the implied warranty of
010: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
011: * Lesser General Public License for more details.
012: *
013: * You should have received a copy of the GNU Lesser General Public
014: * License along with this library; if not, write to the Free Software
015: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
016: */
017:
018: package de.finix.contelligent.xml.elements;
019:
020: import java.util.LinkedList;
021: import java.util.List;
022:
023: /**
024: * <code>TypeMetainfoElement</code> contains meta information about a specific
025: * type.
026: */
027: public class TypeMetainfoElement {
028: private String icon;
029:
030: private String gui;
031:
032: private boolean needsSecureTransfer = false;
033:
034: private String renderer;
035:
036: private String content;
037:
038: private List descriptionElementList = new LinkedList();
039:
040: public void setIcon(String icon) {
041: this .icon = icon;
042: }
043:
044: public String getIcon() {
045: return icon;
046: }
047:
048: public void setGui(String gui) {
049: this .gui = gui;
050: }
051:
052: public String getGui() {
053: return gui;
054: }
055:
056: public String getRenderer() {
057: return renderer;
058: }
059:
060: public void setRenderer(String renderer) {
061: this .renderer = renderer;
062: }
063:
064: public String getContent() {
065: return content;
066: }
067:
068: public void setContent(String content) {
069: this .content = content;
070: }
071:
072: public void setNeedsSecureTransfer(String needsSecureTransfer) {
073: this .needsSecureTransfer = Boolean.valueOf(needsSecureTransfer)
074: .booleanValue();
075: }
076:
077: public void setNeedsSecureTransfer(boolean needsSecureTransfer) {
078: this .needsSecureTransfer = needsSecureTransfer;
079: }
080:
081: public String getNeedsSecureTransfer() {
082: return String.valueOf(needsSecureTransfer);
083: }
084:
085: public boolean needsSecureTransfer() {
086: return needsSecureTransfer;
087: }
088:
089: public void addDescriptionElement(
090: DescriptionElement typeDescriptionElement) {
091: descriptionElementList.add(typeDescriptionElement);
092: }
093:
094: public List getDescriptionElementList() {
095: return descriptionElementList;
096: }
097:
098: public void setDescriptionElementList(List descriptionList) {
099: this.descriptionElementList = descriptionList;
100: }
101:
102: }
|