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.
 */
public class ChangeRequestQuery extends AbstractReplicatedQuery<ItemRevision, ChangeRequestQuery> {

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

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

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

}
