/** * Copyright 2011 Intuit Inc. All Rights Reserved */ package com.intuit.tank.api.model.v1.filter; /* * #%L * Filter Rest Api * %% * Copyright (C) 2011 - 2015 Intuit Inc. * %% * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * #L% */ import java.io.Serializable; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import org.apache.commons.lang3.builder.ToStringBuilder; /** * ProjectAggregate * * @author dangleton * */ @XmlRootElement(name = "filter", namespace = Namespace.NAMESPACE_V1) @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Filter", namespace = Namespace.NAMESPACE_V1, propOrder = { "id", "name", "productName" }) public class FilterTO implements Serializable { private static final long serialVersionUID = 1L; @XmlElement(name = "id", namespace = Namespace.NAMESPACE_V1, required = false, nillable = false) private Integer id; @XmlElement(name = "name", namespace = Namespace.NAMESPACE_V1, required = false, nillable = false) private String name; @XmlElement(name = "productName", namespace = Namespace.NAMESPACE_V1, required = false, nillable = false) private String productName; /** * @return the id */ public Integer getId() { return id; } /** * @param id * the id to set */ public void setId(Integer id) { this.id = id; } /** * @return the name */ public String getName() { return name; } /** * @param name * the name to set */ public void setName(String name) { this.name = name; } /** * @return the productName */ public String getProductName() { return productName; } /** * @param productName * the productName to set */ public void setProductName(String productName) { this.productName = productName; } /** * @{inheritDoc */ @Override public String toString() { return ToStringBuilder.reflectionToString(this); } }