package com.epam.ta.reportportal.database.entity.history.status;

import com.epam.ta.reportportal.database.entity.Status;
import com.epam.ta.reportportal.database.entity.item.TestItemType;

/**
 * @author Pavel Bortnik
 */
public interface DurationTestItem {
	String getId();

	String getName();

	String getUniqueId();

	Long getDuration();

	Status getStatus();

	TestItemType getType();
}

@@ -1,392 +1,1984 @@
-package com.epam.ta.reportportal.database.entity.history.status;%0A%0Aimport com.epam.ta.reportportal.database.entity.Status;%0Aimport com.epam.ta.reportportal.database.entity.item.TestItemType;%0A%0A/**%0A * @author Pavel Bortnik%0A */%0Apublic interface DurationTestItem %7B%0A%09String getId();%0A%0A%09String getName();%0A%0A%09String getUniqueId();%0A%0A%09Long getDuration();%0A%0A%09Status getStatus();%0A%0A%09TestItemType getType();
+/*%0A * Copyright 2017 EPAM Systems%0A *%0A *%0A * This file is part of EPAM Report Portal.%0A * https://github.com/reportportal/commons-dao%0A *%0A * Report Portal is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU General Public License as published by%0A * the Free Software Foundation, either version 3 of the License, or%0A * (at your option) any later version.%0A *%0A * Report Portal is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A * GNU General Public License for more details.%0A *%0A * You should have received a copy of the GNU General Public License%0A * along with Report Portal.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A */%0Apackage com.epam.ta.reportportal.database.entity.history.status;%0A%0Aimport com.epam.ta.reportportal.database.entity.Status;%0Aimport com.epam.ta.reportportal.database.entity.item.TestItemType;%0A%0Aimport java.io.Serializable;%0A%0A/**%0A * Does not db object. Represents results of query%0A * %7B@link com.epam.ta.reportportal.database.dao.TestItemRepositoryCustom#findMostTimeConsumingTestItems(String, int)%7D%7D%0A * aggregation query.%0A *%0A * @author Pavel Bortnik%0A */%0Apublic class DurationTestItem implements Serializable %7B%0A%0A%09private String id;%0A%0A%09private String name;%0A%0A%09private String uniqueId;%0A%0A%09private Status status;%0A%0A%09private TestItemType type;%0A%0A%09public String getId() %7B%0A%09%09return id;%0A%09%7D%0A%0A%09public void setId(String id) %7B%0A%09%09this.id = id;%0A%09%7D%0A%0A%09public String getName() %7B%0A%09%09return name;%0A%09%7D%0A%0A%09public void setName(String name) %7B%0A%09%09this.name = name;%0A%09%7D%0A%0A%09public String getUniqueId() %7B%0A%09%09return uniqueId;%0A%09%7D%0A%0A%09public void setUniqueId(String uniqueId) %7B%0A%09%09this.uniqueId = uniqueId;%0A%09%7D%0A%0A%09public Status getStatus() %7B%0A%09%09return status;%0A%09%7D%0A%0A%09public void setStatus(Status status) %7B%0A%09%09this.status = status;%0A%09%7D%0A%0A%09public TestItemType getType() %7B%0A%09%09return type;%0A%09%7D%0A%0A%09public void setType(TestItemType type) %7B%0A%09%09this.type = type;%0A%09%7D
 %0A%7D%0A

update duration result object