org.hudsonci.rest.model
Class PermissionDTO

java.lang.Object
  extended by org.hudsonci.rest.model.PermissionDTO

public class PermissionDTO
extends Object

Java class for permission complex type.

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

 <complexType name="permission">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="impliedBy" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/common}permission" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String id
           
protected  PermissionDTO impliedBy
           
 
Constructor Summary
PermissionDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
          Gets the value of the id property.
 PermissionDTO getImpliedBy()
          Gets the value of the impliedBy property.
 int hashCode()
           
 void setId(String value)
          Sets the value of the id property.
 void setImpliedBy(PermissionDTO value)
          Sets the value of the impliedBy property.
 PermissionDTO withId(String value)
           
 PermissionDTO withImpliedBy(PermissionDTO value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

impliedBy

protected PermissionDTO impliedBy
Constructor Detail

PermissionDTO

public PermissionDTO()
Method Detail

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getImpliedBy

public PermissionDTO getImpliedBy()
Gets the value of the impliedBy property.

Returns:
possible object is PermissionDTO

setImpliedBy

public void setImpliedBy(PermissionDTO value)
Sets the value of the impliedBy property.

Parameters:
value - allowed object is PermissionDTO

withId

public PermissionDTO withId(String value)

withImpliedBy

public PermissionDTO withImpliedBy(PermissionDTO 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.