@Entity public class CriterionEntity extends IdEntity
| Constructor and Description |
|---|
CriterionEntity(java.lang.String uniqueId,
java.lang.String name,
java.lang.String version,
java.lang.String status,
java.util.Set<TagEntity> tags)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<java.lang.String> |
getName()
Get the name this criterion was using if there was one.
|
java.util.Optional<java.lang.String> |
getStatus()
Get the status this criterion was using if there was one.
|
java.util.Optional<java.lang.String> |
getUniqueId()
Get the unique id this criterion was using if there was one.
|
java.util.Optional<java.lang.String> |
getVersion()
Get the version this criterion was using if there was one.
|
int |
hashCode() |
void |
setName(java.lang.String name)
Set the name this criterion used.
|
void |
setStatus(java.lang.String status)
Set the status this criterion used.
|
void |
setTags(java.util.Set<TagEntity> tags)
Set all the tags associated to this criterion.
|
void |
setUniqueId(java.lang.String uniqueId)
Set the unique id this criterion used.
|
void |
setVersion(java.lang.String version)
Set the version this criterion used.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetIdpublic CriterionEntity(@Nullable
java.lang.String uniqueId,
@Nullable
java.lang.String name,
@Nullable
java.lang.String version,
@Nullable
java.lang.String status,
@Nullable
java.util.Set<TagEntity> tags)
uniqueId - The unique id of the resource this criterion is or was trying to matchname - The name of the resource this criterion is or was trying to matchversion - The version of the resource this criterion is or was trying to matchstatus - The status of the resource this criterion is or was trying to matchtags - The tags on the resource this criterion is or was trying to matchpublic java.util.Optional<java.lang.String> getUniqueId()
Optionalpublic void setUniqueId(@Nullable
java.lang.String uniqueId)
uniqueId - The unique id to setpublic java.util.Optional<java.lang.String> getName()
Optionalpublic void setName(@Nullable
java.lang.String name)
name - The name to setpublic java.util.Optional<java.lang.String> getVersion()
Optionalpublic void setVersion(@Nullable
java.lang.String version)
version - The version to setpublic java.util.Optional<java.lang.String> getStatus()
Optionalpublic void setStatus(@Nullable
java.lang.String status)
status - The version to setpublic 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.Objectpublic int hashCode()
hashCode in class java.lang.Object