Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 
 // See <a href=""></a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
 // Generated on: 2013.07.17 at 11:28:52 AM EDT 
 package org.apache.cxf.binding.corba.wsdl;

Java class for enum complex type.

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

 <complexType name="enum">
     <extension base="{}namedType">
         <element name="enumerator" type="{}enumerator" maxOccurs="unbounded"/>
@XmlType(name = "enum", propOrder = {
public class Enum
    extends NamedType
    @XmlElement(required = true)
    protected List<Enumeratorenumerator;

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

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


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

    public List<EnumeratorgetEnumerator() {
        if ( == null) {
             = new ArrayList<Enumerator>();
        return this.;
    public boolean isSetEnumerator() {
        return ((this.!= null)&&(!this..isEmpty()));
    public void unsetEnumerator() {
        this. = null;
New to GrepCode? Check out our FAQ X