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: */package org.apache.geronimo.test.generated;
019:
020: import javax.xml.bind.annotation.XmlAccessType;
021: import javax.xml.bind.annotation.XmlAccessorType;
022: import javax.xml.bind.annotation.XmlElement;
023: import javax.xml.bind.annotation.XmlRootElement;
024: import javax.xml.bind.annotation.XmlType;
025:
026: /**
027: * <p>Java class for anonymous complex type.
028: *
029: * <p>The following schema fragment specifies the expected content contained within this class.
030: *
031: * <pre>
032: * <complexType>
033: * <complexContent>
034: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
035: * <sequence>
036: * <element name="FirstName" type="{http://www.w3.org/2001/XMLSchema}string"/>
037: * <element name="LastName" type="{http://www.w3.org/2001/XMLSchema}string"/>
038: * </sequence>
039: * </restriction>
040: * </complexContent>
041: * </complexType>
042: * </pre>
043: *
044: *
045: */
046: @XmlAccessorType(XmlAccessType.FIELD)
047: @XmlType(name="",propOrder={"firstName","lastName"})
048: @XmlRootElement(name="Account")
049: public class Account {
050:
051: @XmlElement(name="FirstName",required=true)
052: protected String firstName;
053: @XmlElement(name="LastName",required=true)
054: protected String lastName;
055:
056: /**
057: * Gets the value of the firstName property.
058: *
059: * @return
060: * possible object is
061: * {@link String }
062: *
063: */
064: public String getFirstName() {
065: return firstName;
066: }
067:
068: /**
069: * Sets the value of the firstName property.
070: *
071: * @param value
072: * allowed object is
073: * {@link String }
074: *
075: */
076: public void setFirstName(String value) {
077: this .firstName = value;
078: }
079:
080: /**
081: * Gets the value of the lastName property.
082: *
083: * @return
084: * possible object is
085: * {@link String }
086: *
087: */
088: public String getLastName() {
089: return lastName;
090: }
091:
092: /**
093: * Sets the value of the lastName property.
094: *
095: * @param value
096: * allowed object is
097: * {@link String }
098: *
099: */
100: public void setLastName(String value) {
101: this.lastName = value;
102: }
103:
104: }
|