package com.capgemini.framework.teamcenter.resolution.filtering;

/** Interface for a filter that act on an item's type. */
public interface ITcTypeFilter {

    /**
     * Returns <code>true</code> if the type provided should be excluded by this filter.
     * 
     * @param type the type to assess
     * @return <code>true</code> if the type is to be excluded, false otherwise.
     */
    boolean isExcluded(final String type);

    /**
     * Returns <code>true</code> if the type provided should be included by this filter.
     * 
     * @param type the type to assess
     * @return <code>true</code> if the type is to be included, false if it is to be excluded.
     */
    boolean isIncluded(final String type);

}
