001/*
002 *  Copyright 2017 Anyware Services
003 *
004 *  Licensed under the Apache License, Version 2.0 (the "License");
005 *  you may not use this file except in compliance with the License.
006 *  You may obtain a copy of the License at
007 *
008 *      http://www.apache.org/licenses/LICENSE-2.0
009 *
010 *  Unless required by applicable law or agreed to in writing, software
011 *  distributed under the License is distributed on an "AS IS" BASIS,
012 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 *  See the License for the specific language governing permissions and
014 *  limitations under the License.
015 */
016package org.ametys.plugins.extraction.component;
017
018/**
019 * Object representing an extraction join group information
020 */
021public class ExtractionClauseGroup
022{
023    private String _completeExpression;
024    private String _expression;
025    private String _variable;
026    private String _fieldPath;
027  
028    /**
029     * Retrieves the complete group expression
030     * The complete group expression contains the characters used to identify the expression
031     * This expression has to be replaced the join expression 
032     * @return the group expression
033     */
034    public String getCompleteExpression()
035    {
036        return _completeExpression;
037    }
038    
039    /**
040     * Set the group expression
041     * @param completeExpression the group expression to set
042     */
043    public void setCompleteExpression(String completeExpression)
044    {
045        this._completeExpression = completeExpression;
046    }
047  
048    /**
049     * Retrieves the group expression
050     * The group expression does not contain the characters used to identify the expression
051     * @return the group expression
052     */
053    public String getExpression()
054    {
055        return _expression;
056    }
057    
058    /**
059     * Set the group expression
060     * @param groupExpression the group expression to set
061     */
062    public void setExpression(String groupExpression)
063    {
064        this._expression = groupExpression;
065    }
066    
067    /**
068     * Retrieves the variable
069     * @return the variable
070     */
071    public String getVariable()
072    {
073        return _variable;
074    }
075    
076    /**
077     * Set the variable
078     * @param variable the variable to set
079     */
080    public void setVariable(String variable)
081    {
082        this._variable = variable;
083    }
084    
085    /**
086     * Retrieves the field path
087     * @return the field path
088     */
089    public String getFieldPath()
090    {
091        return _fieldPath;
092    }
093    
094    /**
095     * Set the field path
096     * @param fieldPath the field path to set
097     */
098    public void setFieldPath(String fieldPath)
099    {
100        this._fieldPath = fieldPath;
101    }
102}