org.eclipse.persistence.internal.jpa.querydef.InternalExpression Maven / Gradle / Ivy
Show all versions of eclipselink Show documentation
/*
* Copyright (c) 2011, 2021 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0,
* or the Eclipse Distribution License v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
*/package org.eclipse.persistence.internal.jpa.querydef;
/**
*
* Purpose: Represents an Expression in the Criteria API implementation heirarchy.
*
* Description: Expressions are expression nodes that can not be joined from
* and may or not be the result of a Path expression. The SubQuery is a special type of expression that
* requires certain methods but can not extend ExpressionImpl. This interface provide a common API.
*
* @see jakarta.persistence.criteria Expression
*
* @author gyorke
* @since EclipseLink 1.2
*/
// Contributors:
// Gordon Yorke - Initial development
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////package org.eclipse.persistence.internal.jpa.querydef;
/////
//
// Purpose: Represents an Expression in the Criteria API implementation heirarchy.
//
// Description: Expressions are expression nodes that can not be joined from
// and may or not be the result of a Path expression. The SubQuery is a special type of expression that
// requires certain methods but can not extend ExpressionImpl. This interface provide a common API.
//
//
// @see jakarta.persistence.criteria Expression
//
// @author gyorke
// @since EclipseLink 1.2
public interface InternalExpression{
boolean isPredicate();
boolean isCompoundExpression();
boolean isExpression();
boolean isLiteral();
boolean isParameter();
boolean isSubquery();
//conjunction or disjunction
boolean isJunction();
}