Save This Page
Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.jee.naming » [javadoc | source]
    1   /*
    2    * Licensed to the Apache Software Foundation (ASF) under one or more
    3    * contributor license agreements.  See the NOTICE file distributed with
    4    * this work for additional information regarding copyright ownership.
    5    * The ASF licenses this file to You under the Apache License, Version 2.0
    6    * (the "License"); you may not use this file except in compliance with
    7    * the License.  You may obtain a copy of the License at
    8    *
    9    *    http://www.apache.org/licenses/LICENSE-2.0
   10    *
   11    * Unless required by applicable law or agreed to in writing, software
   12    * distributed under the License is distributed on an "AS IS" BASIS,
   13    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   14    * See the License for the specific language governing permissions and
   15    * limitations under the License.
   16    */
   17   
   18   package org.apache.geronimo.jee.naming;
   19   
   20   import java.io.Serializable;
   21   
   22   import javax.xml.bind.annotation.XmlAccessType;
   23   import javax.xml.bind.annotation.XmlAccessorType;
   24   import javax.xml.bind.annotation.XmlElement;
   25   import javax.xml.bind.annotation.XmlType;
   26   
   27   
   28   /**
   29    * <p>Java class for portType complex type.
   30    * 
   31    * <p>The following schema fragment specifies the expected content contained within this class.
   32    * 
   33    * <pre>
   34    * &lt;complexType name="portType">
   35    *   &lt;complexContent>
   36    *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
   37    *       &lt;sequence>
   38    *         &lt;element name="port-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
   39    *         &lt;group ref="{http://geronimo.apache.org/xml/ns/naming-1.2}serverGroup" minOccurs="0"/>
   40    *         &lt;element name="uri" type="{http://www.w3.org/2001/XMLSchema}string"/>
   41    *         &lt;element name="credentials-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
   42    *       &lt;/sequence>
   43    *     &lt;/restriction>
   44    *   &lt;/complexContent>
   45    * &lt;/complexType>
   46    * </pre>
   47    * 
   48    * @version $Rev: 642503 $ $Date: 2008-03-29 12:35:01 +0800 (Sat, 29 Mar 2008) $
   49    */
   50   @XmlAccessorType(XmlAccessType.FIELD)
   51   @XmlType(name = "portType", propOrder = {
   52       "portName",
   53       "protocol",
   54       "host",
   55       "port",
   56       "uri",
   57       "credentialsName"
   58   })
   59   public class Port
   60       implements Serializable
   61   {
   62   
   63       private final static long serialVersionUID = 12343L;
   64       @XmlElement(name = "port-name", required = true)
   65       protected String portName;
   66       protected String protocol;
   67       protected String host;
   68       protected Integer port;
   69       @XmlElement(required = true)
   70       protected String uri;
   71       @XmlElement(name = "credentials-name")
   72       protected String credentialsName;
   73   
   74       /**
   75        * Gets the value of the portName property.
   76        * 
   77        * @return
   78        *     possible object is
   79        *     {@link String }
   80        *     
   81        */
   82       public String getPortName() {
   83           return portName;
   84       }
   85   
   86       /**
   87        * Sets the value of the portName property.
   88        * 
   89        * @param value
   90        *     allowed object is
   91        *     {@link String }
   92        *     
   93        */
   94       public void setPortName(String value) {
   95           this.portName = value;
   96       }
   97   
   98       /**
   99        * Gets the value of the protocol property.
  100        * 
  101        * @return
  102        *     possible object is
  103        *     {@link String }
  104        *     
  105        */
  106       public String getProtocol() {
  107           return protocol;
  108       }
  109   
  110       /**
  111        * Sets the value of the protocol property.
  112        * 
  113        * @param value
  114        *     allowed object is
  115        *     {@link String }
  116        *     
  117        */
  118       public void setProtocol(String value) {
  119           this.protocol = value;
  120       }
  121   
  122       /**
  123        * Gets the value of the host property.
  124        * 
  125        * @return
  126        *     possible object is
  127        *     {@link String }
  128        *     
  129        */
  130       public String getHost() {
  131           return host;
  132       }
  133   
  134       /**
  135        * Sets the value of the host property.
  136        * 
  137        * @param value
  138        *     allowed object is
  139        *     {@link String }
  140        *     
  141        */
  142       public void setHost(String value) {
  143           this.host = value;
  144       }
  145   
  146       /**
  147        * Gets the value of the port property.
  148        * 
  149        * @return
  150        *     possible object is
  151        *     {@link Integer }
  152        *     
  153        */
  154       public Integer getPort() {
  155           return port;
  156       }
  157   
  158       /**
  159        * Sets the value of the port property.
  160        * 
  161        * @param value
  162        *     allowed object is
  163        *     {@link Integer }
  164        *     
  165        */
  166       public void setPort(Integer value) {
  167           this.port = value;
  168       }
  169   
  170       /**
  171        * Gets the value of the uri property.
  172        * 
  173        * @return
  174        *     possible object is
  175        *     {@link String }
  176        *     
  177        */
  178       public String getUri() {
  179           return uri;
  180       }
  181   
  182       /**
  183        * Sets the value of the uri property.
  184        * 
  185        * @param value
  186        *     allowed object is
  187        *     {@link String }
  188        *     
  189        */
  190       public void setUri(String value) {
  191           this.uri = value;
  192       }
  193   
  194       /**
  195        * Gets the value of the credentialsName property.
  196        * 
  197        * @return
  198        *     possible object is
  199        *     {@link String }
  200        *     
  201        */
  202       public String getCredentialsName() {
  203           return credentialsName;
  204       }
  205   
  206       /**
  207        * Sets the value of the credentialsName property.
  208        * 
  209        * @param value
  210        *     allowed object is
  211        *     {@link String }
  212        *     
  213        */
  214       public void setCredentialsName(String value) {
  215           this.credentialsName = value;
  216       }
  217   
  218   }

Save This Page
Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.jee.naming » [javadoc | source]