001    package org.kuali.rice.kew.api.document.lookup;
002    
003    import javax.xml.bind.annotation.XmlEnum;
004    import javax.xml.bind.annotation.XmlRootElement;
005    import javax.xml.bind.annotation.XmlType;
006    
007    /**
008     * Defines flags that can be used during document lookup to indicate what relation the route node name being searched on
009     * should have to the current route node of the documents being searched.
010     *
011     * @author Kuali Rice Team (rice.collab@kuali.org)
012     */
013    @XmlRootElement(name = "routeNodeLookupLogic")
014    @XmlType(name = "RouteNodeLookupLogicType")
015    @XmlEnum
016    public enum RouteNodeLookupLogic {
017    
018        /**
019         * Indicates that the document should be exactly at the specified route node in it's route path.
020         */
021        EXACTLY,
022    
023        /**
024         * Indicates that the document should currently be somewhere before the specified route node in it's route path.
025         */
026        BEFORE,
027    
028        /**
029         * Indicates that the document should currently be somewhere after the specified route node in it's route path.
030         */
031        AFTER
032    
033    }