org.richfaces.validator.model.Component Maven / Gradle / Ivy
The newest version!
package org.richfaces.validator.model;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import com.google.common.collect.Lists;
public class Component {
private String type;
private String function;
private List resource = Lists.newArrayList();
/**
* @return the type
*/
@XmlElement
public String getType() {
return type;
}
/**
* @param type the type to set
*/
public void setType(String type) {
this.type = type;
}
/**
* @return the function
*/
@XmlElement
public String getFunction() {
return function;
}
/**
* @param function the function to set
*/
public void setFunction(String function) {
this.function = function;
}
/**
*
*
*
* @return the resource
*/
public List getResource() {
return this.resource;
}
/**
*
*
*
* @param resource the resource to set
*/
@XmlElement
public void setResource(List resource) {
this.resource = resource;
}
}