-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #288 from mkesmetzis/payBill/newEntites-v2
Pay bill/new entites v2
- Loading branch information
Showing
189 changed files
with
47,894 additions
and
435 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
183 changes: 97 additions & 86 deletions
183
src/main/java/com/bullhornsdk/data/api/mock/MockDataLoader.groovy
Large diffs are not rendered by default.
Oops, something went wrong.
236 changes: 236 additions & 0 deletions
236
.../com/bullhornsdk/data/model/entity/core/certificationrequirement/AbstractRequirement.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,236 @@ | ||
package com.bullhornsdk.data.model.entity.core.certificationrequirement; | ||
|
||
import com.bullhornsdk.data.model.entity.core.paybill.optionslookup.SpecializedOptionsLookup; | ||
import com.bullhornsdk.data.model.entity.core.standard.CandidateCertification; | ||
import com.bullhornsdk.data.model.entity.core.standard.Certification; | ||
import com.bullhornsdk.data.model.entity.core.standard.CorporateUser; | ||
import com.bullhornsdk.data.model.entity.core.type.*; | ||
import com.bullhornsdk.data.model.entity.customfields.CustomFieldsG; | ||
import com.bullhornsdk.data.model.entity.embedded.OneToMany; | ||
import com.bullhornsdk.data.model.entity.file.CandidateFileAttachment; | ||
import com.bullhornsdk.data.model.entity.file.CertificationFileAttachment; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import org.joda.time.DateTime; | ||
|
||
import javax.validation.constraints.Size; | ||
import java.util.Objects; | ||
|
||
/** | ||
* Created by mkesmetzis 27-Apr-20 | ||
*/ | ||
public class AbstractRequirement extends CustomFieldsG implements UpdateEntity, CreateEntity, QueryEntity, | ||
AssociationEntity, EditHistoryEntity { | ||
|
||
private Integer id; | ||
private CandidateCertification candidateCertification; | ||
private Certification certification; | ||
private OneToMany<CertificationFileAttachment> certificationFileAttachments; | ||
private DateTime dateAdded; | ||
private DateTime dateExpiration; | ||
private DateTime documentDeadline; | ||
private OneToMany<CandidateFileAttachment> fileAttachments; | ||
private Integer matchingCredentialCount; | ||
private CorporateUser modifyingUser; | ||
private CorporateUser owner; | ||
private SpecializedOptionsLookup status; | ||
@Size(max = 100) | ||
private String userCertificationName; | ||
@Size(max = 30) | ||
private String userCertificationStatus; | ||
|
||
public AbstractRequirement() { | ||
} | ||
|
||
public AbstractRequirement(Integer id) { | ||
this.id = id; | ||
} | ||
|
||
@Override | ||
@JsonProperty("id") | ||
public Integer getId() { | ||
return id; | ||
} | ||
|
||
@Override | ||
@JsonProperty("id") | ||
public void setId(Integer id) { | ||
this.id = id; | ||
} | ||
|
||
@JsonProperty("candidateCertification") | ||
public CandidateCertification getCandidateCertification() { | ||
return candidateCertification; | ||
} | ||
|
||
@JsonProperty("candidateCertification") | ||
public void setCandidateCertification(CandidateCertification candidateCertification) { | ||
this.candidateCertification = candidateCertification; | ||
} | ||
|
||
@JsonProperty("certification") | ||
public Certification getCertification() { | ||
return certification; | ||
} | ||
|
||
@JsonProperty("certification") | ||
public void setCertification(Certification certification) { | ||
this.certification = certification; | ||
} | ||
|
||
@JsonProperty("certificationFileAttachments") | ||
public OneToMany<CertificationFileAttachment> getCertificationFileAttachments() { | ||
return certificationFileAttachments; | ||
} | ||
|
||
@JsonProperty("certificationFileAttachments") | ||
public void setCertificationFileAttachments(OneToMany<CertificationFileAttachment> certificationFileAttachments) { | ||
this.certificationFileAttachments = certificationFileAttachments; | ||
} | ||
|
||
@JsonProperty("dateAdded") | ||
public DateTime getDateAdded() { | ||
return dateAdded; | ||
} | ||
|
||
@JsonProperty("dateAdded") | ||
public void setDateAdded(DateTime dateAdded) { | ||
this.dateAdded = dateAdded; | ||
} | ||
|
||
@JsonProperty("dateExpiration") | ||
public DateTime getDateExpiration() { | ||
return dateExpiration; | ||
} | ||
|
||
@JsonProperty("dateExpiration") | ||
public void setDateExpiration(DateTime dateExpiration) { | ||
this.dateExpiration = dateExpiration; | ||
} | ||
|
||
@JsonProperty("documentDeadline") | ||
public DateTime getDocumentDeadline() { | ||
return documentDeadline; | ||
} | ||
|
||
@JsonProperty("documentDeadline") | ||
public void setDocumentDeadline(DateTime documentDeadline) { | ||
this.documentDeadline = documentDeadline; | ||
} | ||
|
||
@JsonProperty("fileAttachments") | ||
public OneToMany<CandidateFileAttachment> getFileAttachments() { | ||
return fileAttachments; | ||
} | ||
|
||
@JsonProperty("fileAttachments") | ||
public void setFileAttachments(OneToMany<CandidateFileAttachment> fileAttachments) { | ||
this.fileAttachments = fileAttachments; | ||
} | ||
|
||
@JsonProperty("matchingCredentialCount") | ||
public Integer getMatchingCredentialCount() { | ||
return matchingCredentialCount; | ||
} | ||
|
||
@JsonProperty("matchingCredentialCount") | ||
public void setMatchingCredentialCount(Integer matchingCredentialCount) { | ||
this.matchingCredentialCount = matchingCredentialCount; | ||
} | ||
|
||
@JsonProperty("modifyingUser") | ||
public CorporateUser getModifyingUser() { | ||
return modifyingUser; | ||
} | ||
|
||
@JsonProperty("modifyingUser") | ||
public void setModifyingUser(CorporateUser modifyingUser) { | ||
this.modifyingUser = modifyingUser; | ||
} | ||
|
||
@JsonProperty("owner") | ||
public CorporateUser getOwner() { | ||
return owner; | ||
} | ||
|
||
@JsonProperty("owner") | ||
public void setOwner(CorporateUser owner) { | ||
this.owner = owner; | ||
} | ||
|
||
@JsonProperty("status") | ||
public SpecializedOptionsLookup getStatus() { | ||
return status; | ||
} | ||
|
||
@JsonProperty("status") | ||
public void setStatus(SpecializedOptionsLookup status) { | ||
this.status = status; | ||
} | ||
|
||
@JsonProperty("userCertificationName") | ||
public String getUserCertificationName() { | ||
return userCertificationName; | ||
} | ||
|
||
@JsonProperty("userCertificationName") | ||
public void setUserCertificationName(String userCertificationName) { | ||
this.userCertificationName = userCertificationName; | ||
} | ||
|
||
@JsonProperty("userCertificationStatus") | ||
public String getUserCertificationStatus() { | ||
return userCertificationStatus; | ||
} | ||
|
||
@JsonProperty("userCertificationStatus") | ||
public void setUserCertificationStatus(String userCertificationStatus) { | ||
this.userCertificationStatus = userCertificationStatus; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "CandidateCertificationRequirement{" + | ||
"id=" + id + | ||
", candidateCertification=" + candidateCertification + | ||
", certification=" + certification + | ||
", certificationFileAttachments=" + certificationFileAttachments + | ||
", dateAdded=" + dateAdded + | ||
", dateExpiration=" + dateExpiration + | ||
", documentDeadline=" + documentDeadline + | ||
", fileAttachments=" + fileAttachments + | ||
", matchingCredentialCount=" + matchingCredentialCount + | ||
", modifyingUser=" + modifyingUser + | ||
", owner=" + owner + | ||
", status=" + status + | ||
", userCertificationName='" + userCertificationName + '\'' + | ||
", userCertificationStatus='" + userCertificationStatus + '\'' + | ||
'}'; | ||
} | ||
|
||
@Override | ||
public boolean equals(Object o) { | ||
if (this == o) return true; | ||
if (o == null || getClass() != o.getClass()) return false; | ||
if (!super.equals(o)) return false; | ||
AbstractRequirement that = (AbstractRequirement) o; | ||
return Objects.equals(id, that.id) && | ||
Objects.equals(candidateCertification, that.candidateCertification) && | ||
Objects.equals(certification, that.certification) && | ||
Objects.equals(certificationFileAttachments, that.certificationFileAttachments) && | ||
Objects.equals(dateAdded, that.dateAdded) && | ||
Objects.equals(dateExpiration, that.dateExpiration) && | ||
Objects.equals(documentDeadline, that.documentDeadline) && | ||
Objects.equals(fileAttachments, that.fileAttachments) && | ||
Objects.equals(matchingCredentialCount, that.matchingCredentialCount) && | ||
Objects.equals(modifyingUser, that.modifyingUser) && | ||
Objects.equals(owner, that.owner) && | ||
Objects.equals(status, that.status) && | ||
Objects.equals(userCertificationName, that.userCertificationName) && | ||
Objects.equals(userCertificationStatus, that.userCertificationStatus); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(super.hashCode(), id, candidateCertification, certification, certificationFileAttachments, dateAdded, dateExpiration, documentDeadline, fileAttachments, matchingCredentialCount, modifyingUser, owner, status, userCertificationName, userCertificationStatus); | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
...dk/data/model/entity/core/certificationrequirement/CandidateCertificationRequirement.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,68 @@ | ||
package com.bullhornsdk.data.model.entity.core.certificationrequirement; | ||
|
||
import com.bullhornsdk.data.model.entity.core.standard.Candidate; | ||
import com.bullhornsdk.data.model.entity.core.type.*; | ||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
import com.fasterxml.jackson.annotation.JsonRootName; | ||
|
||
import java.util.Objects; | ||
|
||
/** | ||
* Created by mkesmetzis 27-Apr-20 | ||
*/ | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@JsonRootName(value = "data") | ||
@JsonPropertyOrder({"id", "candidateCertification", "candidate", "certification", "certificationFileAttachments", | ||
"customDate1", "customDate10", "customDate2", "customDate3", "customDate4", "customDate5", "customDate6", | ||
"customDate7", "customDate8", "customDate9", "customFloat1", "customFloat2", "customFloat3", "customInt1", | ||
"customInt2", "customInt3", "customText1", "customText10", "customText2", "customText3", | ||
"customText4", "customText5", "customText6", "customText7", "customText8", "customText9", "customTextBlock1", | ||
"customTextBlock10", "customTextBlock2", "customTextBlock3", "customTextBlock4", "customTextBlock5", "customTextBlock6", | ||
"customTextBlock7", "customTextBlock8", "customTextBlock9", "dateAdded", "dateExpiration", "documentDeadline", | ||
"fileAttachments", "matchingCredentialCount", "modifyingUser", "owner", "status", "userCertificationName", | ||
"userCertificationStatus"}) | ||
public class CandidateCertificationRequirement extends AbstractRequirement implements UpdateEntity, CreateEntity, QueryEntity, | ||
AssociationEntity, EditHistoryEntity { | ||
|
||
private Candidate candidate; | ||
|
||
public CandidateCertificationRequirement() { | ||
} | ||
|
||
public CandidateCertificationRequirement(Integer id) { | ||
super(id); | ||
} | ||
|
||
@JsonProperty("candidate") | ||
public Candidate getCandidate() { | ||
return candidate; | ||
} | ||
|
||
@JsonProperty("candidate") | ||
public void setCandidate(Candidate candidate) { | ||
this.candidate = candidate; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "CandidateCertificationRequirement{" + | ||
"candidate=" + candidate + | ||
'}'; | ||
} | ||
|
||
@Override | ||
public boolean equals(Object o) { | ||
if (this == o) return true; | ||
if (o == null || getClass() != o.getClass()) return false; | ||
if (!super.equals(o)) return false; | ||
CandidateCertificationRequirement that = (CandidateCertificationRequirement) o; | ||
return Objects.equals(candidate, that.candidate); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(super.hashCode(), candidate); | ||
} | ||
} |
Oops, something went wrong.