Class NotEqualExpression

  • All Implemented Interfaces:
    java.io.Serializable, Predicate, Visitable

    public class NotEqualExpression
    extends java.lang.Object
    Denotes (e1 != e2) Expression.
    Author:
    Pinaki Poddar
    See Also:
    Serialized Form
    • Method Detail

      • getOperand

        public final Expression getOperand()
      • getOperand2

        public final Expression getOperand2()
      • and

        public Predicate and​(Predicate predicate)
        Description copied from interface: Predicate
        Creates an AND of the predicate with the argument.
        Specified by:
        and in interface Predicate
        Parameters:
        predicate - - A simple or compound predicate
        Returns:
        the predicate that is the AND of the original simple or compound predicate and the argument.
      • or

        public Predicate or​(Predicate predicate)
        Description copied from interface: Predicate
        Creates an OR of the predicate with the argument.
        Specified by:
        or in interface Predicate
        Parameters:
        predicate - - A simple or compound predicate
        Returns:
        the predicate that is the OR of the original simple or compound predicate and the argument.
      • not

        public Predicate not()
        Description copied from interface: Predicate
        Creates a negation of the predicate with the argument.
        Specified by:
        not in interface Predicate
        Returns:
        the predicate that is the negation of the original simple or compound predicate.
      • asExpression

        public java.lang.String asExpression​(org.apache.openjpa.persistence.query.AliasContext ctx)
        Description copied from interface: Visitable
        Get a JPQL fragment as used in WHERE clause.
        Specified by:
        asExpression in interface Visitable
      • asProjection

        public java.lang.String asProjection​(org.apache.openjpa.persistence.query.AliasContext ctx)
        Description copied from interface: Visitable
        Gets the string representation in SELECT projection.
        Specified by:
        asProjection in interface Visitable
      • getAliasHint

        public java.lang.String getAliasHint​(org.apache.openjpa.persistence.query.AliasContext ctx)
        Description copied from interface: Visitable
        Gets the hint to be used while creating alias.
        Specified by:
        getAliasHint in interface Visitable
      • asJoinable

        public java.lang.String asJoinable​(org.apache.openjpa.persistence.query.AliasContext ctx)
        Description copied from interface: Visitable
        Gets the string representation in FROM clause.
        Specified by:
        asJoinable in interface Visitable