/*
 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

/*
 * $Id: TCKELClass.java 68469 2012-11-08 15:04:46Z dougd $
 */

package com.sun.ts.tests.el.api.javax_el.staticfieldelresolver;

public class TCKELClass {
	public static String firstName = "Ender";
	public static String lastName = "Wiggins";
	
	// Not writable from StaticFieldELResolver	
	public String notStatic = "notStatic";
	private static String privStatic = "privStatic";

	/**
	 * 
	 * @param firstName
	 *            - first name @String
	 * @param lastName
	 *            - last Name
	 * @return true is full name matches the given firstName + " " + lastName
	 *         pattern.
	 */
	public static boolean isName(String name) {
		boolean result = Boolean.FALSE;

		if (name.equals(firstName)) {
			result = true;
		}

		return result;
	}

}
