001/*
002 * Copyright 2006-2007 the original author or authors.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *      https://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017package org.springframework.batch.sample.domain.order.internal.xml;
018
019/**
020 * An XML customer.
021 * 
022 * This is a complex type.
023 */
024public class Customer {
025        private String name;
026
027        private String address;
028
029        private int age;
030
031        private int moo;
032
033        private int poo;
034
035        public String getAddress() {
036                return address;
037        }
038
039        public void setAddress(String address) {
040                this.address = address;
041        }
042
043        public int getAge() {
044                return age;
045        }
046
047        public void setAge(int age) {
048                this.age = age;
049        }
050
051        public String getName() {
052                return name;
053        }
054
055        public void setName(String name) {
056                this.name = name;
057        }
058
059        public int getMoo() {
060                return moo;
061        }
062
063        public void setMoo(int moo) {
064                this.moo = moo;
065        }
066
067        public int getPoo() {
068                return poo;
069        }
070
071        public void setPoo(int poo) {
072                this.poo = poo;
073        }
074
075        @Override
076        public String toString() {
077                return "Customer [address=" + address + ", age=" + age + ", name=" + name + "]";
078        }
079
080}