diff options
| author | Alexandru Simion <mailto:al.simion@jacobs-university.de> | 2009-04-14 21:28:53 +0200 |
|---|---|---|
| committer | Sorin Stancu-Mara <smsorin@gmail.com> | 2009-04-14 23:46:35 +0200 |
| commit | 3422ca8a8a7a0870e416a54b9bd00f1c2cd70173 (patch) | |
| tree | 8af2e9b3721e5c2f14fb5731ae8efe08781e0d9f /src/wcps/server | |
| parent | aade634cb098aaebe383d45a21195c44e3d3f071 (diff) | |
Changed headers - added LGPL boilerplate text and removed unnecessary headers
Diffstat (limited to 'src/wcps/server')
34 files changed, 755 insertions, 7 deletions
diff --git a/src/wcps/server/cli/WCPService.java b/src/wcps/server/cli/WCPService.java index 0f12e8f..4ad9403 100644 --- a/src/wcps/server/cli/WCPService.java +++ b/src/wcps/server/cli/WCPService.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.cli; import java.io.File; diff --git a/src/wcps/server/core/BinaryOperationCoverageExprType.java b/src/wcps/server/core/BinaryOperationCoverageExprType.java index 66aeba2..1a2be55 100644 --- a/src/wcps/server/core/BinaryOperationCoverageExprType.java +++ b/src/wcps/server/core/BinaryOperationCoverageExprType.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import org.w3c.dom.*; diff --git a/src/wcps/server/core/BooleanScalarExprType.java b/src/wcps/server/core/BooleanScalarExprType.java index 34d2596..ff76398 100644 --- a/src/wcps/server/core/BooleanScalarExprType.java +++ b/src/wcps/server/core/BooleanScalarExprType.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import org.w3c.dom.*; @@ -33,4 +55,4 @@ public class BooleanScalarExprType implements IRasNode { if (op.equals("not")) return "not(" + first.toRasQL() + ")"; return "(" + first.toRasQL() + ")" + op + "(" + second.toRasQL() + ")"; } -}
\ No newline at end of file +} diff --git a/src/wcps/server/core/CachedMetadataSource.java b/src/wcps/server/core/CachedMetadataSource.java index fd2a7a3..8b9fa30 100644 --- a/src/wcps/server/core/CachedMetadataSource.java +++ b/src/wcps/server/core/CachedMetadataSource.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import java.util.HashMap; diff --git a/src/wcps/server/core/CellDomainElement.java b/src/wcps/server/core/CellDomainElement.java index fff1b2c..c8c55ef 100644 --- a/src/wcps/server/core/CellDomainElement.java +++ b/src/wcps/server/core/CellDomainElement.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import java.math.BigInteger; diff --git a/src/wcps/server/core/CombineRangeCoverageExprType.java b/src/wcps/server/core/CombineRangeCoverageExprType.java index 67410aa..94131e8 100644 --- a/src/wcps/server/core/CombineRangeCoverageExprType.java +++ b/src/wcps/server/core/CombineRangeCoverageExprType.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import org.w3c.dom.*; @@ -11,4 +33,4 @@ public class CombineRangeCoverageExprType implements IRasNode, ICoverageInfo { public String toRasQL() { return ""; } public CoverageInfo getCoverageInfo() { return null; } -}
\ No newline at end of file +} diff --git a/src/wcps/server/core/CoordinateType.java b/src/wcps/server/core/CoordinateType.java index 6b1a2e8..4a8eea5 100644 --- a/src/wcps/server/core/CoordinateType.java +++ b/src/wcps/server/core/CoordinateType.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import org.w3c.dom.*; diff --git a/src/wcps/server/core/CoverageExprType.java b/src/wcps/server/core/CoverageExprType.java index 5bef286..f5fa49d 100644 --- a/src/wcps/server/core/CoverageExprType.java +++ b/src/wcps/server/core/CoverageExprType.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import org.w3c.dom.*; diff --git a/src/wcps/server/core/CoverageInfo.java b/src/wcps/server/core/CoverageInfo.java index b118bb1..cdc6ebd 100644 --- a/src/wcps/server/core/CoverageInfo.java +++ b/src/wcps/server/core/CoverageInfo.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import java.util.ArrayList; diff --git a/src/wcps/server/core/CoverageIterator.java b/src/wcps/server/core/CoverageIterator.java index 2aa9579..fcbe463 100644 --- a/src/wcps/server/core/CoverageIterator.java +++ b/src/wcps/server/core/CoverageIterator.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import org.w3c.dom.*; diff --git a/src/wcps/server/core/CrsTransformCoverageExprType.java b/src/wcps/server/core/CrsTransformCoverageExprType.java index 926ab53..92c32c2 100644 --- a/src/wcps/server/core/CrsTransformCoverageExprType.java +++ b/src/wcps/server/core/CrsTransformCoverageExprType.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import org.w3c.dom.*; @@ -11,4 +33,4 @@ public class CrsTransformCoverageExprType implements IRasNode, ICoverageInfo { public String toRasQL() { return ""; } public CoverageInfo getCoverageInfo() { return null; } -}
\ No newline at end of file +} diff --git a/src/wcps/server/core/DbMetadataSource.java b/src/wcps/server/core/DbMetadataSource.java index fb982dd..5017a1c 100644 --- a/src/wcps/server/core/DbMetadataSource.java +++ b/src/wcps/server/core/DbMetadataSource.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import java.math.BigInteger; diff --git a/src/wcps/server/core/DomainElement.java b/src/wcps/server/core/DomainElement.java index dd19b04..65ad3ba 100644 --- a/src/wcps/server/core/DomainElement.java +++ b/src/wcps/server/core/DomainElement.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import java.util.HashSet; diff --git a/src/wcps/server/core/EncodeDataExprType.java b/src/wcps/server/core/EncodeDataExprType.java index 5bb74ff..762f493 100644 --- a/src/wcps/server/core/EncodeDataExprType.java +++ b/src/wcps/server/core/EncodeDataExprType.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import org.w3c.dom.*; diff --git a/src/wcps/server/core/ExtendCoverageExprType.java b/src/wcps/server/core/ExtendCoverageExprType.java index 57e3b27..b8ba061 100644 --- a/src/wcps/server/core/ExtendCoverageExprType.java +++ b/src/wcps/server/core/ExtendCoverageExprType.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import org.w3c.dom.*; diff --git a/src/wcps/server/core/ICoverageInfo.java b/src/wcps/server/core/ICoverageInfo.java index bfc1bef..ef96501 100644 --- a/src/wcps/server/core/ICoverageInfo.java +++ b/src/wcps/server/core/ICoverageInfo.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; interface ICoverageInfo { diff --git a/src/wcps/server/core/IRasNode.java b/src/wcps/server/core/IRasNode.java index 3fe38e7..6f254e0 100644 --- a/src/wcps/server/core/IRasNode.java +++ b/src/wcps/server/core/IRasNode.java @@ -1,5 +1,27 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; interface IRasNode { public String toRasQL(); -}
\ No newline at end of file +} diff --git a/src/wcps/server/core/InterpolationMethod.java b/src/wcps/server/core/InterpolationMethod.java index 2c582eb..beffa89 100644 --- a/src/wcps/server/core/InterpolationMethod.java +++ b/src/wcps/server/core/InterpolationMethod.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; // A pair of an interpolation type and a null resistance. See the WCPS standard for an explanation of these. diff --git a/src/wcps/server/core/InvalidMetadataException.java b/src/wcps/server/core/InvalidMetadataException.java index 27c2615..4bdee60 100644 --- a/src/wcps/server/core/InvalidMetadataException.java +++ b/src/wcps/server/core/InvalidMetadataException.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; // Thrown when WCPS received a request, but could not evaluate it because the metadata for some coverage does not conform to the WCPS standard. diff --git a/src/wcps/server/core/InvalidRequestException.java b/src/wcps/server/core/InvalidRequestException.java index ce0acad..7b3ed64 100644 --- a/src/wcps/server/core/InvalidRequestException.java +++ b/src/wcps/server/core/InvalidRequestException.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; // This exception is throws whenever a user submits a request that is not valid in some way. diff --git a/src/wcps/server/core/Metadata.java b/src/wcps/server/core/Metadata.java index 0f86a6f..e6ca778 100644 --- a/src/wcps/server/core/Metadata.java +++ b/src/wcps/server/core/Metadata.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import java.math.BigInteger; diff --git a/src/wcps/server/core/MetadataSource.java b/src/wcps/server/core/MetadataSource.java index 5403a15..44fad23 100644 --- a/src/wcps/server/core/MetadataSource.java +++ b/src/wcps/server/core/MetadataSource.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import java.util.Set; diff --git a/src/wcps/server/core/ProcessCoverageRequest.java b/src/wcps/server/core/ProcessCoverageRequest.java index 08cb076..81ff8d5 100644 --- a/src/wcps/server/core/ProcessCoverageRequest.java +++ b/src/wcps/server/core/ProcessCoverageRequest.java @@ -1,10 +1,32 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; + import org.w3c.dom.*; import java.util.ArrayList; import java.util.Iterator; import java.util.List; - import org.odmg.Database; import org.odmg.DBag; import org.odmg.Implementation; @@ -16,7 +38,6 @@ import org.xml.sax.SAXException; import rasj.RasGMArray; import rasj.RasImplementation; - // A ProcessCoverage request is just a list of rasdaman queries. public class ProcessCoverageRequest { diff --git a/src/wcps/server/core/RangeElement.java b/src/wcps/server/core/RangeElement.java index 7d38753..1b8aadc 100644 --- a/src/wcps/server/core/RangeElement.java +++ b/src/wcps/server/core/RangeElement.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; // A single component of a coverage's range. See the WCPS standard for more information. diff --git a/src/wcps/server/core/ReduceScalarExprType.java b/src/wcps/server/core/ReduceScalarExprType.java index 2cbbe08..300aad5 100644 --- a/src/wcps/server/core/ReduceScalarExprType.java +++ b/src/wcps/server/core/ReduceScalarExprType.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import org.w3c.dom.*; @@ -26,4 +48,4 @@ public class ReduceScalarExprType implements IRasNode { return op + "(" + expr.toRasQL() +")"; } -}
\ No newline at end of file +} diff --git a/src/wcps/server/core/ResourceException.java b/src/wcps/server/core/ResourceException.java index 44bf7b3..e096b6a 100644 --- a/src/wcps/server/core/ResourceException.java +++ b/src/wcps/server/core/ResourceException.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; // This exception is thrown whenever some required resource is not available - a database connection, file, whatever. diff --git a/src/wcps/server/core/SDU.java b/src/wcps/server/core/SDU.java index d0ca9de..d1a9693 100644 --- a/src/wcps/server/core/SDU.java +++ b/src/wcps/server/core/SDU.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import java.math.BigInteger; diff --git a/src/wcps/server/core/ScalarExprType.java b/src/wcps/server/core/ScalarExprType.java index 4c3a57d..baf70f8 100644 --- a/src/wcps/server/core/ScalarExprType.java +++ b/src/wcps/server/core/ScalarExprType.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import org.w3c.dom.*; diff --git a/src/wcps/server/core/SliceCoverageExprType.java b/src/wcps/server/core/SliceCoverageExprType.java index 86b3513..60152a6 100644 --- a/src/wcps/server/core/SliceCoverageExprType.java +++ b/src/wcps/server/core/SliceCoverageExprType.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import org.w3c.dom.*; diff --git a/src/wcps/server/core/TrimCoverageExprType.java b/src/wcps/server/core/TrimCoverageExprType.java index 8b222ff..43ffb58 100644 --- a/src/wcps/server/core/TrimCoverageExprType.java +++ b/src/wcps/server/core/TrimCoverageExprType.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import org.w3c.dom.*; diff --git a/src/wcps/server/core/UnaryOperationCoverageExprType.java b/src/wcps/server/core/UnaryOperationCoverageExprType.java index 9f412ee..6bea162 100644 --- a/src/wcps/server/core/UnaryOperationCoverageExprType.java +++ b/src/wcps/server/core/UnaryOperationCoverageExprType.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import org.w3c.dom.*; diff --git a/src/wcps/server/core/WCPS.java b/src/wcps/server/core/WCPS.java index d644198..619dde3 100644 --- a/src/wcps/server/core/WCPS.java +++ b/src/wcps/server/core/WCPS.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; import java.io.File; diff --git a/src/wcps/server/core/WCPSException.java b/src/wcps/server/core/WCPSException.java index 0ccc769..5ff94d8 100644 --- a/src/wcps/server/core/WCPSException.java +++ b/src/wcps/server/core/WCPSException.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.core; // This is the superclass of all WCPS exceptions. diff --git a/src/wcps/server/servlet/WCPService.java b/src/wcps/server/servlet/WCPService.java index 60e5b14..20c3181 100644 --- a/src/wcps/server/servlet/WCPService.java +++ b/src/wcps/server/servlet/WCPService.java @@ -1,3 +1,25 @@ +/* + * This file is part of %PACKAGENAME%. + * + * %PACKAGENAME% is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * %PACKAGENAME% is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>. + * + * For more information please see <http://www.%PACKAGENAME%.org> + * or contact Peter Baumann via <baumann@rasdaman.com>. + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package wcps.server.servlet; import java.io.File; @@ -27,6 +49,7 @@ import syntaxParser.WCPSRequest; import syntaxParser.SyntaxErrorException; import java.io.StringBufferInputStream; import org.xml.sax.InputSource; + // This is the servlet interface of WCPS. It mostly consists of sanity checks ana initialization, the meat is onyl a few lines. The WCPS class does the actual work. // Note an important limitation: this will only return the first result if several are available. The reason is that WCPS currently has no standardized way to return multiple byte streams to the user. |
