package com.capgemini.reports.teamcenter.queries.saved;

import com.capgemini.framework.teamcenter.authent.TcSession;
import com.capgemini.framework.teamcenter.queries.saved.AbstractReplicatedQuery;
import com.teamcenter.soa.client.model.strong.ItemRevision;

/**
 * This class is able to look for ChangeRequest Revision objects in Teamcenter.<br/>
 * This query contains all the sequences of the revisions.
 */
public class ChangeRequestWithSeqQuery extends AbstractReplicatedQuery<ItemRevision, ChangeRequestWithSeqQuery> {

    /**
     * Query name of Teamcenter for request in change objects.
     */
    private static final String QUERY_SUFFIX = "ChangeRequest_With_Seq";

    /**
     * Constructor to build a Query for ChangeRequests objects.
     *
     * @param session {@link TcSession} - the session for the connection
     */
    public ChangeRequestWithSeqQuery(final TcSession session) {
        super(session, QUERY_SUFFIX);
    }

    @Override
    protected ChangeRequestWithSeqQuery selfCast() {
        return this;
    }
}
