* <p>
* @return Headquarters data
*/
- HeadQuartersData getHeadQuartersData ();
+ HeadQuartersData getCompanyHeadQuartersData ();
/**
* Setter for headquarters data
* <p>
* @param headQuartersData Headquarters data
*/
- void setHeadQuartersData (final HeadQuartersData headQuartersData);
+ void setCompanyHeadQuartersData (final HeadQuartersData headQuartersData);
/**
* Getter for user owner instance
*/
@JoinColumn (name = "company_headquarters_data_id")
@OneToOne (targetEntity = CompanyHeadQuartersData.class, cascade = CascadeType.ALL)
- private HeadQuartersData headQuartersData;
+ private HeadQuartersData companyHeadQuartersData;
@Override
public boolean equals (final Object object) {
return false;
} else if (!Objects.equals(this.getCompanyName(), other.getCompanyName())) {
return false;
- } else if (!Objects.equals(this.getHeadQuartersData(), other.getHeadQuartersData())) {
+ } else if (!Objects.equals(this.getCompanyHeadQuartersData(), other.getCompanyHeadQuartersData())) {
return false;
} else if (!Objects.equals(this.getCompanyContactEmployee(), other.getCompanyContactEmployee())) {
return false;
}
@Override
- public HeadQuartersData getHeadQuartersData () {
- return this.headQuartersData;
+ public HeadQuartersData getCompanyHeadQuartersData () {
+ return this.companyHeadQuartersData;
}
@Override
- public void setHeadQuartersData (final HeadQuartersData headQuartersData) {
- this.headQuartersData = headQuartersData;
+ public void setCompanyHeadQuartersData (final HeadQuartersData companyHeadQuartersData) {
+ this.companyHeadQuartersData = companyHeadQuartersData;
}
@Override
hash = 37 * hash + Objects.hashCode(this.getBusinessDataId());
hash = 37 * hash + Objects.hashCode(this.getCompanyName());
- hash = 37 * hash + Objects.hashCode(this.getHeadQuartersData());
+ hash = 37 * hash + Objects.hashCode(this.getCompanyHeadQuartersData());
hash = 37 * hash + Objects.hashCode(this.getCompanyContactEmployee());
hash = 37 * hash + Objects.hashCode(this.getCompanyFounder());