|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hudsonci.rest.model.fault.FaultDTO
public class FaultDTO
Java class for fault complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="fault">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="detail" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/fault}faultDetail" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<FaultDetailDTO> |
details
|
protected String |
id
|
| Constructor Summary | |
|---|---|
FaultDTO()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
List<FaultDetailDTO> |
getDetails()
Gets the value of the details property. |
String |
getId()
Gets the value of the id property. |
int |
hashCode()
|
void |
setId(String value)
Sets the value of the id property. |
FaultDTO |
withDetails(Collection<FaultDetailDTO> values)
|
FaultDTO |
withDetails(FaultDetailDTO... values)
|
FaultDTO |
withId(String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String id
protected List<FaultDetailDTO> details
| Constructor Detail |
|---|
public FaultDTO()
| Method Detail |
|---|
public String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic List<FaultDetailDTO> getDetails()
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 details property.
For example, to add a new item, do as follows:
getDetails().add(newItem);
Objects of the following type(s) are allowed in the list
FaultDetailDTO
public FaultDTO withId(String value)
public FaultDTO withDetails(FaultDetailDTO... values)
public FaultDTO withDetails(Collection<FaultDetailDTO> values)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||