forked from usdot-jpo-ode/jpo-ode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into open-ode
- Loading branch information
Showing
16 changed files
with
337 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 31 additions & 10 deletions
41
jpo-ode-plugins/src/main/java/us/dot/its/jpo/ode/plugin/j2735/timstorage/Advisory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,39 @@ | ||
package us.dot.its.jpo.ode.plugin.j2735.timstorage; | ||
|
||
import java.util.Arrays; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
import us.dot.its.jpo.ode.plugin.asn1.Asn1Object; | ||
|
||
public class Advisory extends Asn1Object { | ||
private static final long serialVersionUID = 1L; | ||
@JsonProperty("SEQUENCE") | ||
private Sequence[] SEQUENCE; | ||
|
||
public Sequence[] getSEQUENCE() { | ||
return SEQUENCE; | ||
} | ||
public void setSEQUENCE(Sequence[] sEQUENCE) { | ||
SEQUENCE = sEQUENCE; | ||
} | ||
private static final long serialVersionUID = 1L; | ||
@JsonProperty("SEQUENCE") | ||
private Items[] SEQUENCE; | ||
public Items[] getSEQUENCE() { | ||
return SEQUENCE; | ||
} | ||
public void setSEQUENCE(Items[] sEQUENCE) { | ||
SEQUENCE = sEQUENCE; | ||
} | ||
@Override | ||
public int hashCode() { | ||
final int prime = 31; | ||
int result = 1; | ||
result = prime * result + Arrays.hashCode(SEQUENCE); | ||
return result; | ||
} | ||
@Override | ||
public boolean equals(Object obj) { | ||
if (this == obj) | ||
return true; | ||
if (obj == null) | ||
return false; | ||
if (getClass() != obj.getClass()) | ||
return false; | ||
Advisory other = (Advisory) obj; | ||
if (!Arrays.equals(SEQUENCE, other.SEQUENCE)) | ||
return false; | ||
return true; | ||
} | ||
} |
20 changes: 0 additions & 20 deletions
20
jpo-ode-plugins/src/main/java/us/dot/its/jpo/ode/plugin/j2735/timstorage/DataFrame.java
This file was deleted.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
jpo-ode-plugins/src/main/java/us/dot/its/jpo/ode/plugin/j2735/timstorage/DataFrames.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package us.dot.its.jpo.ode.plugin.j2735.timstorage; | ||
|
||
import java.util.Arrays; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
import us.dot.its.jpo.ode.model.OdeObject; | ||
|
||
public class DataFrames extends OdeObject { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
@JsonProperty("TravelerDataFrame") | ||
private TravelerDataFrame[] TravelerDataFrame; | ||
|
||
public TravelerDataFrame[] getTravelerDataFrame() { | ||
return TravelerDataFrame; | ||
} | ||
|
||
public void setTravelerDataFrame(TravelerDataFrame[] travelerDataFrame) { | ||
TravelerDataFrame = travelerDataFrame; | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
final int prime = 31; | ||
int result = 1; | ||
result = prime * result + Arrays.hashCode(TravelerDataFrame); | ||
return result; | ||
} | ||
|
||
@Override | ||
public boolean equals(Object obj) { | ||
if (this == obj) | ||
return true; | ||
if (obj == null) | ||
return false; | ||
if (getClass() != obj.getClass()) | ||
return false; | ||
DataFrames other = (DataFrames) obj; | ||
if (!Arrays.equals(TravelerDataFrame, other.TravelerDataFrame)) | ||
return false; | ||
return true; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
jpo-ode-plugins/src/main/java/us/dot/its/jpo/ode/plugin/j2735/timstorage/Items.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package us.dot.its.jpo.ode.plugin.j2735.timstorage; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
import us.dot.its.jpo.ode.plugin.asn1.Asn1Object; | ||
|
||
public class Items extends Asn1Object { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
@JsonProperty("item") | ||
private Item item; | ||
|
||
public Item getItem() { | ||
return item; | ||
} | ||
|
||
public void setItem(Item item) { | ||
this.item = item; | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
final int prime = 31; | ||
int result = 1; | ||
result = prime * result + ((item == null) ? 0 : item.hashCode()); | ||
return result; | ||
} | ||
|
||
@Override | ||
public boolean equals(Object obj) { | ||
if (this == obj) | ||
return true; | ||
if (obj == null) | ||
return false; | ||
if (getClass() != obj.getClass()) | ||
return false; | ||
Items other = (Items) obj; | ||
if (item == null) { | ||
if (other.item != null) | ||
return false; | ||
} else if (!item.equals(other.item)) | ||
return false; | ||
return true; | ||
} | ||
|
||
} |
23 changes: 0 additions & 23 deletions
23
jpo-ode-plugins/src/main/java/us/dot/its/jpo/ode/plugin/j2735/timstorage/Region.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.