1 /*** 2 * Copyright 2004 The Apache Software Foundation. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package org.apache.ws.jaxme.examples.misc.address.impl; 17 18 public class AddressTypeImpl implements org.apache.ws.jaxme.examples.misc.address.AddressType { 19 public static class NameTypeImpl implements org.apache.ws.jaxme.examples.misc.address.AddressType.NameType { 20 private java.lang.String First; 21 22 private java.util.List Middle = new java.util.ArrayList(); 23 24 private java.lang.String Last; 25 26 private java.lang.String Initials; 27 28 29 public java.lang.String getFirst() { 30 return First; 31 } 32 33 public void setFirst(java.lang.String pFirst) { 34 First = pFirst; 35 } 36 37 public java.util.List getMiddle() { 38 return Middle; 39 } 40 41 public java.lang.String getLast() { 42 return Last; 43 } 44 45 public void setLast(java.lang.String pLast) { 46 Last = pLast; 47 } 48 49 public java.lang.String getInitials() { 50 return Initials; 51 } 52 53 public void setInitials(java.lang.String pInitials) { 54 Initials = pInitials; 55 } 56 57 } 58 59 private java.lang.String Id; 60 61 private org.apache.ws.jaxme.examples.misc.address.AddressType.NameType Name; 62 63 64 public java.lang.String getId() { 65 return Id; 66 } 67 68 public void setId(java.lang.String pId) { 69 Id = pId; 70 } 71 72 public org.apache.ws.jaxme.examples.misc.address.AddressType.NameType getName() { 73 return Name; 74 } 75 76 public void setName(org.apache.ws.jaxme.examples.misc.address.AddressType.NameType pName) { 77 Name = pName; 78 } 79 80 }