org.hudsonci.maven.model
Class PropertiesDTO
java.lang.Object
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
entries
protected List<PropertiesDTO.Entry> entries
PropertiesDTO
public PropertiesDTO()
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.