Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 import java.util.List;

Java class for ServiceType complex type.

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

 <complexType name="ServiceType">
     <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}RegistryObjectType">
         <element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ServiceBinding" maxOccurs="unbounded" minOccurs="0"/>
@XmlType(name = "ServiceType", propOrder = {
public class ServiceType
    extends RegistryObjectType
    @XmlElement(name = "ServiceBinding")
    protected List<ServiceBindingTypeserviceBinding;

Gets the value of the serviceBinding 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 serviceBinding property.

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


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

        if ( == null) {
             = new ArrayList<ServiceBindingType>();
        return this.;
New to GrepCode? Check out our FAQ X