Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-generate using ummg 1.6.5 --target-version 1.11 for java classes c… #69

Merged
merged 2 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **PODAAC-5876**
- Update to use CMA 2.0.0, thus allowing 2.0.3 layer for lambda
- Update build to use java 11
- To generate java 11 compatible UMMG schema POJOs, jsonschema2pojo shall make use of command line parameter: --target-version 1.11
### Deprecated
### Removed
### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import java.util.ArrayList;
import java.util.List;
import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -12,7 +11,6 @@
* A reference to an additional attribute in the parent collection. The attribute reference may contain a granule specific value that will override the value in the parent collection for this granule. An attribute with the same name must exist in the parent collection.
*
*/
@Generated("jsonschema2pojo")
public class AdditionalAttributeType {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import java.util.ArrayList;
import java.util.List;
import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -12,7 +11,6 @@
* A boundary is set of points connected by straight lines representing a polygon on the earth. It takes a minimum of three points to make a boundary. Points must be specified in counter-clockwise order and closed (the first and last vertices are the same).
*
*/
@Generated("jsonschema2pojo")
public class BoundaryType {

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

package gov.nasa.cumulus.metadata.umm.generated;

import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -10,7 +9,6 @@
* This entity holds the horizontal spatial coverage of a bounding box.
*
*/
@Generated("jsonschema2pojo")
public class BoundingRectangleType {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import java.util.ArrayList;
import java.util.List;
import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -12,7 +11,6 @@
* Contains the excluded boundaries from the GPolygon.
*
*/
@Generated("jsonschema2pojo")
public class ExclusiveZoneType {

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

package gov.nasa.cumulus.metadata.umm.generated;

import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -10,7 +9,6 @@
* A GPolygon specifies an area on the earth represented by a main boundary with optional boundaries for regions excluded from the main boundary.
*
*/
@Generated("jsonschema2pojo")
public class GPolygonType {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import java.util.LinkedHashSet;
import java.util.Set;
import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -12,7 +11,6 @@
* This entity holds the geometry representing the spatial coverage information of a granule.
*
*/
@Generated("jsonschema2pojo")
public class GeometryType {

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

package gov.nasa.cumulus.metadata.umm.generated;

import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -10,7 +9,6 @@
* Information about a granule with horizontal spatial coverage.
*
*/
@Generated("jsonschema2pojo")
public class HorizontalSpatialDomainType {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import java.util.ArrayList;
import java.util.List;
import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -12,7 +11,6 @@
* This entity holds the horizontal spatial coverage of a line. A line area contains at lease two points.
*
*/
@Generated("jsonschema2pojo")
public class LineType {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import java.util.HashMap;
import java.util.Map;
import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -12,7 +11,6 @@
* This entity stores orbital coverage information of the granule. This coverage is an alternative way of expressing granule spatial coverage. This information supports orbital backtrack searching on a granule.
*
*/
@Generated("jsonschema2pojo")
public class OrbitType {

/**
Expand Down Expand Up @@ -206,7 +204,6 @@ public boolean equals(Object other) {
* Orbit start and end direction. A for ascending orbit and D for descending.
*
*/
@Generated("jsonschema2pojo")
public enum OrbitDirectionTypeEnum {

@SerializedName("A")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

package gov.nasa.cumulus.metadata.umm.generated;

import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -10,7 +9,6 @@
* The longitude and latitude values of a spatially referenced point in degrees.
*
*/
@Generated("jsonschema2pojo")
public class PointType {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import java.util.HashMap;
import java.util.Map;
import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -12,7 +11,6 @@
* This entity holds all types of online URL associated with the granule such as guide document or ordering site etc.
*
*/
@Generated("jsonschema2pojo")
public class RelatedUrlType {

/**
Expand Down Expand Up @@ -257,7 +255,6 @@ public boolean equals(Object other) {
* The unit of the file size.
*
*/
@Generated("jsonschema2pojo")
public enum FileSizeUnitEnum {

@SerializedName("KB")
Expand Down Expand Up @@ -305,7 +302,6 @@ public static RelatedUrlType.FileSizeUnitEnum fromValue(String value) {

}

@Generated("jsonschema2pojo")
public enum MimeTypeEnum {

@SerializedName("application/json")
Expand Down Expand Up @@ -397,7 +393,6 @@ public static RelatedUrlType.MimeTypeEnum fromValue(String value) {

}

@Generated("jsonschema2pojo")
public enum RelatedUrlSubTypeEnum {

@SerializedName("MOBILE APP")
Expand Down Expand Up @@ -569,7 +564,6 @@ public static RelatedUrlType.RelatedUrlSubTypeEnum fromValue(String value) {

}

@Generated("jsonschema2pojo")
public enum RelatedUrlTypeEnum {

@SerializedName("DOWNLOAD SOFTWARE")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import java.util.LinkedHashSet;
import java.util.Set;
import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -12,7 +11,6 @@
* This class contains attributes which describe the spatial extent of a granule. Spatial Extent includes any or all of Granule Localities, Horizontal Spatial Domain, and Vertical Spatial Domain.
*
*/
@Generated("jsonschema2pojo")
public class SpatialExtentType {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import java.util.ArrayList;
import java.util.List;
import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -12,7 +11,6 @@
* This element stores a track pass and its tile information. It will allow a user to search by pass number and their tiles that are contained with in a cycle number. While trying to keep this generic for all to use, this comes from a SWOT requirement where a pass represents a 1/2 orbit. This element will then hold a list of 1/2 orbits and their tiles that together represent the granules spatial extent.
*
*/
@Generated("jsonschema2pojo")
public class TrackPassTileType {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import java.util.ArrayList;
import java.util.List;
import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -12,7 +11,6 @@
* This element stores track information of the granule. Track information is used to allow a user to search for granules whose spatial extent is based on an orbital cycle, pass, and tile mapping. Though it is derived from the SWOT mission requirements, it is intended that this element type be generic enough so that other missions can make use of it. While track information is a type of spatial domain, it is expected that the metadata provider will provide geometry information that matches the spatial extent of the track information.
*
*/
@Generated("jsonschema2pojo")
public class TrackType {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import java.util.HashMap;
import java.util.Map;
import javax.annotation.processing.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

Expand All @@ -12,7 +11,6 @@
* This entity contains the type and value for the granule's vertical spatial domain.
*
*/
@Generated("jsonschema2pojo")
public class VerticalSpatialDomainType {

@SerializedName("Type")
Expand Down Expand Up @@ -179,7 +177,6 @@ public boolean equals(Object other) {
* Describes the unit of the vertical extent value.
*
*/
@Generated("jsonschema2pojo")
public enum Unit {

@SerializedName("Fathoms")
Expand Down Expand Up @@ -235,7 +232,6 @@ public static VerticalSpatialDomainType.Unit fromValue(String value) {

}

@Generated("jsonschema2pojo")
public enum VerticalSpatialDomainTypeEnum {

@SerializedName("Atmosphere Layer")
Expand Down
Loading