Note: {@link EclipseLinkStateObjectVisitor} needs to be used to traverse this state object.
join_treat ::= TREAT(collection_valued_path_expression [AS] entity_type_literal)
@see TreatExpression @version 2.4 @since 2.4 @author Pascal Filion
224422452246224722482249225022512252225322542255225622572258
* {@inheritDoc} */ @Override public void visit(TreatExpression expression) { TreatExpressionStateObject treatStateObject = new TreatExpressionStateObject( stateObject, expression.hasAs(), literal(expression.getEntityType(), LiteralType.ENTITY_TYPE) ); treatStateObject.setExpression(expression); stateObject.getJoinAssociationPathStateObject().decorate(treatStateObject); expression.getCollectionValuedPathExpression().accept(this); }