2
* $Header: /home/cvs/jakarta-commons/validator/src/test/org/apache/commons/validator/NameBean.java,v 1.6 2004/02/21 17:10:30 rleland Exp $
4
* $Date: 2004/02/21 17:10:30 $
6
* ====================================================================
7
* Copyright 2001-2004 The Apache Software Foundation
9
* Licensed under the Apache License, Version 2.0 (the "License");
10
* you may not use this file except in compliance with the License.
11
* You may obtain a copy of the License at
13
* http://www.apache.org/licenses/LICENSE-2.0
15
* Unless required by applicable law or agreed to in writing, software
16
* distributed under the License is distributed on an "AS IS" BASIS,
17
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
* See the License for the specific language governing permissions and
19
* limitations under the License.
22
package org.apache.commons.validator;
25
* Value object that contains a first name and last name.
27
public class NameBean {
29
protected String firstName = null;
31
protected String middleName = null;
33
protected String lastName = null;
35
public String getFirstName() {
39
public void setFirstName(String firstName) {
40
this.firstName = firstName;
43
public String getMiddleName() {
47
public void setMiddleName(String middleName) {
48
this.middleName = middleName;
51
public String getLastName() {
55
public void setLastName(String lastName) {
56
this.lastName = lastName;
b'\\ No newline at end of file'