package edu.asu.spring.quadriga.domain.impl.workbench;
import java.util.Date;
import org.springframework.stereotype.Service;
import edu.asu.spring.quadriga.domain.conceptcollection.IConceptCollection;
import edu.asu.spring.quadriga.domain.workbench.IProject;
import edu.asu.spring.quadriga.domain.workbench.IProjectConceptCollection;
@Service
public class ProjectConceptCollection implements IProjectConceptCollection
{
private IProject project;
private IConceptCollection conceptCollection;
private String createdBy;
private Date createdDate;
private String updatedBy;
private Date updatedDate;
@Override
public IProject getProject() {
return project;
}
@Override
public void setProject(IProject project) {
this.project = project;
}
@Override
public IConceptCollection getConceptCollection() {
return conceptCollection;
}
@Override
public void setConceptCollection(IConceptCollection conceptCollection) {
this.conceptCollection = conceptCollection;
}
@Override
public String getCreatedBy() {
return createdBy;
}
@Override
public void setCreatedBy(String createdBy) {
this.createdBy = createdBy;
}
@Override
public Date getCreatedDate() {
return createdDate;
}
@Override
public void setCreatedDate(Date createdDate) {
this.createdDate = createdDate;
}
@Override
public String getUpdatedBy() {
return updatedBy;
}
@Override
public void setUpdatedBy(String updatedBy) {
this.updatedBy = updatedBy;
}
@Override
public Date getUpdatedDate() {
return updatedDate;
}
@Override
public void setUpdatedDate(Date updatedDate) {
this.updatedDate = updatedDate;
}
/*@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime
* result
+ ((conceptCollection == null) ? 0 : conceptCollection
.hashCode());
result = prime * result
+ ((createdBy == null) ? 0 : createdBy.hashCode());
result = prime * result
+ ((createdDate == null) ? 0 : createdDate.hashCode());
result = prime * result + ((project == null) ? 0 : project.hashCode());
result = prime * result
+ ((updatedBy == null) ? 0 : updatedBy.hashCode());
result = prime * result
+ ((updatedDate == null) ? 0 : updatedDate.hashCode());
return result;
}*/
/*@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
ProjectConceptCollection other = (ProjectConceptCollection) obj;
if (conceptCollection == null) {
if (other.conceptCollection != null)
return false;
} else if (!conceptCollection.equals(other.conceptCollection))
return false;
if (createdBy == null) {
if (other.createdBy != null)
return false;
} else if (!createdBy.equals(other.createdBy))
return false;
if (createdDate == null) {
if (other.createdDate != null)
return false;
} else if (!createdDate.equals(other.createdDate))
return false;
if (project == null) {
if (other.project != null)
return false;
} else if (!project.equals(other.project))
return false;
if (updatedBy == null) {
if (other.updatedBy != null)
return false;
} else if (!updatedBy.equals(other.updatedBy))
return false;
if (updatedDate == null) {
if (other.updatedDate != null)
return false;
} else if (!updatedDate.equals(other.updatedDate))
return false;
return true;
}*/
}