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: 2014.12.23 at 04:44:48 PM CET 
  //
  
  
  package org.w3._2000._09.xmldsig_;
 
 import java.util.List;

Java class for ManifestType complex type.

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

 <complexType name="ManifestType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "ManifestType", propOrder = {
     "reference"
 })
 public class ManifestType {
 
     @XmlElement(name = "Reference", required = true)
     protected List<ReferenceTypereference;
     @XmlAttribute(name = "Id")
     @XmlID
     @XmlSchemaType(name = "ID")
     protected String id;

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

    
Fully-initialising value constructor
 
     public ManifestType(final List<ReferenceTypereferencefinal String id) {
         this. = reference;
         this. = id;
     }

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

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

    getReference().add(newItem);
 

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

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

    
Gets the value of the id property.

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

    
Sets the value of the id property.

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