View Javadoc
1   /*******************************************************************************
2    * Portions created by Sebastian Thomschke are copyright (c) 2005-2015 Sebastian
3    * Thomschke.
4    *
5    * All Rights Reserved. This program and the accompanying materials
6    * are made available under the terms of the Eclipse Public License v1.0
7    * which accompanies this distribution, and is available at
8    * http://www.eclipse.org/legal/epl-v10.html
9    *
10   * Contributors:
11   *     Sebastian Thomschke - initial implementation.
12   *******************************************************************************/
13  package net.sf.oval;
14  
15  /**
16   * @author Sebastian Thomschke
17   */
18  public enum ConstraintTarget
19  {
20  	/**
21  	 * apply the constraint to the keys of a map
22  	 */
23  	KEYS,
24  
25  	/**
26  	 * apply the constraint to the values of a the map / the items of the collection / the elements of the array
27  	 */
28  	VALUES,
29  
30  	/**
31  	 * recursively apply the constraint to items of keys and values in case they are lists or arrays themselves
32  	 */
33  	RECURSIVE,
34  
35  	/**
36  	 * apply the constraint to the collection / map / array object itself
37  	 */
38  	CONTAINER
39  }