Class CimFieldInfo
java.lang.Object
com.atlassian.jira.rest.client.api.domain.CimFieldInfo
- All Implemented Interfaces:
IdentifiableEntity<String>,NamedEntity
Contains information about field in IssueType.
The CIM prefix stands for CreateIssueMetadata as this class is used in output of IssueRestClient.getCreateIssueMetadata(GetCreateIssueMetadataOptions)
- Since:
- v1.0
-
Constructor Summary
ConstructorsConstructorDescriptionCimFieldInfo(String id, boolean required, String name, FieldSchema schema, Set<StandardOperation> operations, Iterable<Object> allowedValues, URI autoCompleteUri) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns list of values that are allowed to be used as value to this field.Returns URI to Auto Complete feature for this field.getId()getName()Returns set of operations allowed for this field.Returns schema of this field that describes type of that field and contained items type.protected com.google.common.base.MoreObjects.ToStringHelperReturns ToStringHelper with all fields inserted.inthashCode()booleantoString()
-
Constructor Details
-
CimFieldInfo
public CimFieldInfo(String id, boolean required, @Nullable String name, FieldSchema schema, Set<StandardOperation> operations, @Nullable Iterable<Object> allowedValues, @Nullable URI autoCompleteUri)
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceIdentifiableEntity<String>
-
isRequired
public boolean isRequired() -
getName
- Specified by:
getNamein interfaceNamedEntity
-
getSchema
Returns schema of this field that describes type of that field and contained items type.- Returns:
- schema of this field.
-
getOperations
Returns set of operations allowed for this field.- Returns:
- set of operations allowed for this field.
-
getAllowedValues
Returns list of values that are allowed to be used as value to this field.- Returns:
- list of allowed values.
-
getAutoCompleteUri
Returns URI to Auto Complete feature for this field. To make use of it append searched text to returned address.Example:
URI uriToGetResponseFrom = new URI(getAutoCompleteUri() + "typedLetters");- Returns:
- URI to Auto Complete feature for this field
-
getToStringHelper
protected com.google.common.base.MoreObjects.ToStringHelper getToStringHelper()Returns ToStringHelper with all fields inserted. Override this method to insert additional fields.- Returns:
- ToStringHelper
-
toString
-
equals
-
hashCode
public int hashCode()
-