org.webswing.model.s2c.ApplicationInfoMsg Maven / Gradle / Ivy
package org.webswing.model.s2c;
import org.webswing.model.Msg;
public class ApplicationInfoMsg implements Msg, Comparable {
private static final long serialVersionUID = -7176092462203716782L;
private String name;
private String url;
private byte[] base64Icon;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public byte[] getBase64Icon() {
return base64Icon;
}
public void setBase64Icon(byte[] base64Icon) {
this.base64Icon = base64Icon;
}
@Override
public int compareTo(ApplicationInfoMsg o) {
if (name != null && o != null && o.getName() != null) {
return name.toLowerCase().compareTo(o.getName().toLowerCase());
}
return 0;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
}