Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.richfaces.validator.model;
 
 import java.util.List;
 
 
 import  com.google.common.collect.Lists;
 
 public class Component {
    private String type;
    private String function;
    private List<Resourceresource = Lists.newArrayList();

    

Returns:
the type
    @XmlElement
    public String getType() {
        return ;
    }

    

Parameters:
type the type to set
    public void setType(String type) {
        this. = type;
    }

    

Returns:
the function
    @XmlElement
    public String getFunction() {
        return ;
    }

    

Parameters:
function the function to set
    public void setFunction(String function) {
        this. = function;
    }

    

Returns:
the resource
    public List<ResourcegetResource() {
        return this.;
    }

    

Parameters:
resource the resource to set
    @XmlElement
    public void setResource(List<Resourceresource) {
        this. = resource;
    }
New to GrepCode? Check out our FAQ X