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

model.Versioningstatus Maven / Gradle / Ivy

There is a newer version: 2.5.21
Show newest version
package model;

import jakarta.persistence.*;

import java.sql.Timestamp;
import java.util.Collection;

@Entity
public class Versioningstatus {
    @Id
    @Column(name = "version_id", nullable = false, length = 100)
    private String versionId;
    @Basic
    @Column(name = "instance_id", nullable = true, length = 100)
    private String instanceId;
    @Basic
    @Column(name = "meta_id", nullable = true, length = 100)
    private String metaId;
    @Basic
    @Column(name = "uid", nullable = true, length = 100)
    private String uid;
    @Basic
    @Column(name = "instance_change_id", nullable = true, length = 1024)
    private String instanceChangeId;
    @Basic
    @Column(name = "provenance", nullable = true, length = 1024)
    private String provenance;
    @Basic
    @Column(name = "editor_id", nullable = true, length = 1024)
    private String editorId;
    @Basic
    @Column(name = "reviewer_id", nullable = true, length = 100)
    private String reviewerId;
    @Basic
    @Column(name = "review_comment", nullable = true, length = 1024)
    private String reviewComment;
    @Basic
    @Column(name = "change_comment", nullable = true, length = -1)
    private String changeComment;
    @Basic
    @Column(name = "change_timestamp", nullable = true)
    private Timestamp changeTimestamp;
    @Basic
    @Column(name = "version", nullable = true, length = 1024)
    private String version;
    @Basic
    @Column(name = "status", nullable = true)
    @Enumerated(EnumType.STRING)
    private StatusType status;
    @OneToMany(mappedBy = "versioningstatusByVersionId")
    private Collection
addressesByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection categoriesByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection categorySchemesByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection contactpointsByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection dataproductsByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection dataproductDescriptionsByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection dataproductProvenancesByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection dataproductTitlesByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection distributionsByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection distributionDescriptionsByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection distributionTitlesByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection elementsByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection equipmentByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection facilitiesByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection identifiersByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection mappingsByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection operationsByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection organizationsByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection organizationLegalnamesByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection peopleByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection publicationsByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection servicesByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection softwareapplicationsByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection softwaresourcecodesByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection spatialsByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection temporalsByVersionId; @OneToMany(mappedBy = "versioningstatusByVersionId") private Collection webservicesByVersionId; public String getVersionId() { return versionId; } public void setVersionId(String versionId) { this.versionId = versionId; } public String getInstanceId() { return instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } public String getMetaId() { return metaId; } public void setMetaId(String metaId) { this.metaId = metaId; } public String getUid() { return uid; } public void setUid(String uid) { this.uid = uid; } public String getInstanceChangeId() { return instanceChangeId; } public void setInstanceChangeId(String instanceChangeId) { this.instanceChangeId = instanceChangeId; } public String getProvenance() { return provenance; } public void setProvenance(String provenance) { this.provenance = provenance; } public String getEditorId() { return editorId; } public void setEditorId(String editorId) { this.editorId = editorId; } public String getReviewerId() { return reviewerId; } public void setReviewerId(String reviewerId) { this.reviewerId = reviewerId; } public String getReviewComment() { return reviewComment; } public void setReviewComment(String reviewComment) { this.reviewComment = reviewComment; } public String getChangeComment() { return changeComment; } public void setChangeComment(String changeComment) { this.changeComment = changeComment; } public Timestamp getChangeTimestamp() { return changeTimestamp; } public void setChangeTimestamp(Timestamp changeTimestamp) { this.changeTimestamp = changeTimestamp; } public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } public StatusType getStatus() { return status; } public void setStatus(StatusType status) { this.status = status; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Versioningstatus that = (Versioningstatus) o; if (versionId != null ? !versionId.equals(that.versionId) : that.versionId != null) return false; if (instanceId != null ? !instanceId.equals(that.instanceId) : that.instanceId != null) return false; if (metaId != null ? !metaId.equals(that.metaId) : that.metaId != null) return false; if (instanceChangeId != null ? !instanceChangeId.equals(that.instanceChangeId) : that.instanceChangeId != null) return false; if (provenance != null ? !provenance.equals(that.provenance) : that.provenance != null) return false; if (editorId != null ? !editorId.equals(that.editorId) : that.editorId != null) return false; if (reviewerId != null ? !reviewerId.equals(that.reviewerId) : that.reviewerId != null) return false; if (reviewComment != null ? !reviewComment.equals(that.reviewComment) : that.reviewComment != null) return false; if (changeComment != null ? !changeComment.equals(that.changeComment) : that.changeComment != null) return false; if (changeTimestamp != null ? !changeTimestamp.equals(that.changeTimestamp) : that.changeTimestamp != null) return false; if (version != null ? !version.equals(that.version) : that.version != null) return false; if (status != null ? !status.equals(that.status) : that.status != null) return false; return true; } @Override public int hashCode() { int result = versionId != null ? versionId.hashCode() : 0; result = 31 * result + (instanceId != null ? instanceId.hashCode() : 0); result = 31 * result + (metaId != null ? metaId.hashCode() : 0); result = 31 * result + (instanceChangeId != null ? instanceChangeId.hashCode() : 0); result = 31 * result + (provenance != null ? provenance.hashCode() : 0); result = 31 * result + (editorId != null ? editorId.hashCode() : 0); result = 31 * result + (reviewerId != null ? reviewerId.hashCode() : 0); result = 31 * result + (reviewComment != null ? reviewComment.hashCode() : 0); result = 31 * result + (changeComment != null ? changeComment.hashCode() : 0); result = 31 * result + (changeTimestamp != null ? changeTimestamp.hashCode() : 0); result = 31 * result + (version != null ? version.hashCode() : 0); result = 31 * result + (status != null ? status.hashCode() : 0); return result; } public Collection
getAddressesByVersionId() { return addressesByVersionId; } public void setAddressesByVersionId(Collection
addressesByVersionId) { this.addressesByVersionId = addressesByVersionId; } public Collection getCategoriesByVersionId() { return categoriesByVersionId; } public void setCategoriesByVersionId(Collection categoriesByVersionId) { this.categoriesByVersionId = categoriesByVersionId; } public Collection getCategorySchemesByVersionId() { return categorySchemesByVersionId; } public void setCategorySchemesByVersionId(Collection categorySchemesByVersionId) { this.categorySchemesByVersionId = categorySchemesByVersionId; } public Collection getContactpointsByVersionId() { return contactpointsByVersionId; } public void setContactpointsByVersionId(Collection contactpointsByVersionId) { this.contactpointsByVersionId = contactpointsByVersionId; } public Collection getDataproductsByVersionId() { return dataproductsByVersionId; } public void setDataproductsByVersionId(Collection dataproductsByVersionId) { this.dataproductsByVersionId = dataproductsByVersionId; } public Collection getDataproductDescriptionsByVersionId() { return dataproductDescriptionsByVersionId; } public void setDataproductDescriptionsByVersionId(Collection dataproductDescriptionsByVersionId) { this.dataproductDescriptionsByVersionId = dataproductDescriptionsByVersionId; } public Collection getDataproductProvenancesByVersionId() { return dataproductProvenancesByVersionId; } public void setDataproductProvenancesByVersionId(Collection dataproductProvenancesByVersionId) { this.dataproductProvenancesByVersionId = dataproductProvenancesByVersionId; } public Collection getDataproductTitlesByVersionId() { return dataproductTitlesByVersionId; } public void setDataproductTitlesByVersionId(Collection dataproductTitlesByVersionId) { this.dataproductTitlesByVersionId = dataproductTitlesByVersionId; } public Collection getDistributionsByVersionId() { return distributionsByVersionId; } public void setDistributionsByVersionId(Collection distributionsByVersionId) { this.distributionsByVersionId = distributionsByVersionId; } public Collection getDistributionDescriptionsByVersionId() { return distributionDescriptionsByVersionId; } public void setDistributionDescriptionsByVersionId(Collection distributionDescriptionsByVersionId) { this.distributionDescriptionsByVersionId = distributionDescriptionsByVersionId; } public Collection getDistributionTitlesByVersionId() { return distributionTitlesByVersionId; } public void setDistributionTitlesByVersionId(Collection distributionTitlesByVersionId) { this.distributionTitlesByVersionId = distributionTitlesByVersionId; } public Collection getElementsByVersionId() { return elementsByVersionId; } public void setElementsByVersionId(Collection elementsByVersionId) { this.elementsByVersionId = elementsByVersionId; } public Collection getEquipmentByVersionId() { return equipmentByVersionId; } public void setEquipmentByVersionId(Collection equipmentByVersionId) { this.equipmentByVersionId = equipmentByVersionId; } public Collection getFacilitiesByVersionId() { return facilitiesByVersionId; } public void setFacilitiesByVersionId(Collection facilitiesByVersionId) { this.facilitiesByVersionId = facilitiesByVersionId; } public Collection getIdentifiersByVersionId() { return identifiersByVersionId; } public void setIdentifiersByVersionId(Collection identifiersByVersionId) { this.identifiersByVersionId = identifiersByVersionId; } public Collection getMappingsByVersionId() { return mappingsByVersionId; } public void setMappingsByVersionId(Collection mappingsByVersionId) { this.mappingsByVersionId = mappingsByVersionId; } public Collection getOperationsByVersionId() { return operationsByVersionId; } public void setOperationsByVersionId(Collection operationsByVersionId) { this.operationsByVersionId = operationsByVersionId; } public Collection getOrganizationsByVersionId() { return organizationsByVersionId; } public void setOrganizationsByVersionId(Collection organizationsByVersionId) { this.organizationsByVersionId = organizationsByVersionId; } public Collection getOrganizationLegalnamesByVersionId() { return organizationLegalnamesByVersionId; } public void setOrganizationLegalnamesByVersionId(Collection organizationLegalnamesByVersionId) { this.organizationLegalnamesByVersionId = organizationLegalnamesByVersionId; } public Collection getPeopleByVersionId() { return peopleByVersionId; } public void setPeopleByVersionId(Collection peopleByVersionId) { this.peopleByVersionId = peopleByVersionId; } public Collection getPublicationsByVersionId() { return publicationsByVersionId; } public void setPublicationsByVersionId(Collection publicationsByVersionId) { this.publicationsByVersionId = publicationsByVersionId; } public Collection getServicesByVersionId() { return servicesByVersionId; } public void setServicesByVersionId(Collection servicesByVersionId) { this.servicesByVersionId = servicesByVersionId; } public Collection getSoftwareapplicationsByVersionId() { return softwareapplicationsByVersionId; } public void setSoftwareapplicationsByVersionId(Collection softwareapplicationsByVersionId) { this.softwareapplicationsByVersionId = softwareapplicationsByVersionId; } public Collection getSoftwaresourcecodesByVersionId() { return softwaresourcecodesByVersionId; } public void setSoftwaresourcecodesByVersionId(Collection softwaresourcecodesByVersionId) { this.softwaresourcecodesByVersionId = softwaresourcecodesByVersionId; } public Collection getSpatialsByVersionId() { return spatialsByVersionId; } public void setSpatialsByVersionId(Collection spatialsByVersionId) { this.spatialsByVersionId = spatialsByVersionId; } public Collection getTemporalsByVersionId() { return temporalsByVersionId; } public void setTemporalsByVersionId(Collection temporalsByVersionId) { this.temporalsByVersionId = temporalsByVersionId; } public Collection getWebservicesByVersionId() { return webservicesByVersionId; } public void setWebservicesByVersionId(Collection webservicesByVersionId) { this.webservicesByVersionId = webservicesByVersionId; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy