/** * Create an instance of {@link Education } * */ public Education createEducation() { return new Education(); }
@Generated(value = "com.sun.tools.xjc.Driver", date = "2018-04-24T11:17:38-05:00", comments = "JAXB RI v2.2.11") public String toString() { final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); }
@Generated(value = "com.sun.tools.xjc.Driver", date = "2018-04-24T11:17:38-05:00", comments = "JAXB RI v2.2.11") public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { super.appendFields(locator, buffer, strategy); { String theDepartmentName; theDepartmentName = this.getDepartmentName(); strategy.appendField(locator, this, "departmentName", buffer, theDepartmentName); } { String theRoleTitle; theRoleTitle = this.getRoleTitle(); strategy.appendField(locator, this, "roleTitle", buffer, theRoleTitle); } { FuzzyDate theStartDate; theStartDate = this.getStartDate(); strategy.appendField(locator, this, "startDate", buffer, theStartDate); } { FuzzyDate theEndDate; theEndDate = this.getEndDate(); strategy.appendField(locator, this, "endDate", buffer, theEndDate); } { Organization theOrganization; theOrganization = this.getOrganization(); strategy.appendField(locator, this, "organization", buffer, theOrganization); } return buffer; }
public void validateEducation(Education education, SourceEntity sourceEntity, boolean createFlag, boolean isApiRequest, Visibility originalVisibility) { if (education.getPutCode() != null && createFlag) { Map<String, String> params = new HashMap<String, String>(); if (sourceEntity != null) { params.put("clientName", SourceEntityUtils.getSourceName(sourceEntity)); } throw new InvalidPutCodeException(params); } // Check that we are not changing the visibility if (isApiRequest && !createFlag) { Visibility updatedVisibility = education.getVisibility(); validateVisibilityDoesntChange(updatedVisibility, originalVisibility); } if (isApiRequest) { if (education.getEndDate() != null) { validateFuzzyDate(education.getEndDate()); } if (education.getStartDate() != null) { validateFuzzyDate(education.getStartDate()); } } }
@Generated(value = "com.sun.tools.xjc.Driver", date = "2018-04-24T11:17:38-05:00", comments = "JAXB RI v2.2.11") 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; }
OrgAffiliationRelationEntity educationEntity = orgAffiliationRelationDao.getOrgAffiliationRelation(orcid, education.getPutCode()); SourceEntity sourceEntity = sourceManager.retrieveSourceEntity();