| /******************************************************************************* |
| * Copyright (c) 2008, 2010 VMware 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 |
| * |
| * Contributors: |
| * VMware Inc. - initial contribution |
| *******************************************************************************/ |
| |
| package spring.sample; |
| |
| import org.springframework.beans.BeanUtils; |
| |
| public class SampleBean { |
| |
| @SuppressWarnings("unused") |
| private final BeanUtils beanUtils; |
| |
| public SampleBean() { |
| this.beanUtils = new BeanUtils() { |
| }; |
| } |
| |
| private String username; |
| |
| private String password; |
| |
| public String getPassword() { |
| return password; |
| } |
| |
| public void setPassword(String password) { |
| this.password = password; |
| } |
| |
| public String getUsername() { |
| return username; |
| } |
| |
| public void setUsername(String username) { |
| this.username = username; |
| } |
| |
| } |