org.hudsonci.maven.model.config
Class DocumentsDTO

java.lang.Object
  extended by org.hudsonci.maven.model.config.DocumentsDTO
All Implemented Interfaces:
Serializable

@Generated(value="XJC hudson-jaxb-ri-2.1-2",
           date="2011-12-06T19:15:37")
public class DocumentsDTO
extends Object
implements Serializable

Java class for documents complex type.

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

 <complexType name="documents">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="document" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}document" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<DocumentDTO> documents
           
 
Constructor Summary
DocumentsDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<DocumentDTO> getDocuments()
          Gets the value of the documents property.
 int hashCode()
           
 DocumentsDTO withDocuments(Collection<DocumentDTO> values)
           
 DocumentsDTO withDocuments(DocumentDTO... values)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

documents

protected List<DocumentDTO> documents
Constructor Detail

DocumentsDTO

public DocumentsDTO()
Method Detail

getDocuments

public List<DocumentDTO> getDocuments()
Gets the value of the documents 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 documents property.

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

    getDocuments().add(newItem);
 

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


withDocuments

public DocumentsDTO withDocuments(DocumentDTO... values)

withDocuments

public DocumentsDTO withDocuments(Collection<DocumentDTO> values)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2004-2011 Hudson. All Rights Reserved.