1 /* 2 * Copyright 2001-2008 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 */ 17 package org.uddi.api_v2; 18 19 import javax.xml.bind.annotation.XmlAccessType; 20 import javax.xml.bind.annotation.XmlAccessorType; 21 import javax.xml.bind.annotation.XmlAttribute; 22 import javax.xml.bind.annotation.XmlElement; 23 import javax.xml.bind.annotation.XmlType; 24 25 26 /** 27 * <p>Java class for tModelInfo complex type. 28 * 29 * <p>The following schema fragment specifies the expected content contained within this class. 30 * 31 * <pre> 32 * <complexType name="tModelInfo"> 33 * <complexContent> 34 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 35 * <sequence> 36 * <element ref="{urn:uddi-org:api_v2}name"/> 37 * </sequence> 38 * <attribute name="tModelKey" use="required" type="{urn:uddi-org:api_v2}tModelKey" /> 39 * </restriction> 40 * </complexContent> 41 * </complexType> 42 * </pre> 43 * 44 * 45 */ 46 @XmlAccessorType(XmlAccessType.FIELD) 47 @XmlType(name = "tModelInfo", propOrder = { 48 "name" 49 }) 50 public class TModelInfo { 51 52 @XmlElement(required = true) 53 protected Name name; 54 @XmlAttribute(name = "tModelKey", required = true) 55 protected String tModelKey; 56 57 /** 58 * Gets the value of the name property. 59 * 60 * @return 61 * possible object is 62 * {@link Name } 63 * 64 */ 65 public Name getName() { 66 return name; 67 } 68 69 /** 70 * Sets the value of the name property. 71 * 72 * @param value 73 * allowed object is 74 * {@link Name } 75 * 76 */ 77 public void setName(Name value) { 78 this.name = value; 79 } 80 81 /** 82 * Gets the value of the tModelKey property. 83 * 84 * @return 85 * possible object is 86 * {@link String } 87 * 88 */ 89 public String getTModelKey() { 90 return tModelKey; 91 } 92 93 /** 94 * Sets the value of the tModelKey property. 95 * 96 * @param value 97 * allowed object is 98 * {@link String } 99 * 100 */ 101 public void setTModelKey(String value) { 102 this.tModelKey = value; 103 } 104 105 }