/** * Copyright 2004-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package testdomain; import java.io.Serializable; import java.util.Date; import java.util.List; public class PrivateAccount implements Serializable { private int id; private String firstName; private String lastName; private String emailAddress; private int[] ids; private int age; private Date dateAdded; private PrivateAccount account; private List accountList; private boolean bannerOption; private boolean cartOption; private PrivateAccount() { } public int getId() { return id; } public void setId(int id) { this.id = id; } public int[] getIds() { return ids; } public void setIds(int[] ids) { this.ids = ids; } /** * @return Returns the age. */ public int getAge() { return age; } /** * @param age * The age to set. */ public void setAge(int age) { this.age = age; } /** * @return Returns the dateAdded. */ public Date getDateAdded() { return dateAdded; } /** * @param dateAdded * The dateAdded to set. */ public void setDateAdded(Date dateAdded) { this.dateAdded = dateAdded; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getEmailAddress() { return emailAddress; } public void setEmailAddress(String emailAddress) { this.emailAddress = emailAddress; } public PrivateAccount getAccount() { return account; } public void setAccount(PrivateAccount account) { this.account = account; } public List getAccountList() { return accountList; } public void setAccountList(List accountList) { this.accountList = accountList; } public boolean isBannerOption() { return bannerOption; } public void setBannerOption(boolean bannerOption) { this.bannerOption = bannerOption; } public boolean isCartOption() { return cartOption; } public void setCartOption(boolean cartOption) { this.cartOption = cartOption; } }