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.2.5-2 
  // 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: 2012.08.31 at 05:43:55 PM SGT 
  //
  
  
  package com.yourmediashelf.fedora.generated.management;
 
 import java.util.List;

Java class for resultType complex type.

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

 <complexType name="resultType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="listSession" type="{http://www.fedora.info/definitions/1/0/types/}listSessionType" minOccurs="0"/>
         <element name="resultList">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="objectFields" type="{http://www.fedora.info/definitions/1/0/types/}objectFieldsType" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "resultType", namespace = "http://www.fedora.info/definitions/1/0/types/", propOrder = {
     "listSession",
     "resultList"
 })
     Result.class
 })
 public class ResultType {
 
     @XmlElementRef(name = "listSession", namespace = "http://www.fedora.info/definitions/1/0/types/", type = JAXBElement.class)
     protected JAXBElement<ListSessionTypelistSession;
     @XmlElement(required = true)
     protected ResultType.ResultList resultList;

    
Gets the value of the listSession property.

Returns:
possible object is <>
 
         return ;
     }

    
Sets the value of the listSession property.

Parameters:
value allowed object is <>
 
     public void setListSession(JAXBElement<ListSessionTypevalue) {
         this. = value;
     }

    
Gets the value of the resultList property.

Returns:
possible object is
 
     public ResultType.ResultList getResultList() {
        return ;
    }

    
Sets the value of the resultList property.

Parameters:
value allowed object is
    public void setResultList(ResultType.ResultList 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>
         <element name="objectFields" type="{http://www.fedora.info/definitions/1/0/types/}objectFieldsType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
    @XmlType(name = "", propOrder = {
        "objectFields"
    })
    public static class ResultList {
        @XmlElement(namespace = "http://www.fedora.info/definitions/1/0/types/")
        protected List<ObjectFieldsTypeobjectFields;

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

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

    getObjectFields().add(newItem);
 

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

        public List<ObjectFieldsTypegetObjectFields() {
            if ( == null) {
                 = new ArrayList<ObjectFieldsType>();
            }
            return this.;
        }
    }
New to GrepCode? Check out our FAQ X