/*
 * Copyright 2016-2018 shardingsphere.io.
 * <p>
 * Licensed 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.
 * </p>
 */

package io.shardingsphere.core.parsing.integrate.jaxb.token;

import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import java.util.LinkedList;
import java.util.List;

@Getter
@Setter
@XmlAccessorType(XmlAccessType.FIELD)
public final class ExpectedTokens {
    
    @XmlElement(name = "table-token")
    private List<ExpectedTableToken> tableTokens = new LinkedList<>();
    
    @XmlElement(name = "index-token")
    private List<ExpectedIndexToken> indexTokens = new LinkedList<>();
    
    @XmlElement(name = "items-token")
    private ExpectedItemsToken itemsToken;
    
    @XmlElement(name = "generated-key-token")
    private ExpectedGeneratedKeyToken generatedKeyToken;
    
    @XmlElement(name = "insert-values-token")
    private ExpectedInsertValuesToken insertValuesToken;
    
    @XmlElement(name = "order-by-token")
    private ExpectedOrderByToken orderByToken;
    
    @XmlElement(name = "offset-token")
    private ExpectedOffsetToken offsetToken;
    
    @XmlElement(name = "row-count-token")
    private ExpectedRowCountToken rowCountToken;
    
    @XmlElement(name = "insert-column-token")
    private ExpectedInsertColumnToken insertColumnToken;
    
    @XmlElement(name = "schema-token")
    private List<ExpectedSchemaToken> schemaTokens = new LinkedList<>();
}

@@ -2039,10 +2039,167 @@
 st%3C%3E();%0A
+    %0A    @XmlElement(name = %22aggregation-distinct-token%22)%0A    private List%3CExpectedAggregationDistinctToken%3E aggregationDistinctTokens = new LinkedList%3C%3E();%0A
 %7D%0A

add aggregationDistinctTokens