fielderrorinformation.java

来自「配置文件」· Java 代码 · 共 54 行

JAVA
54
字号
/**
 * Copyright (c) 2003-2005 Craig Setera
 * All Rights Reserved.
 * Licensed under the Eclipse Public License - v 1.0
 * For more information see http://www.eclipse.org/legal/epl-v10.html
 */
package eclipseme.preverifier.internal.results;

import eclipseme.preverifier.results.IFieldErrorInformation;

/**
 * Implementation of the IFieldErrorInformation interface.
 * <p />
 * Copyright (c) 2003-2005 Craig Setera<br>
 * All Rights Reserved.<br>
 * Licensed under the Eclipse Public License - v 1.0<p/>
 * <br>
 * $Revision: 1.1 $
 * <br>
 * $Date: 2005/09/25 23:53:32 $
 * <br>
 * @author Craig Setera
 */
public class FieldErrorInformation implements IFieldErrorInformation {
	private String name;
	private String typeDescription;
	
	/**
	 * Construct a new field error information.
	 * 
	 * @param name
	 * @param typeDescription
	 */
	public FieldErrorInformation(String name, String typeDescription) {
		super();
		this.name = name;
		this.typeDescription = typeDescription;
	}

	/**
	 * @see eclipseme.preverifier.results.IFieldErrorInformation#getName()
	 */
	public String getName() {
		return name;
	}

	/**
	 * @see eclipseme.preverifier.results.IFieldErrorInformation#getTypeDescription()
	 */
	public String getTypeDescription() {
		return typeDescription;
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?