org.hudsonci.rest.model.build
Class ChangesDTO

java.lang.Object
  extended by org.hudsonci.rest.model.build.ChangesDTO

public class ChangesDTO
extends Object

Java class for changes complex type.

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

 <complexType name="changes">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="kind" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="entry" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/build}changeEntry" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<ChangeEntryDTO> entries
           
protected  String kind
           
 
Constructor Summary
ChangesDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<ChangeEntryDTO> getEntries()
          Gets the value of the entries property.
 String getKind()
          Gets the value of the kind property.
 int hashCode()
           
 void setKind(String value)
          Sets the value of the kind property.
 ChangesDTO withEntries(ChangeEntryDTO... values)
           
 ChangesDTO withEntries(Collection<ChangeEntryDTO> values)
           
 ChangesDTO withKind(String value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kind

protected String kind

entries

protected List<ChangeEntryDTO> entries
Constructor Detail

ChangesDTO

public ChangesDTO()
Method Detail

getKind

public String getKind()
Gets the value of the kind property.

Returns:
possible object is String

setKind

public void setKind(String value)
Sets the value of the kind property.

Parameters:
value - allowed object is String

getEntries

public List<ChangeEntryDTO> getEntries()
Gets the value of the entries 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 entries property.

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

    getEntries().add(newItem);
 

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


withKind

public ChangesDTO withKind(String value)

withEntries

public ChangesDTO withEntries(ChangeEntryDTO... values)

withEntries

public ChangesDTO withEntries(Collection<ChangeEntryDTO> 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.