blob: 8c77096ec997de1bb3b0c9a7a2b6fc6da378e020 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.ode.bpel.elang.xpath20.obj;
import java.io.Serializable;
import javax.xml.namespace.QName;
import net.sf.saxon.expr.Expression;
import org.apache.ode.bpel.elang.xpath10.obj.OXPath10ExpressionBPEL20;
import org.apache.ode.bpel.obj.OProcess;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
/**
* @author mriou <mriou at apache dot org>
*/
public class OXPath20ExpressionBPEL20 extends OXPath10ExpressionBPEL20 implements Serializable{
private static final long serialVersionUID = -1L;
private final String COMPILEDEXPR = "_compiledExpr";
@JsonCreator
public OXPath20ExpressionBPEL20(){}
public OXPath20ExpressionBPEL20(OProcess owner,
QName qname_getVariableData, QName qname_getVariableProperty,
QName qname_getLinkStatus, QName qname_doXslTransform,
boolean isJoinExpression) {
super(owner, qname_getVariableData, qname_getVariableProperty,
qname_getLinkStatus, qname_doXslTransform, isJoinExpression);
}
@JsonIgnore
public Expression getCompiledExpr() {
return (Expression)fieldContainer.get(COMPILEDEXPR);
}
public void setCompiledExpr(Expression compiledExpr) {
fieldContainer.put(COMPILEDEXPR, compiledExpr);
}
}