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, v2.1.5-b01-fcs 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2008.05.01 at 05:19:28 PM WEST 
  //
  
  
  package org.mobicents.slee.sippresence.pojo.xcaperror;
 
 import java.util.List;

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="exists" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence minOccurs="0">
                   <element name="alt-value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
                 </sequence>
                 <attribute name="field" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="phrase" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "exists"
 })
 public class UniquenessFailure {
 
     @XmlElement(required = true)
     protected List<UniquenessFailure.Existsexists;
     @XmlAttribute
     protected String phrase;

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

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

    getExists().add(newItem);
 

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

 
     public List<UniquenessFailure.ExistsgetExists() {
         if ( == null) {
              = new ArrayList<UniquenessFailure.Exists>();
         }
         return this.;
     }

    
Gets the value of the phrase property.

Returns:
possible object is
 
     public String getPhrase() {
        return ;
    }

    
Sets the value of the phrase property.

Parameters:
value allowed object is
    public void setPhrase(String value) {
        this. = value;
    }


    

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence minOccurs="0">
         <element name="alt-value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="field" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
    @XmlType(name = "", propOrder = {
        "altValue"
    })
    public static class Exists {
        @XmlElement(name = "alt-value")
        protected List<StringaltValue;
        @XmlAttribute(required = true)
        protected String field;

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

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

    getAltValue().add(newItem);
 

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

        public List<StringgetAltValue() {
            if ( == null) {
                 = new ArrayList<String>();
            }
            return this.;
        }

        
Gets the value of the field property.

Returns:
possible object is
        public String getField() {
            return ;
        }

        
Sets the value of the field property.

Parameters:
value allowed object is
        public void setField(String value) {
            this. = value;
        }
    }
New to GrepCode? Check out our FAQ X