org.hudsonci.rest.model.fault
Class FaultDetailDTO

java.lang.Object
  extended by org.hudsonci.rest.model.fault.FaultDetailDTO

public class FaultDetailDTO
extends Object

Java class for faultDetail complex type.

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

 <complexType name="faultDetail">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String message
           
protected  String type
           
 
Constructor Summary
FaultDetailDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getMessage()
          Gets the value of the message property.
 String getType()
          Gets the value of the type property.
 int hashCode()
           
 void setMessage(String value)
          Sets the value of the message property.
 void setType(String value)
          Sets the value of the type property.
 FaultDetailDTO withMessage(String value)
           
 FaultDetailDTO withType(String value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected String type

message

protected String message
Constructor Detail

FaultDetailDTO

public FaultDetailDTO()
Method Detail

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getMessage

public String getMessage()
Gets the value of the message property.

Returns:
possible object is String

setMessage

public void setMessage(String value)
Sets the value of the message property.

Parameters:
value - allowed object is String

withType

public FaultDetailDTO withType(String value)

withMessage

public FaultDetailDTO withMessage(String value)

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.