public interface Field
Modifier and Type | Method and Description |
---|---|
Long |
getCustomFieldId()
Get the custom field id of the field.
|
String |
getDescription()
Get the description of the field.
|
Integer |
getId()
Get the id of the field.
|
String |
getName()
Get the name of the field.
|
PQLFieldToken |
getPQLToken()
Get the token for using in PQL.
|
Long |
getProjectRoleId()
Get the project role id of the field.
|
FieldType |
getType()
Get the type of the field.
|
boolean |
hasCustomField()
Get if the field has a custom field associated
|
boolean |
hasParent()
Get if the field has parent field
|
boolean |
isList()
Get if the field is type of list
|
boolean |
isMultiple()
Get if the field is multiple
|
boolean |
isPredefined()
Get if the field is a predefined field
|
boolean |
isSystem()
Get if the field is a system field
|
void |
setCustomField(boolean value)
Set the custom field of the field.
|
void |
setDescription(String description)
Set the description of the field.
|
void |
setName(String name)
Set the name of the field.
|
void |
setNobodyAsProjectRole()
Set nobody project role for the field.
|
void |
setProjectRole(com.atlassian.jira.security.roles.ProjectRole role)
Set the project role of the field.
|
Integer getId()
String getName()
PQLFieldToken getPQLToken()
void setName(String name)
name
- the name of the field.String getDescription()
void setDescription(String description)
description
- the description of the fieldLong getProjectRoleId()
void setProjectRole(com.atlassian.jira.security.roles.ProjectRole role)
role
- the project role of jira for the field.void setNobodyAsProjectRole()
Long getCustomFieldId()
void setCustomField(boolean value)
value
- the custom fieldboolean hasCustomField()
FieldType getType()
boolean isSystem()
boolean isMultiple()
boolean isList()
boolean hasParent()
boolean isPredefined()
Copyright © 2021 DEISER. All Rights Reserved.