All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fish.focus.uvms.activity.model.schemas.FishingActivitySummary Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2022.03.17 at 02:46:49 PM CET 
//


package fish.focus.uvms.activity.model.schemas;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * 

Java class for FishingActivitySummary complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="FishingActivitySummary">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="activityId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="faReportID" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="activityType" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="geometry" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="acceptedDateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="dataSource" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="reportType" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="purposeCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="vesselName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="vesselGuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="tripId" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="flagState" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="isCorrection" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="gears" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="species" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="ports" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="areas" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="vesselIdentifiers" type="{http://focus.fish/uvms/activity/model/schemas}VesselIdentifierType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="occurence" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="landingReferencedID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="landingState" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="vesselContactParty" type="{http://focus.fish/uvms/activity/model/schemas}VesselContactPartyType" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FishingActivitySummary", propOrder = { "activityId", "faReportID", "activityType", "geometry", "acceptedDateTime", "dataSource", "reportType", "purposeCode", "vesselName", "vesselGuid", "tripId", "flagState", "isCorrection", "gears", "species", "ports", "areas", "vesselIdentifiers", "occurence", "landingReferencedID", "landingState", "vesselContactParty" }) public class FishingActivitySummary implements Serializable, Equals, HashCode, ToString { private final static long serialVersionUID = 1L; protected int activityId; protected int faReportID; @XmlElement(required = true) protected String activityType; @XmlElement(required = true) protected String geometry; @XmlElement(required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar acceptedDateTime; @XmlElement(required = true) protected String dataSource; @XmlElement(required = true) protected String reportType; @XmlElement(required = true) protected String purposeCode; @XmlElement(required = true) protected String vesselName; @XmlElement(required = true) protected String vesselGuid; @XmlElement(required = true) protected String tripId; @XmlElement(required = true) protected String flagState; protected boolean isCorrection; protected List gears; protected List species; protected List ports; protected List areas; protected List vesselIdentifiers; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar occurence; protected String landingReferencedID; protected String landingState; protected VesselContactPartyType vesselContactParty; /** * Default no-arg constructor * */ public FishingActivitySummary() { super(); } /** * Fully-initialising value constructor * */ public FishingActivitySummary(final int activityId, final int faReportID, final String activityType, final String geometry, final XMLGregorianCalendar acceptedDateTime, final String dataSource, final String reportType, final String purposeCode, final String vesselName, final String vesselGuid, final String tripId, final String flagState, final boolean isCorrection, final List gears, final List species, final List ports, final List areas, final List vesselIdentifiers, final XMLGregorianCalendar occurence, final String landingReferencedID, final String landingState, final VesselContactPartyType vesselContactParty) { this.activityId = activityId; this.faReportID = faReportID; this.activityType = activityType; this.geometry = geometry; this.acceptedDateTime = acceptedDateTime; this.dataSource = dataSource; this.reportType = reportType; this.purposeCode = purposeCode; this.vesselName = vesselName; this.vesselGuid = vesselGuid; this.tripId = tripId; this.flagState = flagState; this.isCorrection = isCorrection; this.gears = gears; this.species = species; this.ports = ports; this.areas = areas; this.vesselIdentifiers = vesselIdentifiers; this.occurence = occurence; this.landingReferencedID = landingReferencedID; this.landingState = landingState; this.vesselContactParty = vesselContactParty; } /** * Gets the value of the activityId property. * */ public int getActivityId() { return activityId; } /** * Sets the value of the activityId property. * */ public void setActivityId(int value) { this.activityId = value; } /** * Gets the value of the faReportID property. * */ public int getFaReportID() { return faReportID; } /** * Sets the value of the faReportID property. * */ public void setFaReportID(int value) { this.faReportID = value; } /** * Gets the value of the activityType property. * * @return * possible object is * {@link String } * */ public String getActivityType() { return activityType; } /** * Sets the value of the activityType property. * * @param value * allowed object is * {@link String } * */ public void setActivityType(String value) { this.activityType = value; } /** * Gets the value of the geometry property. * * @return * possible object is * {@link String } * */ public String getGeometry() { return geometry; } /** * Sets the value of the geometry property. * * @param value * allowed object is * {@link String } * */ public void setGeometry(String value) { this.geometry = value; } /** * Gets the value of the acceptedDateTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getAcceptedDateTime() { return acceptedDateTime; } /** * Sets the value of the acceptedDateTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setAcceptedDateTime(XMLGregorianCalendar value) { this.acceptedDateTime = value; } /** * Gets the value of the dataSource property. * * @return * possible object is * {@link String } * */ public String getDataSource() { return dataSource; } /** * Sets the value of the dataSource property. * * @param value * allowed object is * {@link String } * */ public void setDataSource(String value) { this.dataSource = value; } /** * Gets the value of the reportType property. * * @return * possible object is * {@link String } * */ public String getReportType() { return reportType; } /** * Sets the value of the reportType property. * * @param value * allowed object is * {@link String } * */ public void setReportType(String value) { this.reportType = value; } /** * Gets the value of the purposeCode property. * * @return * possible object is * {@link String } * */ public String getPurposeCode() { return purposeCode; } /** * Sets the value of the purposeCode property. * * @param value * allowed object is * {@link String } * */ public void setPurposeCode(String value) { this.purposeCode = value; } /** * Gets the value of the vesselName property. * * @return * possible object is * {@link String } * */ public String getVesselName() { return vesselName; } /** * Sets the value of the vesselName property. * * @param value * allowed object is * {@link String } * */ public void setVesselName(String value) { this.vesselName = value; } /** * Gets the value of the vesselGuid property. * * @return * possible object is * {@link String } * */ public String getVesselGuid() { return vesselGuid; } /** * Sets the value of the vesselGuid property. * * @param value * allowed object is * {@link String } * */ public void setVesselGuid(String value) { this.vesselGuid = value; } /** * Gets the value of the tripId property. * * @return * possible object is * {@link String } * */ public String getTripId() { return tripId; } /** * Sets the value of the tripId property. * * @param value * allowed object is * {@link String } * */ public void setTripId(String value) { this.tripId = value; } /** * Gets the value of the flagState property. * * @return * possible object is * {@link String } * */ public String getFlagState() { return flagState; } /** * Sets the value of the flagState property. * * @param value * allowed object is * {@link String } * */ public void setFlagState(String value) { this.flagState = value; } /** * Gets the value of the isCorrection property. * */ public boolean isIsCorrection() { return isCorrection; } /** * Sets the value of the isCorrection property. * */ public void setIsCorrection(boolean value) { this.isCorrection = value; } /** * Gets the value of the gears property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the gears property. * *

* For example, to add a new item, do as follows: *

     *    getGears().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getGears() { if (gears == null) { gears = new ArrayList(); } return this.gears; } /** * Gets the value of the species property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the species property. * *

* For example, to add a new item, do as follows: *

     *    getSpecies().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getSpecies() { if (species == null) { species = new ArrayList(); } return this.species; } /** * Gets the value of the ports property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the ports property. * *

* For example, to add a new item, do as follows: *

     *    getPorts().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getPorts() { if (ports == null) { ports = new ArrayList(); } return this.ports; } /** * Gets the value of the areas property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the areas property. * *

* For example, to add a new item, do as follows: *

     *    getAreas().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getAreas() { if (areas == null) { areas = new ArrayList(); } return this.areas; } /** * Gets the value of the vesselIdentifiers property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the vesselIdentifiers property. * *

* For example, to add a new item, do as follows: *

     *    getVesselIdentifiers().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VesselIdentifierType } * * */ public List getVesselIdentifiers() { if (vesselIdentifiers == null) { vesselIdentifiers = new ArrayList(); } return this.vesselIdentifiers; } /** * Gets the value of the occurence property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getOccurence() { return occurence; } /** * Sets the value of the occurence property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setOccurence(XMLGregorianCalendar value) { this.occurence = value; } /** * Gets the value of the landingReferencedID property. * * @return * possible object is * {@link String } * */ public String getLandingReferencedID() { return landingReferencedID; } /** * Sets the value of the landingReferencedID property. * * @param value * allowed object is * {@link String } * */ public void setLandingReferencedID(String value) { this.landingReferencedID = value; } /** * Gets the value of the landingState property. * * @return * possible object is * {@link String } * */ public String getLandingState() { return landingState; } /** * Sets the value of the landingState property. * * @param value * allowed object is * {@link String } * */ public void setLandingState(String value) { this.landingState = value; } /** * Gets the value of the vesselContactParty property. * * @return * possible object is * {@link VesselContactPartyType } * */ public VesselContactPartyType getVesselContactParty() { return vesselContactParty; } /** * Sets the value of the vesselContactParty property. * * @param value * allowed object is * {@link VesselContactPartyType } * */ public void setVesselContactParty(VesselContactPartyType value) { this.vesselContactParty = value; } public String toString() { final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { int theActivityId; theActivityId = this.getActivityId(); strategy.appendField(locator, this, "activityId", buffer, theActivityId); } { int theFaReportID; theFaReportID = this.getFaReportID(); strategy.appendField(locator, this, "faReportID", buffer, theFaReportID); } { String theActivityType; theActivityType = this.getActivityType(); strategy.appendField(locator, this, "activityType", buffer, theActivityType); } { String theGeometry; theGeometry = this.getGeometry(); strategy.appendField(locator, this, "geometry", buffer, theGeometry); } { XMLGregorianCalendar theAcceptedDateTime; theAcceptedDateTime = this.getAcceptedDateTime(); strategy.appendField(locator, this, "acceptedDateTime", buffer, theAcceptedDateTime); } { String theDataSource; theDataSource = this.getDataSource(); strategy.appendField(locator, this, "dataSource", buffer, theDataSource); } { String theReportType; theReportType = this.getReportType(); strategy.appendField(locator, this, "reportType", buffer, theReportType); } { String thePurposeCode; thePurposeCode = this.getPurposeCode(); strategy.appendField(locator, this, "purposeCode", buffer, thePurposeCode); } { String theVesselName; theVesselName = this.getVesselName(); strategy.appendField(locator, this, "vesselName", buffer, theVesselName); } { String theVesselGuid; theVesselGuid = this.getVesselGuid(); strategy.appendField(locator, this, "vesselGuid", buffer, theVesselGuid); } { String theTripId; theTripId = this.getTripId(); strategy.appendField(locator, this, "tripId", buffer, theTripId); } { String theFlagState; theFlagState = this.getFlagState(); strategy.appendField(locator, this, "flagState", buffer, theFlagState); } { boolean theIsCorrection; theIsCorrection = this.isIsCorrection(); strategy.appendField(locator, this, "isCorrection", buffer, theIsCorrection); } { List theGears; theGears = (((this.gears!= null)&&(!this.gears.isEmpty()))?this.getGears():null); strategy.appendField(locator, this, "gears", buffer, theGears); } { List theSpecies; theSpecies = (((this.species!= null)&&(!this.species.isEmpty()))?this.getSpecies():null); strategy.appendField(locator, this, "species", buffer, theSpecies); } { List thePorts; thePorts = (((this.ports!= null)&&(!this.ports.isEmpty()))?this.getPorts():null); strategy.appendField(locator, this, "ports", buffer, thePorts); } { List theAreas; theAreas = (((this.areas!= null)&&(!this.areas.isEmpty()))?this.getAreas():null); strategy.appendField(locator, this, "areas", buffer, theAreas); } { List theVesselIdentifiers; theVesselIdentifiers = (((this.vesselIdentifiers!= null)&&(!this.vesselIdentifiers.isEmpty()))?this.getVesselIdentifiers():null); strategy.appendField(locator, this, "vesselIdentifiers", buffer, theVesselIdentifiers); } { XMLGregorianCalendar theOccurence; theOccurence = this.getOccurence(); strategy.appendField(locator, this, "occurence", buffer, theOccurence); } { String theLandingReferencedID; theLandingReferencedID = this.getLandingReferencedID(); strategy.appendField(locator, this, "landingReferencedID", buffer, theLandingReferencedID); } { String theLandingState; theLandingState = this.getLandingState(); strategy.appendField(locator, this, "landingState", buffer, theLandingState); } { VesselContactPartyType theVesselContactParty; theVesselContactParty = this.getVesselContactParty(); strategy.appendField(locator, this, "vesselContactParty", buffer, theVesselContactParty); } return buffer; } public void setGears(List value) { this.gears = value; } public void setSpecies(List value) { this.species = value; } public void setPorts(List value) { this.ports = value; } public void setAreas(List value) { this.areas = value; } public void setVesselIdentifiers(List value) { this.vesselIdentifiers = value; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof FishingActivitySummary)) { return false; } if (this == object) { return true; } final FishingActivitySummary that = ((FishingActivitySummary) object); { int lhsActivityId; lhsActivityId = this.getActivityId(); int rhsActivityId; rhsActivityId = that.getActivityId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "activityId", lhsActivityId), LocatorUtils.property(thatLocator, "activityId", rhsActivityId), lhsActivityId, rhsActivityId)) { return false; } } { int lhsFaReportID; lhsFaReportID = this.getFaReportID(); int rhsFaReportID; rhsFaReportID = that.getFaReportID(); if (!strategy.equals(LocatorUtils.property(thisLocator, "faReportID", lhsFaReportID), LocatorUtils.property(thatLocator, "faReportID", rhsFaReportID), lhsFaReportID, rhsFaReportID)) { return false; } } { String lhsActivityType; lhsActivityType = this.getActivityType(); String rhsActivityType; rhsActivityType = that.getActivityType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "activityType", lhsActivityType), LocatorUtils.property(thatLocator, "activityType", rhsActivityType), lhsActivityType, rhsActivityType)) { return false; } } { String lhsGeometry; lhsGeometry = this.getGeometry(); String rhsGeometry; rhsGeometry = that.getGeometry(); if (!strategy.equals(LocatorUtils.property(thisLocator, "geometry", lhsGeometry), LocatorUtils.property(thatLocator, "geometry", rhsGeometry), lhsGeometry, rhsGeometry)) { return false; } } { XMLGregorianCalendar lhsAcceptedDateTime; lhsAcceptedDateTime = this.getAcceptedDateTime(); XMLGregorianCalendar rhsAcceptedDateTime; rhsAcceptedDateTime = that.getAcceptedDateTime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "acceptedDateTime", lhsAcceptedDateTime), LocatorUtils.property(thatLocator, "acceptedDateTime", rhsAcceptedDateTime), lhsAcceptedDateTime, rhsAcceptedDateTime)) { return false; } } { String lhsDataSource; lhsDataSource = this.getDataSource(); String rhsDataSource; rhsDataSource = that.getDataSource(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dataSource", lhsDataSource), LocatorUtils.property(thatLocator, "dataSource", rhsDataSource), lhsDataSource, rhsDataSource)) { return false; } } { String lhsReportType; lhsReportType = this.getReportType(); String rhsReportType; rhsReportType = that.getReportType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "reportType", lhsReportType), LocatorUtils.property(thatLocator, "reportType", rhsReportType), lhsReportType, rhsReportType)) { return false; } } { String lhsPurposeCode; lhsPurposeCode = this.getPurposeCode(); String rhsPurposeCode; rhsPurposeCode = that.getPurposeCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "purposeCode", lhsPurposeCode), LocatorUtils.property(thatLocator, "purposeCode", rhsPurposeCode), lhsPurposeCode, rhsPurposeCode)) { return false; } } { String lhsVesselName; lhsVesselName = this.getVesselName(); String rhsVesselName; rhsVesselName = that.getVesselName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "vesselName", lhsVesselName), LocatorUtils.property(thatLocator, "vesselName", rhsVesselName), lhsVesselName, rhsVesselName)) { return false; } } { String lhsVesselGuid; lhsVesselGuid = this.getVesselGuid(); String rhsVesselGuid; rhsVesselGuid = that.getVesselGuid(); if (!strategy.equals(LocatorUtils.property(thisLocator, "vesselGuid", lhsVesselGuid), LocatorUtils.property(thatLocator, "vesselGuid", rhsVesselGuid), lhsVesselGuid, rhsVesselGuid)) { return false; } } { String lhsTripId; lhsTripId = this.getTripId(); String rhsTripId; rhsTripId = that.getTripId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "tripId", lhsTripId), LocatorUtils.property(thatLocator, "tripId", rhsTripId), lhsTripId, rhsTripId)) { return false; } } { String lhsFlagState; lhsFlagState = this.getFlagState(); String rhsFlagState; rhsFlagState = that.getFlagState(); if (!strategy.equals(LocatorUtils.property(thisLocator, "flagState", lhsFlagState), LocatorUtils.property(thatLocator, "flagState", rhsFlagState), lhsFlagState, rhsFlagState)) { return false; } } { boolean lhsIsCorrection; lhsIsCorrection = this.isIsCorrection(); boolean rhsIsCorrection; rhsIsCorrection = that.isIsCorrection(); if (!strategy.equals(LocatorUtils.property(thisLocator, "isCorrection", lhsIsCorrection), LocatorUtils.property(thatLocator, "isCorrection", rhsIsCorrection), lhsIsCorrection, rhsIsCorrection)) { return false; } } { List lhsGears; lhsGears = (((this.gears!= null)&&(!this.gears.isEmpty()))?this.getGears():null); List rhsGears; rhsGears = (((that.gears!= null)&&(!that.gears.isEmpty()))?that.getGears():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "gears", lhsGears), LocatorUtils.property(thatLocator, "gears", rhsGears), lhsGears, rhsGears)) { return false; } } { List lhsSpecies; lhsSpecies = (((this.species!= null)&&(!this.species.isEmpty()))?this.getSpecies():null); List rhsSpecies; rhsSpecies = (((that.species!= null)&&(!that.species.isEmpty()))?that.getSpecies():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "species", lhsSpecies), LocatorUtils.property(thatLocator, "species", rhsSpecies), lhsSpecies, rhsSpecies)) { return false; } } { List lhsPorts; lhsPorts = (((this.ports!= null)&&(!this.ports.isEmpty()))?this.getPorts():null); List rhsPorts; rhsPorts = (((that.ports!= null)&&(!that.ports.isEmpty()))?that.getPorts():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "ports", lhsPorts), LocatorUtils.property(thatLocator, "ports", rhsPorts), lhsPorts, rhsPorts)) { return false; } } { List lhsAreas; lhsAreas = (((this.areas!= null)&&(!this.areas.isEmpty()))?this.getAreas():null); List rhsAreas; rhsAreas = (((that.areas!= null)&&(!that.areas.isEmpty()))?that.getAreas():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "areas", lhsAreas), LocatorUtils.property(thatLocator, "areas", rhsAreas), lhsAreas, rhsAreas)) { return false; } } { List lhsVesselIdentifiers; lhsVesselIdentifiers = (((this.vesselIdentifiers!= null)&&(!this.vesselIdentifiers.isEmpty()))?this.getVesselIdentifiers():null); List rhsVesselIdentifiers; rhsVesselIdentifiers = (((that.vesselIdentifiers!= null)&&(!that.vesselIdentifiers.isEmpty()))?that.getVesselIdentifiers():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "vesselIdentifiers", lhsVesselIdentifiers), LocatorUtils.property(thatLocator, "vesselIdentifiers", rhsVesselIdentifiers), lhsVesselIdentifiers, rhsVesselIdentifiers)) { return false; } } { XMLGregorianCalendar lhsOccurence; lhsOccurence = this.getOccurence(); XMLGregorianCalendar rhsOccurence; rhsOccurence = that.getOccurence(); if (!strategy.equals(LocatorUtils.property(thisLocator, "occurence", lhsOccurence), LocatorUtils.property(thatLocator, "occurence", rhsOccurence), lhsOccurence, rhsOccurence)) { return false; } } { String lhsLandingReferencedID; lhsLandingReferencedID = this.getLandingReferencedID(); String rhsLandingReferencedID; rhsLandingReferencedID = that.getLandingReferencedID(); if (!strategy.equals(LocatorUtils.property(thisLocator, "landingReferencedID", lhsLandingReferencedID), LocatorUtils.property(thatLocator, "landingReferencedID", rhsLandingReferencedID), lhsLandingReferencedID, rhsLandingReferencedID)) { return false; } } { String lhsLandingState; lhsLandingState = this.getLandingState(); String rhsLandingState; rhsLandingState = that.getLandingState(); if (!strategy.equals(LocatorUtils.property(thisLocator, "landingState", lhsLandingState), LocatorUtils.property(thatLocator, "landingState", rhsLandingState), lhsLandingState, rhsLandingState)) { return false; } } { VesselContactPartyType lhsVesselContactParty; lhsVesselContactParty = this.getVesselContactParty(); VesselContactPartyType rhsVesselContactParty; rhsVesselContactParty = that.getVesselContactParty(); if (!strategy.equals(LocatorUtils.property(thisLocator, "vesselContactParty", lhsVesselContactParty), LocatorUtils.property(thatLocator, "vesselContactParty", rhsVesselContactParty), lhsVesselContactParty, rhsVesselContactParty)) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { int theActivityId; theActivityId = this.getActivityId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "activityId", theActivityId), currentHashCode, theActivityId); } { int theFaReportID; theFaReportID = this.getFaReportID(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "faReportID", theFaReportID), currentHashCode, theFaReportID); } { String theActivityType; theActivityType = this.getActivityType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "activityType", theActivityType), currentHashCode, theActivityType); } { String theGeometry; theGeometry = this.getGeometry(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "geometry", theGeometry), currentHashCode, theGeometry); } { XMLGregorianCalendar theAcceptedDateTime; theAcceptedDateTime = this.getAcceptedDateTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "acceptedDateTime", theAcceptedDateTime), currentHashCode, theAcceptedDateTime); } { String theDataSource; theDataSource = this.getDataSource(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dataSource", theDataSource), currentHashCode, theDataSource); } { String theReportType; theReportType = this.getReportType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "reportType", theReportType), currentHashCode, theReportType); } { String thePurposeCode; thePurposeCode = this.getPurposeCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "purposeCode", thePurposeCode), currentHashCode, thePurposeCode); } { String theVesselName; theVesselName = this.getVesselName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "vesselName", theVesselName), currentHashCode, theVesselName); } { String theVesselGuid; theVesselGuid = this.getVesselGuid(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "vesselGuid", theVesselGuid), currentHashCode, theVesselGuid); } { String theTripId; theTripId = this.getTripId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tripId", theTripId), currentHashCode, theTripId); } { String theFlagState; theFlagState = this.getFlagState(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "flagState", theFlagState), currentHashCode, theFlagState); } { boolean theIsCorrection; theIsCorrection = this.isIsCorrection(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "isCorrection", theIsCorrection), currentHashCode, theIsCorrection); } { List theGears; theGears = (((this.gears!= null)&&(!this.gears.isEmpty()))?this.getGears():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "gears", theGears), currentHashCode, theGears); } { List theSpecies; theSpecies = (((this.species!= null)&&(!this.species.isEmpty()))?this.getSpecies():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "species", theSpecies), currentHashCode, theSpecies); } { List thePorts; thePorts = (((this.ports!= null)&&(!this.ports.isEmpty()))?this.getPorts():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ports", thePorts), currentHashCode, thePorts); } { List theAreas; theAreas = (((this.areas!= null)&&(!this.areas.isEmpty()))?this.getAreas():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "areas", theAreas), currentHashCode, theAreas); } { List theVesselIdentifiers; theVesselIdentifiers = (((this.vesselIdentifiers!= null)&&(!this.vesselIdentifiers.isEmpty()))?this.getVesselIdentifiers():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "vesselIdentifiers", theVesselIdentifiers), currentHashCode, theVesselIdentifiers); } { XMLGregorianCalendar theOccurence; theOccurence = this.getOccurence(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "occurence", theOccurence), currentHashCode, theOccurence); } { String theLandingReferencedID; theLandingReferencedID = this.getLandingReferencedID(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "landingReferencedID", theLandingReferencedID), currentHashCode, theLandingReferencedID); } { String theLandingState; theLandingState = this.getLandingState(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "landingState", theLandingState), currentHashCode, theLandingState); } { VesselContactPartyType theVesselContactParty; theVesselContactParty = this.getVesselContactParty(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "vesselContactParty", theVesselContactParty), currentHashCode, theVesselContactParty); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy