org.richfaces.cdk.xmlconfig.model.DescriptionGroupBean Maven / Gradle / Ivy
The newest version!
package org.richfaces.cdk.xmlconfig.model;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.richfaces.cdk.model.ComponentLibrary;
import org.richfaces.cdk.model.DescriptionGroup;
@XmlType(name = "descriptionType", namespace = ComponentLibrary.FACES_CONFIG_NAMESPACE, propOrder = { "description",
"displayName", "icon" })
public class DescriptionGroupBean implements DescriptionGroup {
private String description;
private String displayname;
private Icon icon;
public DescriptionGroupBean() {
super();
}
/**
*
*
*
* @return the icon
*/
@XmlElement(name = "icon", namespace = ComponentLibrary.FACES_CONFIG_NAMESPACE)
public final Icon getIcon() {
return icon;
}
/**
*
*
*
* @param icon the icon to set
*/
public final void setIcon(Icon icon) {
this.icon = icon;
}
/**
*
*
*
* @return the description
*/
@XmlElement(name = "description", namespace = ComponentLibrary.FACES_CONFIG_NAMESPACE)
public final String getDescription() {
return description;
}
/**
*
*
*
* @param description the description to set
*/
public final void setDescription(String description) {
this.description = description;
}
/**
*
*
*
* @return the displayname
*/
@XmlElement(name = "display-name", namespace = ComponentLibrary.FACES_CONFIG_NAMESPACE)
public final String getDisplayName() {
return displayname;
}
/**
*
*
*
* @param displayname the displayname to set
*/
public final void setDisplayName(String displayname) {
this.displayname = displayname;
}
}