com.atlassian.jira.issue.fields.rest.json.beans
Class CustomFieldOptionJsonBean
java.lang.Object
com.atlassian.jira.issue.fields.rest.json.beans.CustomFieldOptionJsonBean
public class CustomFieldOptionJsonBean
- extends Object
A JSON-convertable representation of a CustomFieldOption
- Since:
- v5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomFieldOptionJsonBean
public CustomFieldOptionJsonBean()
getSelf
public String getSelf()
setSelf
public void setSelf(String self)
getValue
public String getValue()
setValue
public void setValue(String value)
getId
public String getId()
setId
public void setId(Long id)
setId
public void setId(String id)
getChild
public CustomFieldOptionJsonBean getChild()
setChild
public void setChild(CustomFieldOptionJsonBean child)
getChildren
public Collection<CustomFieldOptionJsonBean> getChildren()
setChildren
public void setChildren(Collection<CustomFieldOptionJsonBean> children)
shortBean
public static CustomFieldOptionJsonBean shortBean(Option option,
JiraBaseUrls urls)
- Returns:
- null if the input is null
shortBean
public static CustomFieldOptionJsonBean shortBean(Option parent,
Option child,
JiraBaseUrls urls)
- Method for building a cascading option with a specific child.
- Returns:
- null if the input is null
shortBeans
public static Collection<CustomFieldOptionJsonBean> shortBeans(Collection<Option> allowedValues,
JiraBaseUrls baseUrls)
Copyright © 2002-2012 Atlassian. All Rights Reserved.