1 /******************************************************************************* 2 * Copyright (c) 2000, 2005 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.ant.core; 12 13 14 import org.eclipse.ant.internal.core.AntObject; 15 16 /** 17 * Represents an Ant type. 18 * Clients may instantiate this class; it is not intended to be subclassed. 19 * @since 2.1 20 */ 21 public class Type extends AntObject { 22 23 /** 24 * Returns the type name 25 * @return Returns a String 26 */ 27 public String getTypeName() { 28 return fName; 29 } 30 31 /** 32 * Sets the taskName. 33 * @param taskName The taskName to set 34 */ 35 public void setTypeName(String taskName) { 36 fName = taskName; 37 } 38 } 39