org.hudsonci.maven.model
Class PropertiesDTO

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

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

Java class for properties complex type.

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

 <complexType name="properties">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="entry" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Nested Class Summary
static class PropertiesDTO.Entry
          Java class for anonymous complex type.
 
Field Summary
protected  List<PropertiesDTO.Entry> entries
           
 
Constructor Summary
PropertiesDTO()
           
 
Method Summary
 boolean contains(Object name)
           
 boolean equals(Object obj)
           
 String get(Object name)
           
 List<PropertiesDTO.Entry> getEntries()
          Gets the value of the entries property.
 int hashCode()
           
 void set(Object name, Object value)
           
 PropertiesDTO with(Object name, Object value)
           
 PropertiesDTO withEntries(Collection<PropertiesDTO.Entry> values)
           
 PropertiesDTO withEntries(PropertiesDTO.Entry... values)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entries

protected List<PropertiesDTO.Entry> entries
Constructor Detail

PropertiesDTO

public PropertiesDTO()
Method Detail

getEntries

public List<PropertiesDTO.Entry> 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 PropertiesDTO.Entry


withEntries

public PropertiesDTO withEntries(PropertiesDTO.Entry... values)

withEntries

public PropertiesDTO withEntries(Collection<PropertiesDTO.Entry> values)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

set

public void set(Object name,
                Object value)

with

public PropertiesDTO with(Object name,
                          Object value)

get

public String get(Object name)

contains

public boolean contains(Object name)


Copyright © 2004-2011 Hudson. All Rights Reserved.