001 /*******************************************************************************
002 * Portions created by Sebastian Thomschke are copyright (c) 2005-2011 Sebastian
003 * Thomschke.
004 *
005 * All Rights Reserved. This program and the accompanying materials
006 * are made available under the terms of the Eclipse Public License v1.0
007 * which accompanies this distribution, and is available at
008 * http://www.eclipse.org/legal/epl-v10.html
009 *
010 * Contributors:
011 * Sebastian Thomschke - initial implementation.
012 *******************************************************************************/
013 package net.sf.oval;
014
015 /**
016 * @author Sebastian Thomschke
017 */
018 public enum ConstraintTarget
019 {
020 /**
021 * apply the constraint to the keys of a map
022 */
023 KEYS,
024
025 /**
026 * apply the constraint to the values of a the map / the items of the collection / the elements of the array
027 */
028 VALUES,
029
030 /**
031 * apply the constraint to the collection / map / array object itself
032 */
033 CONTAINER
034 }