org.apache.openejb.jee.oejb2
Class ServiceCompletionType

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

public class ServiceCompletionType
extends Object

Java class for service-completionType complex type.

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

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


Field Summary
protected  List<PortCompletionType> portCompletion
           
protected  String serviceName
           
 
Constructor Summary
ServiceCompletionType()
           
 
Method Summary
 List<PortCompletionType> getPortCompletion()
          Gets the value of the portCompletion property.
 String getServiceName()
          Gets the value of the serviceName property.
 void setServiceName(String value)
          Sets the value of the serviceName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceName

protected String serviceName

portCompletion

protected List<PortCompletionType> portCompletion
Constructor Detail

ServiceCompletionType

public ServiceCompletionType()
Method Detail

getServiceName

public String getServiceName()
Gets the value of the serviceName property.

Returns:
possible object is String

setServiceName

public void setServiceName(String value)
Sets the value of the serviceName property.

Parameters:
value - allowed object is String

getPortCompletion

public List<PortCompletionType> getPortCompletion()
Gets the value of the portCompletion 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 portCompletion property.

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

    getPortCompletion().add(newItem);
 

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



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