This project has retired. For details please refer to its Attic page.
TModel.java

TModel.java

  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. import java.util.ArrayList;
  19. import java.util.List;
  20. import javax.xml.bind.annotation.XmlAccessType;
  21. import javax.xml.bind.annotation.XmlAccessorType;
  22. import javax.xml.bind.annotation.XmlAttribute;
  23. import javax.xml.bind.annotation.XmlElement;
  24. import javax.xml.bind.annotation.XmlType;


  25. /**
  26.  * <p>Java class for tModel complex type.
  27.  *
  28.  * <p>The following schema fragment specifies the expected content contained within this class.
  29.  *
  30.  * <pre>
  31.  * &lt;complexType name="tModel">
  32.  *   &lt;complexContent>
  33.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  34.  *       &lt;sequence>
  35.  *         &lt;element ref="{urn:uddi-org:api_v2}name"/>
  36.  *         &lt;element ref="{urn:uddi-org:api_v2}description" maxOccurs="unbounded" minOccurs="0"/>
  37.  *         &lt;element ref="{urn:uddi-org:api_v2}overviewDoc" minOccurs="0"/>
  38.  *         &lt;element ref="{urn:uddi-org:api_v2}identifierBag" minOccurs="0"/>
  39.  *         &lt;element ref="{urn:uddi-org:api_v2}categoryBag" minOccurs="0"/>
  40.  *       &lt;/sequence>
  41.  *       &lt;attribute name="tModelKey" use="required" type="{urn:uddi-org:api_v2}tModelKey" />
  42.  *       &lt;attribute name="operator" type="{http://www.w3.org/2001/XMLSchema}string" />
  43.  *       &lt;attribute name="authorizedName" type="{http://www.w3.org/2001/XMLSchema}string" />
  44.  *     &lt;/restriction>
  45.  *   &lt;/complexContent>
  46.  * &lt;/complexType>
  47.  * </pre>
  48.  *
  49.  *
  50.  */
  51. @XmlAccessorType(XmlAccessType.FIELD)
  52. @XmlType(name = "tModel", propOrder = {
  53.     "name",
  54.     "description",
  55.     "overviewDoc",
  56.     "identifierBag",
  57.     "categoryBag"
  58. })
  59. public class TModel {

  60.     @XmlElement(required = true)
  61.     protected Name name;
  62.     protected List<Description> description;
  63.     protected OverviewDoc overviewDoc;
  64.     protected IdentifierBag identifierBag;
  65.     protected CategoryBag categoryBag;
  66.     @XmlAttribute(name = "tModelKey", required = true)
  67.     protected String tModelKey;
  68.     @XmlAttribute(name = "operator")
  69.     protected String operator;
  70.     @XmlAttribute(name = "authorizedName")
  71.     protected String authorizedName;

  72.     /**
  73.      * Gets the value of the name property.
  74.      *
  75.      * @return
  76.      *     possible object is
  77.      *     {@link Name }
  78.      *    
  79.      */
  80.     public Name getName() {
  81.         return name;
  82.     }

  83.     /**
  84.      * Sets the value of the name property.
  85.      *
  86.      * @param value
  87.      *     allowed object is
  88.      *     {@link Name }
  89.      *    
  90.      */
  91.     public void setName(Name value) {
  92.         this.name = value;
  93.     }

  94.     /**
  95.      * Gets the value of the description property.
  96.      *
  97.      * <p>
  98.      * This accessor method returns a reference to the live list,
  99.      * not a snapshot. Therefore any modification you make to the
  100.      * returned list will be present inside the JAXB object.
  101.      * This is why there is not a <CODE>set</CODE> method for the description property.
  102.      *
  103.      * <p>
  104.      * For example, to add a new item, do as follows:
  105.      * <pre>
  106.      *    getDescription().add(newItem);
  107.      * </pre>
  108.      *
  109.      *
  110.      * <p>
  111.      * Objects of the following type(s) are allowed in the list
  112.      * {@link Description }
  113.      *
  114.      *
  115.      */
  116.     public List<Description> getDescription() {
  117.         if (description == null) {
  118.             description = new ArrayList<Description>();
  119.         }
  120.         return this.description;
  121.     }

  122.     /**
  123.      * Gets the value of the overviewDoc property.
  124.      *
  125.      * @return
  126.      *     possible object is
  127.      *     {@link OverviewDoc }
  128.      *    
  129.      */
  130.     public OverviewDoc getOverviewDoc() {
  131.         return overviewDoc;
  132.     }

  133.     /**
  134.      * Sets the value of the overviewDoc property.
  135.      *
  136.      * @param value
  137.      *     allowed object is
  138.      *     {@link OverviewDoc }
  139.      *    
  140.      */
  141.     public void setOverviewDoc(OverviewDoc value) {
  142.         this.overviewDoc = value;
  143.     }

  144.     /**
  145.      * Gets the value of the identifierBag property.
  146.      *
  147.      * @return
  148.      *     possible object is
  149.      *     {@link IdentifierBag }
  150.      *    
  151.      */
  152.     public IdentifierBag getIdentifierBag() {
  153.         return identifierBag;
  154.     }

  155.     /**
  156.      * Sets the value of the identifierBag property.
  157.      *
  158.      * @param value
  159.      *     allowed object is
  160.      *     {@link IdentifierBag }
  161.      *    
  162.      */
  163.     public void setIdentifierBag(IdentifierBag value) {
  164.         this.identifierBag = value;
  165.     }

  166.     /**
  167.      * Gets the value of the categoryBag property.
  168.      *
  169.      * @return
  170.      *     possible object is
  171.      *     {@link CategoryBag }
  172.      *    
  173.      */
  174.     public CategoryBag getCategoryBag() {
  175.         return categoryBag;
  176.     }

  177.     /**
  178.      * Sets the value of the categoryBag property.
  179.      *
  180.      * @param value
  181.      *     allowed object is
  182.      *     {@link CategoryBag }
  183.      *    
  184.      */
  185.     public void setCategoryBag(CategoryBag value) {
  186.         this.categoryBag = value;
  187.     }

  188.     /**
  189.      * Gets the value of the tModelKey property.
  190.      *
  191.      * @return
  192.      *     possible object is
  193.      *     {@link String }
  194.      *    
  195.      */
  196.     public String getTModelKey() {
  197.         return tModelKey;
  198.     }

  199.     /**
  200.      * Sets the value of the tModelKey property.
  201.      *
  202.      * @param value
  203.      *     allowed object is
  204.      *     {@link String }
  205.      *    
  206.      */
  207.     public void setTModelKey(String value) {
  208.         this.tModelKey = value;
  209.     }

  210.     /**
  211.      * Gets the value of the operator property.
  212.      *
  213.      * @return
  214.      *     possible object is
  215.      *     {@link String }
  216.      *    
  217.      */
  218.     public String getOperator() {
  219.         return operator;
  220.     }

  221.     /**
  222.      * Sets the value of the operator property.
  223.      *
  224.      * @param value
  225.      *     allowed object is
  226.      *     {@link String }
  227.      *    
  228.      */
  229.     public void setOperator(String value) {
  230.         this.operator = value;
  231.     }

  232.     /**
  233.      * Gets the value of the authorizedName property.
  234.      *
  235.      * @return
  236.      *     possible object is
  237.      *     {@link String }
  238.      *    
  239.      */
  240.     public String getAuthorizedName() {
  241.         return authorizedName;
  242.     }

  243.     /**
  244.      * Sets the value of the authorizedName property.
  245.      *
  246.      * @param value
  247.      *     allowed object is
  248.      *     {@link String }
  249.      *    
  250.      */
  251.     public void setAuthorizedName(String value) {
  252.         this.authorizedName = value;
  253.     }

  254. }