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 IntersectorCopsType 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 3042)

 <complexType name="IntersectorCopsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Cops" type="{}IntersectorCopType" maxOccurs="10"/>
         <element name="SectorPairs" type="{}UnidirectionalSectorPairType" maxOccurs="10" minOccurs="2"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
public interface IntersectorCopsType {


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

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

    getSectorPairs().add(newItem);
 

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

    boolean isSetSectorPairs();
    void unsetSectorPairs();

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

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

    getCops().add(newItem);
 

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

    java.util.List getCops();
    boolean isSetCops();
    void unsetCops();
New to GrepCode? Check out our FAQ X