Interface ObjectTerm

All Superinterfaces:
QueryTerm

public interface ObjectTerm extends QueryTerm

A term for an object query.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the object in this term.
    Gets the object type in this term.

    Methods inherited from interface QueryTerm

    isPositive, isWildcard
    Modifier and Type
    Method
    Description
    boolean
    Tests if this is a positive or negative term.
    boolean
    Tests if this term is a wildcard.
  • Method Details

    • getObject

      Object getObject()
      Gets the object in this term.
      Returns:
      the object
      Throws:
      IllegalStateException - isWildcard() is true
      Compliance:
      mandatory - This method must be implemented.
    • getObjectType

      Type getObjectType()
      Gets the object type in this term.
      Returns:
      the object type
      Throws:
      IllegalStateException - isWildcard() is true
      Compliance:
      mandatory - This method must be implemented.