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 FPP Revision objects in Teamcenter.<br/>
 * This query contains all the sequences of the revisions.
 */
public class FppWithSeqQuery extends AbstractReplicatedQuery<ItemRevision, FppWithSeqQuery> {

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

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

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