/** * Example license header for Java files * * http://www.andromda.org/ */ // // Attention: Generated code! Do not modify by hand! // Generated by: SearchCriteria.vsl in andromda-spring-cartridge. // package org.andromda.test.6; /** * */ public class CarSearchCriteria implements java.io.Serializable { public CarSearchCriteria() { } /** * Constructor taking all properties. */ public CarSearchCriteria( java.lang.String serial, java.lang.String name) { this.serial = serial; this.name = name; } /** * Copies constructor from other CarSearchCriteria */ public CarSearchCriteria(CarSearchCriteria otherBean) { if (otherBean != null) { this.serial = otherBean.getSerial(); this.name = otherBean.getName(); } } /** * The first result to retrieve. */ private java.lang.Integer firstResult; /** * Gets the first result to retrieve. * * @return the first result to retrieve */ public java.lang.Integer getFirstResult() { return this.firstResult; } /** * Sets the first result to retrieve. * * @param firstResult the first result to retrieve */ public void setFirstResult(java.lang.Integer firstResult) { this.firstResult = firstResult; } /** * The fetch size. */ private java.lang.Integer fetchSize; /** * Gets the fetch size. * * @return the fetch size */ public java.lang.Integer getFetchSize() { return this.fetchSize; } /** * Sets the fetch size. * * @param fetchSize the fetch size */ public void setFetchSize(java.lang.Integer fetchSize) { this.fetchSize = fetchSize; } /** * The maximum size of the result set. */ private java.lang.Integer maximumResultSize; /** * Gets the maximum size of the search result. * * @return the maximum size of the search result. */ public java.lang.Integer getMaximumResultSize() { return this.maximumResultSize; } /** * Sets the maxmimum size of the result. * * @param maximumResultSize A number indicating how many results will be returned. */ public void setMaximumResultSize(java.lang.Integer maximumResultSize) { this.maximumResultSize = maximumResultSize; } private java.lang.String serial; /** * */ public java.lang.String getSerial() { return this.serial; } public void setSerial(java.lang.String serial) { this.serial = serial; } private java.lang.String name; /** * */ public java.lang.String getName() { return this.name; } public void setName(java.lang.String name) { this.name = name; } }