org.hudsonci.rest.model.build
Class CauseDTO

java.lang.Object
  extended by org.hudsonci.rest.model.build.CauseDTO
Direct Known Subclasses:
UserCauseDTO

public class CauseDTO
extends Object

Java class for cause complex type.

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

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


Field Summary
protected  String description
           
protected  String type
           
 
Constructor Summary
CauseDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
          Gets the value of the description property.
 String getType()
          Gets the value of the type property.
 int hashCode()
           
 void setDescription(String value)
          Sets the value of the description property.
 void setType(String value)
          Sets the value of the type property.
 CauseDTO withDescription(String value)
           
 CauseDTO 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

description

protected String description
Constructor Detail

CauseDTO

public CauseDTO()
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

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

withType

public CauseDTO withType(String value)

withDescription

public CauseDTO withDescription(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.