uk.ac.ebi.ep.mm.app
Class CustomEntity
java.lang.Object
uk.ac.ebi.ep.mm.app.CustomEntity
public final class CustomEntity
- extends Object
the aim of this class if to provide a transfer object ( place holder) for the entities that will be returned from the hibernate query
- Author:
- joseph
CustomEntity
public CustomEntity()
CustomEntity
public CustomEntity(Compounds compounds)
CustomEntity
public CustomEntity(Reference reference)
CustomEntity
public CustomEntity(Compounds compounds,
Reference reference)
CustomEntity
public CustomEntity(String chebiAccession,
String name,
String reference_id,
String reference_name,
String relation)
getCompounds
public Compounds getCompounds()
getReference
public Reference getReference()
getRelationship
public String getRelationship()
setRelationship
public void setRelationship(String relationship)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 EMBL-EBI. All Rights Reserved.