/*
 * 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.item;

import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import java.util.HashSet;
import java.util.Set;

@Getter
@Setter
@XmlAccessorType(XmlAccessType.FIELD)
public final class ExpectedDistinctSelectItem {
    
    @XmlAttribute(name = "inner-expression")
    private String innerExpression;
    
    @XmlAttribute
    private String alias;
    
    @XmlElement(name = "distinct-column")
    private Set<String> distinctColumnNames = new HashSet<>();
}

@@ -926,22 +926,24 @@
 va.util.
-HashSe
+ArrayLis
 t;%0Aimpor
@@ -954,18 +954,19 @@
 va.util.
-Se
+Lis
 t;%0A%0A@Get
@@ -1072,94 +1072,8 @@
    %0A
-    @XmlAttribute(name = %22inner-expression%22)%0A    private String innerExpression;%0A    %0A
     
@@ -1171,18 +1171,19 @@
 private 
-Se
+Lis
 t%3CString
@@ -1214,14 +1214,16 @@
 new 
-HashSe
+ArrayLis
 t%3C%3E(

delete invalid properties