org.apache.openejb.jee.oejb2
Class ServiceRefType

java.lang.Object
  extended by org.apache.openejb.jee.oejb2.ServiceRefType

public class ServiceRefType
extends java.lang.Object

Java class for service-refType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="service-refType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="service-ref-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <choice>
           <element name="service-completion" type="{http://geronimo.apache.org/xml/ns/naming-1.2}service-completionType"/>
           <element name="port" type="{http://geronimo.apache.org/xml/ns/naming-1.2}portType" maxOccurs="unbounded"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<PortType> port
           
protected  ServiceCompletionType serviceCompletion
           
protected  java.lang.String serviceRefName
           
 
Constructor Summary
ServiceRefType()
           
 
Method Summary
 java.util.List<PortType> getPort()
          Gets the value of the port property.
 ServiceCompletionType getServiceCompletion()
          Gets the value of the serviceCompletion property.
 java.lang.String getServiceRefName()
          Gets the value of the serviceRefName property.
 void setServiceCompletion(ServiceCompletionType value)
          Sets the value of the serviceCompletion property.
 void setServiceRefName(java.lang.String value)
          Sets the value of the serviceRefName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceRefName

protected java.lang.String serviceRefName

serviceCompletion

protected ServiceCompletionType serviceCompletion

port

protected java.util.List<PortType> port
Constructor Detail

ServiceRefType

public ServiceRefType()
Method Detail

getServiceRefName

public java.lang.String getServiceRefName()
Gets the value of the serviceRefName property.

Returns:
possible object is String

setServiceRefName

public void setServiceRefName(java.lang.String value)
Sets the value of the serviceRefName property.

Parameters:
value - allowed object is String

getServiceCompletion

public ServiceCompletionType getServiceCompletion()
Gets the value of the serviceCompletion property.

Returns:
possible object is ServiceCompletionType

setServiceCompletion

public void setServiceCompletion(ServiceCompletionType value)
Sets the value of the serviceCompletion property.

Parameters:
value - allowed object is ServiceCompletionType

getPort

public java.util.List<PortType> getPort()
Gets the value of the port property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the port property.

For example, to add a new item, do as follows:

    getPort().add(newItem);
 

Objects of the following type(s) are allowed in the list PortType



Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.