001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one
003: * or more contributor license agreements. See the NOTICE file
004: * distributed with this work for additional information
005: * regarding copyright ownership. The ASF licenses this file
006: * to you under the Apache License, Version 2.0 (the
007: * "License"); you may not use this file except in compliance
008: * with the License. You may obtain a copy of the License at
009: *
010: * http://www.apache.org/licenses/LICENSE-2.0
011: *
012: * Unless required by applicable law or agreed to in writing,
013: * software distributed under the License is distributed on an
014: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015: * KIND, either express or implied. See the License for the
016: * specific language governing permissions and limitations
017: * under the License.
018: */
019: package org.apache.axis2.jaxws.sample.addressbook;
020:
021: import javax.xml.bind.annotation.XmlAccessType;
022: import javax.xml.bind.annotation.XmlAccessorType;
023: import javax.xml.bind.annotation.XmlElement;
024: import javax.xml.bind.annotation.XmlRootElement;
025: import javax.xml.bind.annotation.XmlType;
026:
027: /**
028: * <p>Java class for findEntryByName element declaration.
029: *
030: * <p>The following schema fragment specifies the expected content contained within this class.
031: *
032: * <pre>
033: * <element name="findEntryByName">
034: * <complexType>
035: * <complexContent>
036: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
037: * <sequence>
038: * <element name="firstname" type="{http://www.w3.org/2001/XMLSchema}string"/>
039: * <element name="lastname" type="{http://www.w3.org/2001/XMLSchema}string"/>
040: * </sequence>
041: * </restriction>
042: * </complexContent>
043: * </complexType>
044: * </element>
045: * </pre>
046: *
047: *
048: */
049: @XmlAccessorType(XmlAccessType.FIELD)
050: @XmlType(name="",propOrder={"firstname","lastname"})
051: @XmlRootElement(name="findEntryByName")
052: public class FindEntryByName {
053:
054: @XmlElement(namespace="http://org/apache/axis2/jaxws/sample/addressbook",required=true,nillable=true)
055: protected String firstname;
056: @XmlElement(namespace="http://org/apache/axis2/jaxws/sample/addressbook",required=true)
057: protected String lastname;
058:
059: /**
060: * Gets the value of the firstname property.
061: *
062: * @return
063: * possible object is
064: * {@link String }
065: *
066: */
067: public String getFirstname() {
068: return firstname;
069: }
070:
071: /**
072: * Sets the value of the firstname property.
073: *
074: * @param value
075: * allowed object is
076: * {@link String }
077: *
078: */
079: public void setFirstname(String value) {
080: this .firstname = value;
081: }
082:
083: /**
084: * Gets the value of the lastname property.
085: *
086: * @return
087: * possible object is
088: * {@link String }
089: *
090: */
091: public String getLastname() {
092: return lastname;
093: }
094:
095: /**
096: * Sets the value of the lastname property.
097: *
098: * @param value
099: * allowed object is
100: * {@link String }
101: *
102: */
103: public void setLastname(String value) {
104: this.lastname = value;
105: }
106:
107: }
|