Package com.atlassian.jira.jql.builder
Class JqlFieldReference
java.lang.Object
com.atlassian.jira.jql.builder.JqlFieldReference
Represents a JQL Field Reference which has a form of field_name[property].object_reference with
object_reference part being optional
-
Method Summary
Modifier and TypeMethodDescriptionstatic JqlFieldReferenceBuildercreate()booleangetName()The field name of a Field ReferenceThe property of a Field ReferenceOptional Object Reference of a Field ReferenceinthashCode()booleanIf Field Reference has an object reference.toJql()JQL string representation of a Field Reference
-
Method Details
-
getName
The field name of a Field Reference- Returns:
- String
-
getProperty
The property of a Field Reference- Returns:
- String
-
getReference
Optional Object Reference of a Field Reference- Returns:
- String
-
toJql
JQL string representation of a Field Reference- Returns:
-
create
-
hasReference
public boolean hasReference()If Field Reference has an object reference. BecausePropertyreturns an empty string for empty list of references we need to allow users to supply empty strings as reference and treat them as "no object references.- Returns:
- true if field reference includes object reference for a property.
-
equals
-
hashCode
public int hashCode()
-