00001 00027 package org.objectweb.jonas_rar.deployment.api; 00028 00029 import java.io.Serializable; 00030 00031 import org.objectweb.jonas_rar.deployment.xml.Icon; 00032 00039 public class IconDesc implements Serializable { 00040 00044 private String smallIcon = null; 00045 00049 private String largeIcon = null; 00050 00051 00055 public IconDesc(Icon icon) { 00056 if (icon != null) { 00057 smallIcon = icon.getSmallIcon(); 00058 largeIcon = icon.getLargeIcon(); 00059 } 00060 } 00061 00066 public String getSmallIcon() { 00067 return smallIcon; 00068 } 00069 00074 public String getLargeIcon() { 00075 return largeIcon; 00076 } 00077 }