/**
*
*/
package org.opennaas.gui.vcpe.entities;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
/**
* @author Jordi
*
*/
public class Router {
@NotNull
@Size(min = 1, max = 25)
protected String name;
protected String templateName;
@Valid
protected List<Interface> interfaces;
/**
*
*/
public Router() {
}
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @param name
* the name to set
*/
public void setName(String name) {
this.name = name;
}
/**
* @return the interfaces
*/
public List<Interface> getInterfaces() {
return interfaces;
}
/**
* @param interfaces
* the interfaces to set
*/
public void setInterfaces(List<Interface> interfaces) {
this.interfaces = interfaces;
}
/**
* @return the templateName
*/
public String getTemplateName() {
return templateName;
}
/**
* @param templateName
* the templateName to set
*/
public void setTemplateName(String templateName) {
this.templateName = templateName;
}
}