org.richfaces.cdk.model.DescriptionGroup Maven / Gradle / Ivy
The newest version!
package org.richfaces.cdk.model;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
*
*
*
* @author [email protected]
*/
public interface DescriptionGroup {
/**
*
* Documentation description of that element.
*
*
* @return the description
*/
@XmlElement
@Merge
String getDescription();
/**
*
*
*
* @param description the description to set
*/
void setDescription(String description);
/**
*
*
*
* @return the displayname
*/
@XmlElement(name = "display-name")
@Merge
String getDisplayName();
/**
*
*
*
* @param displayname the displayname to set
*/
void setDisplayName(String displayname);
/**
*
*
*
* @return the icon
*/
@XmlElement
@Merge
Icon getIcon();
/**
*
*
*
* @param icon the icon to set
*/
void setIcon(Icon icon);
/**
*
*
*
* @author [email protected]
*/
@XmlType(name = "iconType", namespace = ComponentLibrary.FACES_CONFIG_NAMESPACE, propOrder = { "smallIcon", "largeIcon" })
public static final class Icon implements Serializable {
private String largeIcon;
private String smallIcon;
/**
*
*
*
* @return the smallIcon
*/
@XmlElement(name = "small-icon", namespace = ComponentLibrary.FACES_CONFIG_NAMESPACE)
public String getSmallIcon() {
return smallIcon;
}
/**
*
*
*
* @param smallIcon the smallIcon to set
*/
public void setSmallIcon(String smallIcon) {
this.smallIcon = smallIcon;
}
/**
*
*
*
* @return the largeIcon
*/
@XmlElement(name = "large-icon", namespace = ComponentLibrary.FACES_CONFIG_NAMESPACE)
public String getLargeIcon() {
return largeIcon;
}
/**
*
*
*
* @param largeIcon the largeIcon to set
*/
public void setLargeIcon(String largeIcon) {
this.largeIcon = largeIcon;
}
}
}