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, v1.0.6-01/24/2006 06:15 PM(kohsuke)-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: 2007.03.26 at 04:39:11 PM CEST 
 //
 
 
 package org.jvnet.jaxbvalidation.tests.one;


Java content class for FilterType complex type.

The following schema fragment specifies the expected content contained within this java content object. (defined at file:/C:/Projects/p2.external/jaxbvalidation/tests/dpr/src/main/resources/dprdataset.xsd line 2929)

 <complexType name="FilterType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Level" type="{}FilterLevelType" maxOccurs="4" minOccurs="0"/>
       </sequence>
       <attribute name="lateralDev" use="required" type="{}NauticalMilesType" />
       <attribute name="timeOut" use="required" type="{}MinutesType" />
     </restriction>
   </complexContent>
 </complexType>
 
public interface FilterType {


    
Gets the value of the timeOut property.
    int getTimeOut();

    
Sets the value of the timeOut property.
    void setTimeOut(int value);
    boolean isSetTimeOut();
    void unsetTimeOut();

    
Gets the value of the lateralDev property.
    float getLateralDev();

    
Sets the value of the lateralDev property.
    void setLateralDev(float value);
    boolean isSetLateralDev();
    void unsetLateralDev();

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

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

    getLevel().add(newItem);
 

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

    java.util.List getLevel();
    boolean isSetLevel();
    void unsetLevel();
New to GrepCode? Check out our FAQ X