Class ScopeField

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class ScopeField
    extends FieldExpression
    FieldExpression for returning scopes from a stored field.
    See Also:
    Serialized Form
    • Field Detail

      • DEFAULT_HIGHLIGHT_MODE

        public static final HighlightMode DEFAULT_HIGHLIGHT_MODE
    • Constructor Detail

      • ScopeField

        public ScopeField​(java.lang.String fieldName,
                          java.lang.String scope)
        Construct a new ScopeField for fieldName
      • ScopeField

        public ScopeField​(HighlightMode mode,
                          java.lang.String fieldName,
                          java.lang.String scope)
        Construct a new ScopeField for fieldName
    • Method Detail

      • isConstant

        public boolean isConstant()
        Returns true if this field expression evaluates to a constant value.
        Specified by:
        isConstant in class FieldExpression
      • hasChildren

        public boolean hasChildren()
        Returns true if this field expression has any sub FieldExpressions.
        Specified by:
        hasChildren in class FieldExpression
      • getFieldName

        public java.lang.String getFieldName()
        Get the name of the field to return values for.
        Overrides:
        getFieldName in class FieldExpression
      • setFieldName

        public void setFieldName​(java.lang.String value)
        Set the name of the field to return.
      • getScope

        public java.lang.String getScope()
      • setScope

        public void setScope​(java.lang.String value)
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object