com.atlassian.jira.rest.api.issue
Class ResourceRef

java.lang.Object
  extended by com.atlassian.jira.rest.api.issue.ResourceRef

public class ResourceRef
extends Object

Bean that simply holds an id.


Constructor Summary
ResourceRef()
           
ResourceRef(String id, String key, String name, String rubbish)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String id()
           
 ResourceRef id(String id)
           
 String key()
           
 ResourceRef key(String key)
           
 String name()
           
 ResourceRef name(String name)
           
 String rubbish()
           
 ResourceRef rubbish(String rubbish)
           
 String toString()
           
static ResourceRef withId(String id)
           
static ResourceRef withKey(String key)
           
static ResourceRef withName(String name)
           
static ResourceRef withRubbish(String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceRef

public ResourceRef()

ResourceRef

public ResourceRef(String id,
                   String key,
                   String name,
                   String rubbish)
Method Detail

withId

public static ResourceRef withId(String id)

withKey

public static ResourceRef withKey(String key)

withName

public static ResourceRef withName(String name)

withRubbish

public static ResourceRef withRubbish(String name)

id

public String id()

id

public ResourceRef id(String id)

key

public String key()

key

public ResourceRef key(String key)

name

public String name()

name

public ResourceRef name(String name)

rubbish

public String rubbish()

rubbish

public ResourceRef rubbish(String rubbish)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.