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.11 
  // 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: 2015.01.02 at 12:33:41 PM CET 
  //
  
  
  package org.iso.standards.iso._19770.__2._2009.schema;
 
 import java.util.List;

Java class for UsageComplexType complex type.

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

 <complexType name="UsageComplexType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="filename" type="{http://standards.iso.org/iso/19770/-2/2009/schema.xsd}Token" maxOccurs="unbounded" minOccurs="0"/>
         <element name="processname" type="{http://standards.iso.org/iso/19770/-2/2009/schema.xsd}UsageDetailComplexType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="URI" type="{http://standards.iso.org/iso/19770/-2/2009/schema.xsd}UsageDetailComplexType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://standards.iso.org/iso/19770/-2/2009/schema.xsd}default"/>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "UsageComplexType", propOrder = {
     "filename",
     "processname",
     "uri"
 })
 public class UsageComplexType {
 
     protected List<Tokenfilename;
     protected List<UsageDetailComplexTypeprocessname;
     @XmlElement(name = "URI")
     protected List<UsageDetailComplexTypeuri;
     @XmlAttribute(name = "id")
     @XmlID
     @XmlSchemaType(name = "ID")
     protected java.lang.String id;

    
Default no-arg constructor
 
     public UsageComplexType() {
         super();
     }

    
Fully-initialising value constructor
 
     public UsageComplexType(final List<Tokenfilenamefinal List<UsageDetailComplexTypeprocessnamefinal List<UsageDetailComplexTypeurifinal java.lang.String id) {
         this. = filename;
         this. = processname;
         this. = uri;
         this. = id;
     }

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

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

    getFilename().add(newItem);
 

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

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

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

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

    getProcessname().add(newItem);
 

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

        if ( == null) {
             = new ArrayList<UsageDetailComplexType>();
        }
        return this.;
    }

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

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

    getURI().add(newItem);
 

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

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

    
Gets the value of the id property.

Returns:
possible object is
    public java.lang.String getId() {
        return ;
    }

    
Sets the value of the id property.

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