@Entity public class CriterionEntity extends IdEntity
Constructor and Description |
---|
CriterionEntity(java.util.Set<TagEntity> tags)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
void |
setTags(java.util.Set<TagEntity> tags)
Set all the tags associated to this criterion.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getId
public CriterionEntity(@Nullable java.util.Set<TagEntity> tags)
tags
- The tags to associate with this criterionpublic void setTags(@Nullable java.util.Set<TagEntity> tags)
tags
- The criterion tags to setpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object