Skip to content
Permalink
Browse files

Update license to Apache 2.0

  • Loading branch information...
hadrienk committed Oct 4, 2016
1 parent 142b021 commit e2cccc1c19304ca1b3535ebc263a45d4da9d4610
Showing with 1,507 additions and 2,787 deletions.
  1. +201 −674 LICENSE
  2. +19 −2 java-vtl-model/src/main/java/kohl/hadrien/Attribute.java
  3. +20 −0 java-vtl-model/src/main/java/kohl/hadrien/Component.java
  4. +20 −0 java-vtl-model/src/main/java/kohl/hadrien/Constant.java
  5. +20 −0 java-vtl-model/src/main/java/kohl/hadrien/ConstantList.java
  6. +20 −0 java-vtl-model/src/main/java/kohl/hadrien/ConstantSet.java
  7. +20 −0 java-vtl-model/src/main/java/kohl/hadrien/DataStructure.java
  8. +20 −0 java-vtl-model/src/main/java/kohl/hadrien/Dataset.java
  9. +20 −0 java-vtl-model/src/main/java/kohl/hadrien/ForwardingStream.java
  10. +20 −0 java-vtl-model/src/main/java/kohl/hadrien/Identifier.java
  11. +20 −0 java-vtl-model/src/main/java/kohl/hadrien/Measure.java
  12. +20 −0 java-vtl-model/src/main/java/kohl/hadrien/MeasureIdentifier.java
  13. +20 −0 java-vtl-model/src/main/java/kohl/hadrien/ValueDomainSubset.java
  14. +0 −35 java-vtl-parser/gen/imports/Clauses.tokens
  15. +0 −171 java-vtl-parser/gen/imports/ClausesBaseListener.java
  16. +0 −91 java-vtl-parser/gen/imports/ClausesBaseVisitor.java
  17. +0 −144 java-vtl-parser/gen/imports/ClausesLexer.java
  18. +0 −35 java-vtl-parser/gen/imports/ClausesLexer.tokens
  19. +0 −120 java-vtl-parser/gen/imports/ClausesListener.java
  20. +0 −720 java-vtl-parser/gen/imports/ClausesParser.java
  21. +0 −79 java-vtl-parser/gen/imports/ClausesVisitor.java
  22. +19 −0 java-vtl-parser/src/main/antlr4/imports/Atoms.g4
  23. +19 −0 java-vtl-parser/src/main/antlr4/imports/Clauses.g4
  24. +19 −0 java-vtl-parser/src/main/antlr4/imports/Conditional.g4
  25. +19 −0 java-vtl-parser/src/main/antlr4/kohl/hadrien/VTL.g4
  26. +139 −120 java-vtl-parser/src/test/java/kohl/hadrien/antlr4/ClausesParserTest.java
  27. +30 −11 java-vtl-parser/src/test/java/kohl/hadrien/antlr4/GrammarRule.java
  28. +2 −2 java-vtl-script/pom.xml
  29. +149 −134 java-vtl-script/src/main/java/kohl.hadrien.vtl/script/Interpreter.java
  30. +69 −51 java-vtl-script/src/main/java/kohl.hadrien.vtl/script/RenameOperation.java
  31. +69 −54 java-vtl-script/src/main/java/kohl.hadrien.vtl/script/VTLScriptEngine.java
  32. +23 −3 java-vtl-script/src/main/java/kohl.hadrien.vtl/script/connector/Connector.java
  33. +29 −9 java-vtl-script/src/main/java/kohl.hadrien.vtl/script/connector/ConnectorException.java
  34. +29 −9 java-vtl-script/src/main/java/kohl.hadrien.vtl/script/connector/NotFoundException.java
  35. +63 −43 java-vtl-script/src/main/java/kohl.hadrien.vtl/script/visitors/AssignmentVisitor.java
  36. +61 −48 java-vtl-script/src/main/java/kohl.hadrien.vtl/script/visitors/ClauseVisitor.java
  37. +59 −40 java-vtl-script/src/main/java/kohl.hadrien.vtl/script/visitors/ConnectorVisitor.java
  38. +140 −126 java-vtl-script/src/test/java/kohl/hadrien/vtl/script/RenameOperationTest.java
  39. +76 −62 java-vtl-script/src/test/java/kohl/hadrien/vtl/script/VTLScriptEngineTest.java
  40. +3 −3 java-vtl-stream/pom.xml
  41. +50 −1 pom.xml
875 LICENSE

Large diffs are not rendered by default.

@@ -1,8 +1,25 @@
package kohl.hadrien;

/**
* Created by hadrien on 07/09/16.
/*-
* #%L
* java-vtl-model
* %%
* Copyright (C) 2016 Hadrien Kohl
* %%
* 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.
* #L%
*/

public abstract class Attribute<T> extends Component<T> {

public Attribute(Class<T> clazz) {
@@ -1,5 +1,25 @@
package kohl.hadrien;

/*-
* #%L
* java-vtl-model
* %%
* Copyright (C) 2016 Hadrien Kohl
* %%
* 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.
* #L%
*/

import static com.google.common.base.Preconditions.checkNotNull;

import com.google.common.base.MoreObjects;
@@ -1,5 +1,25 @@
package kohl.hadrien;

/*-
* #%L
* java-vtl-model
* %%
* Copyright (C) 2016 Hadrien Kohl
* %%
* 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.
* #L%
*/

import java.util.function.Supplier;

/**
@@ -1,5 +1,25 @@
package kohl.hadrien;

/*-
* #%L
* java-vtl-model
* %%
* Copyright (C) 2016 Hadrien Kohl
* %%
* 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.
* #L%
*/

import java.util.List;

/**
@@ -1,5 +1,25 @@
package kohl.hadrien;

/*-
* #%L
* java-vtl-model
* %%
* Copyright (C) 2016 Hadrien Kohl
* %%
* 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.
* #L%
*/

import java.util.Set;

/**
@@ -1,5 +1,25 @@
package kohl.hadrien;

/*-
* #%L
* java-vtl-model
* %%
* Copyright (C) 2016 Hadrien Kohl
* %%
* 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.
* #L%
*/

import com.google.common.collect.ForwardingMap;
import com.google.common.collect.ImmutableSet;

@@ -1,5 +1,25 @@
package kohl.hadrien;

/*-
* #%L
* java-vtl-model
* %%
* Copyright (C) 2016 Hadrien Kohl
* %%
* 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.
* #L%
*/

import static com.google.common.base.Preconditions.checkNotNull;

import com.google.common.base.MoreObjects;
@@ -1,5 +1,25 @@
package kohl.hadrien;

/*-
* #%L
* java-vtl-model
* %%
* Copyright (C) 2016 Hadrien Kohl
* %%
* 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.
* #L%
*/

import java.util.Comparator;
import java.util.Iterator;
import java.util.Optional;
@@ -1,5 +1,25 @@
package kohl.hadrien;

/*-
* #%L
* java-vtl-model
* %%
* Copyright (C) 2016 Hadrien Kohl
* %%
* 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.
* #L%
*/

/**
* Created by hadrien on 07/09/16.
*/
@@ -1,5 +1,25 @@
package kohl.hadrien;

/*-
* #%L
* java-vtl-model
* %%
* Copyright (C) 2016 Hadrien Kohl
* %%
* 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.
* #L%
*/

/**
* Created by hadrien on 07/09/16.
*/
@@ -1,5 +1,25 @@
package kohl.hadrien;

/*-
* #%L
* java-vtl-model
* %%
* Copyright (C) 2016 Hadrien Kohl
* %%
* 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.
* #L%
*/

/**
* Created by hadrien on 07/09/16.
*/
@@ -1,5 +1,25 @@
package kohl.hadrien;

/*-
* #%L
* java-vtl-model
* %%
* Copyright (C) 2016 Hadrien Kohl
* %%
* 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.
* #L%
*/

/**
* Created by hadrien on 03/10/2016.
*/

This file was deleted.

0 comments on commit e2cccc1

Please sign in to comment.
You can’t perform that action at this time.