com.atlassian.jira.issue.fields.rest.json.beans
Class ComponentJsonBean

java.lang.Object
  extended by com.atlassian.jira.issue.fields.rest.json.beans.ComponentJsonBean

public class ComponentJsonBean
extends Object

A JSON-convertable representation of a ProjectComponent

Since:
v5.0

Constructor Summary
ComponentJsonBean()
           
 
Method Summary
 String getDescription()
           
 String getId()
           
 String getName()
           
 String getSelf()
           
 void setDescription(String description)
           
 void setId(String id)
           
 void setName(String name)
           
 void setSelf(String self)
           
static ComponentJsonBean shortBean(ProjectComponent component, JiraBaseUrls urls)
           
static Collection<ComponentJsonBean> shortBeans(Collection<ProjectComponent> components, JiraBaseUrls urls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentJsonBean

public ComponentJsonBean()
Method Detail

getSelf

public String getSelf()

setSelf

public void setSelf(String self)

getId

public String getId()

setId

public void setId(String id)

getName

public String getName()

setName

public void setName(String name)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

shortBeans

public static Collection<ComponentJsonBean> shortBeans(Collection<ProjectComponent> components,
                                                       JiraBaseUrls urls)

shortBean

public static ComponentJsonBean shortBean(ProjectComponent component,
                                          JiraBaseUrls urls)
Returns:
null if the input is null


Copyright © 2002-2012 Atlassian. All Rights Reserved.