org.richfaces.cdk.xmlconfig.model.FunctionBean 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.annotations.TagType;
import org.richfaces.cdk.model.ClassName;
import org.richfaces.cdk.model.ComponentLibrary;
@XmlType(name = "functionType", namespace = ComponentLibrary.CDK_EXTENSIONS_NAMESPACE)
public class FunctionBean extends DescriptionGroupBean {
private String name;
private String signature;
private TagType type;
private ClassName functionClass;
/**
*
*
*
* @return the name
*/
@XmlElement(name = "function-name", namespace = ComponentLibrary.CDK_EXTENSIONS_NAMESPACE)
public String getName() {
return this.name;
}
/**
*
*
*
* @param name the name to set
*/
public void setName(String name) {
this.name = name;
}
/**
*
*
*
* @return the signature
*/
@XmlElement(name = "function-signature", namespace = ComponentLibrary.CDK_EXTENSIONS_NAMESPACE)
public String getSignature() {
return this.signature;
}
/**
*
*
*
* @param signature the signature to set
*/
public void setSignature(String signature) {
this.signature = signature;
}
/**
*
*
*
* @return the type
*/
public TagType getType() {
return this.type;
}
/**
*
*
*
* @param type the type to set
*/
public void setType(TagType type) {
this.type = type;
}
/**
*
*
*
* @return the functionClass
*/
@XmlElement(name = "function-class", namespace = ComponentLibrary.CDK_EXTENSIONS_NAMESPACE)
public ClassName getFunctionClass() {
return this.functionClass;
}
/**
*
*
*
* @param functionClass the functionClass to set
*/
public void setFunctionClass(ClassName functionClass) {
this.functionClass = functionClass;
}
}