StringPropertyDefinition.java revision bb8874d71cdd8e5288297b9727703437c6dfcfed
0N/A * The contents of this file are subject to the terms of the 0N/A * Common Development and Distribution License, Version 1.0 only 0N/A * (the "License"). You may not use this file except in compliance 0N/A * You can obtain a copy of the license at 0N/A * See the License for the specific language governing permissions 0N/A * and limitations under the License. 0N/A * When distributing Covered Code, include this CDDL HEADER in each 0N/A * file and include the License file at 0N/A * add the following below this CDDL HEADER, with the fields enclosed 1472N/A * by brackets "[]" replaced with your own identifying information: 1472N/A * Portions Copyright [yyyy] [name of copyright owner] 1879N/A * Portions Copyright 2007 Sun Microsystems, Inc. 0N/A * String property definition. 0N/A * TODO: pattern matching. 0N/A // Flag indicating whether values of this property are 0N/A // case-insensitive. 2975N/A * An interface for incrementally constructing string property definitions. 0N/A // Flag indicating whether values of this property are 0N/A // case-insensitive. 0N/A // Private constructor 0N/A * Set a flag indicating whether values of this property are 0N/A * <code>true</code> if values are case-insensitive, or 0N/A * <code>false</code> otherwise. 0N/A * Create a string property definition builder. 0N/A * @param propertyName 0N/A * The property name. 0N/A * @return Returns the new string property definition builder. 0N/A // Private constructor. 0N/A * Query whether values of this property are case-insensitive. 0N/A * @return Returns <code>true</code> if values are case-insensitive, or 0N/A * <code>false</code> otherwise. 0N/A // No additional validation required for now (might do pattern 0N/A // matching in future).