Class NestedItem
- java.lang.Object
-
- com.epam.ta.reportportal.entity.item.NestedItem
-
- All Implemented Interfaces:
java.io.Serializable
public class NestedItem extends java.lang.Object implements java.io.SerializableEntity for queryLogRepositoryCustom.findNestedItems(Long, boolean, boolean, Queryable, Pageable), consists from eitherLog.idorTestItem.itemIdasidandtypeto identify what kind of entity is it.Required for applying filters and sorting on the db level for different entity types
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NestedItem()NestedItem(java.lang.Long id, java.lang.String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.LonggetId()java.lang.StringgetType()inthashCode()voidsetId(java.lang.Long id)voidsetType(java.lang.String type)
-
-
-
Method Detail
-
getId
public java.lang.Long getId()
-
setId
public void setId(java.lang.Long id)
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-