⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jsourcecodewizardabstract.java

📁 用免疫遗传算法解决TSP问题
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
/**
 * JSourceCodeWizard (abstract class of wizard) class define headder<BR>
 * description: JSourceCodeWizard: abstract class of wizard<BR>
 * Copyright (C) 2001 Tosiki IGA , IgaLib project member<BR>
 * 
 * [Caution] This file is generated automaticaly by JSourceCodeWizard using XML define(s).<BR>
 * [Generaton Gap Pattern] Do not modify this class file<BR>
 * If you want modify this class, extends this class and modify subclass.<BR>
 */

package jp.ne.nifty.iga.tosiki.wizard.wiz;

import jp.ne.nifty.iga.tosiki.wizard.*;
import java.io.*;
import java.util.*;

/**
 * JSourceCodeWizard (abstract class of wizard) class<BR>
 * description: JSourceCodeWizard: abstract class of wizard<BR>
 * 
 * [Caution] This file is generated automaticaly by JSourceCodeWizard using XML define(s).<BR>
 * [Generaton Gap Pattern] Do not modify this class file<BR>
 * If you want modify this class, extends this class and modify subclass.<BR>
 * 
 * <H3>JSourceCodeWizard(abstract class of wizard) : JSourceCodeWizard: abstract class of wizard</H3>
 * <TABLE border="1">
 * <TBODY>
 * <TR>
 * <TD bgcolor="#ffff00">崁栚柤徧</TD>
 * <TD bgcolor="#ffff00">崁栚愢柧</TD>
 * <TD bgcolor="#ffff00">宆</TD>
 * <TD bgcolor="#ffff00">挿偝</TD>
 * <TD bgcolor="#ffff00">彫悢晹</TD>
 * <TD bgcolor="#ffff00">Primary</TD>
 * <TD bgcolor="#ffff00">NOT NULL</TD>
 * <TD bgcolor="#ffff00">徻嵶</TD>
 * </TR>
 * <TR> <TD>channel</TD> <TD>class define</TD> <TD>notDefined[JSourceCodeWizardChannel]</TD> <TD></TD> <TD></TD> <TD></TD> <TD></TD> <TD> </TD> </TR>
 * <TR> <TD>field</TD> <TD>field define</TD> <TD>notDefined[java.util.ArrayList]</TD> <TD></TD> <TD></TD> <TD></TD> <TD></TD> <TD> </TD> </TR>
 * <TR> <TD>currentDirectory</TD> <TD>processing directory</TD> <TD>CHAR(-1)</TD> <TD></TD> <TD></TD> <TD></TD> <TD></TD> <TD> </TD> </TR>
 * </TBODY>
 * </TABLE>
 * <UL><LI>CREATE TABLE JSourceCodeWizard (currentDirectory CHAR(-1))</UL>
 * 
 *   @author Toshiki IGA
 *   @version 2001.11.01
 */
public class JSourceCodeWizardAbstract
	implements java.lang.Comparable
{
	/**
	 * channel(class define)<BR>
	 * 
	 * 宆:JSourceCodeWizardChannel<BR>
	 * 僨僼僅儖僩抣:[new JSourceCodeWizardChannel()]<BR>
	 */
	protected JSourceCodeWizardChannel f_channel=new JSourceCodeWizardChannel();

	/**
	 * field(field define)<BR>
	 * 
	 * 宆:java.util.ArrayList<BR>
	 * 巕嫙偺宆:JSourceCodeWizardField<BR>
	 * 僨僼僅儖僩抣:[new java.util.ArrayList()]<BR>
	 */
	protected java.util.ArrayList f_field=new java.util.ArrayList();

	/**
	 * currentDirectory(processing directory)<BR>
	 * 
	 * 宆:String<BR>
	 * 僨僼僅儖僩抣:["."]<BR>
	 */
	protected String f_currentDirectory=".";

	/**
	 * Get short name for Wizard<BR>
	 * 
	 * @return String Short name<BR>
	 */
	public static String getWizardShortName()
	{
		return "JSourceCodeWizard";
	}

	/**
	 * setter for channel(class define)<BR>
	 * 
	 * 宆:JSourceCodeWizardChannel<BR>
	 * 僨僼僅儖僩抣:[new JSourceCodeWizardChannel()]<BR>
	 * 
	 *   @param JSourceCodeWizardChannel arg channel(class define)
	 */
	public void setChannel(JSourceCodeWizardChannel arg)
	{
		f_channel=arg;
	}

	/**
	 * channel(class define) 偺getter<BR>
	 * 
	 * 宆:JSourceCodeWizardChannel<BR>
	 * 僨僼僅儖僩抣:[new JSourceCodeWizardChannel()]<BR>
	 * 
	 *   @return JSourceCodeWizardChannel f_channel(class define)
	 */
	public JSourceCodeWizardChannel getChannel()
	{
		return f_channel;
	}

	public static String getChannelName()
	{
		return "channel";
	}

	public static String getChannelTitle()
	{
		return "class define";
	}

	public String getChannelType()
	{
		return "JSourceCodeWizardChannel";
	}

	public static JSourceCodeWizardChannel getChannelDefault()
	{
		return new JSourceCodeWizardChannel();
	}

	/**
	 * setter for field(field define)<BR>
	 * 
	 * 宆:java.util.ArrayList<BR>
	 * 巕嫙偺宆:JSourceCodeWizardField<BR>
	 * 僨僼僅儖僩抣:[new java.util.ArrayList()]<BR>
	 * 
	 *   @param java.util.ArrayList arg field(field define)
	 */
	public void setField(java.util.ArrayList arg)
	{
		f_field=arg;
	}

	/**
	 * field(field define) 偺getter<BR>
	 * 
	 * 宆:java.util.ArrayList<BR>
	 * 巕嫙偺宆:JSourceCodeWizardField<BR>
	 * 僨僼僅儖僩抣:[new java.util.ArrayList()]<BR>
	 * 
	 *   @return java.util.ArrayList f_field(field define)
	 */
	public java.util.ArrayList getField()
	{
		return f_field;
	}

	public static String getFieldName()
	{
		return "field";
	}

	public static String getFieldTitle()
	{
		return "field define";
	}

	public String getFieldType()
	{
		return "java.util.ArrayList";
	}

	public static java.util.ArrayList getFieldDefault()
	{
		return new java.util.ArrayList();
	}

	/**
	 * setter for currentDirectory(processing directory)<BR>
	 * 
	 * 宆:String<BR>
	 * 僨僼僅儖僩抣:["."]<BR>
	 * 
	 *   @param String arg currentDirectory(processing directory)
	 */
	public void setCurrentDirectory(String arg)
	{
		f_currentDirectory=arg;
	}

	/**
	 * currentDirectory(processing directory) 偺getter<BR>
	 * 
	 * 宆:String<BR>
	 * 僨僼僅儖僩抣:["."]<BR>
	 * 
	 *   @return String f_currentDirectory(processing directory)
	 */
	public String getCurrentDirectory()
	{
		return (f_currentDirectory);
	}

	public static String getCurrentDirectoryName()
	{
		return "currentDirectory";
	}

	public static String getCurrentDirectoryTitle()
	{
		return "processing directory";
	}

	public String getCurrentDirectoryType()
	{
		return "String";
	}

	public static String getCurrentDirectoryDefault()
	{
		return ".";
	}

	/**
	 * JSourceCodeWizard(abstract class of wizard) 偺昞帵梡暥帤楍偺庢摼<BR>
	 * 
	 *   @return 昞帵梡暥帤楍
	 */
	public String getDisplayString()
	{
		StringBuffer strbufDisplay=new StringBuffer();
		strbufDisplay.append("JSourceCodeWizard");
		strbufDisplay.append("[");
		strbufDisplay.append("currentDirectory="+getCurrentDirectory());
		strbufDisplay.append("]");
		return strbufDisplay.toString();
	}
	
	/**
	 * JSourceCodeWizard(abstract class of wizard) 僆僽僕僃僋僩偺斾妑<BR>
	 * 
	 *   @param Object obj 斾妑愭僆僽僕僃僋僩
	 *   @return 堦抳偡傞偐偳偆偐
	 */
	public boolean equals(Object obj)
	{
		if(this==obj)return true;
		if(null==obj)return false;
		JSourceCodeWizardAbstract arg=(JSourceCodeWizardAbstract)obj;
		if(getChannel()==null)
		{
			if(getChannel()!=arg.getChannel())
			{
				return false;
			}
		}
		else
		{
			if(getChannel().equals(arg.getChannel())==false)
			{
				return false;
			}
		}
		
		if(getField()==null)
		{
			if(getField()!=arg.getField())
			{
				return false;
			}
		}
		else
		{
			if(getField().equals(arg.getField())==false)
			{
				return false;
			}
		}
		
		if(getCurrentDirectory()==null)
		{
			if(getCurrentDirectory()!=arg.getCurrentDirectory())
			{
				return false;
			}
		}
		else
		{
			if(getCurrentDirectory().equals(arg.getCurrentDirectory())==false)
			{
				return false;
			}
		}
		
		return true;
	}
	
	/**
	 * JSourceCodeWizard(abstract class of wizard) 僆僽僕僃僋僩斾妑<BR>
	 * 
	 *   @return int 斾妑寢壥
	 */
	public int compareTo(JSourceCodeWizardAbstract arg)
	{
		int iCompare=0;
		iCompare=getCurrentDirectory().compareTo(arg.getCurrentDirectory());
		if(iCompare!=0)return iCompare;
		return 0;
	}
	
	/**
	 * JSourceCodeWizard(abstract class of wizard) 僆僽僕僃僋僩斾妑<BR>
	 * 
	 *   @return int 斾妑寢壥
	 */
	public int compareTo(Object arg)
	{
		return compareTo((JSourceCodeWizardAbstract)arg);
	}
	
	/**
	 * JSourceCodeWizard(abstract class of wizard) 僆僽僕僃僋僩偺僜乕僩斾妑<BR>
	 * 
	 *   @return java.util.Comparator 斾妑僣乕儖
	 */
	public static java.util.Comparator getComparator()
	{
		return new java.util.Comparator()
		{
			public int compare(Object obj1, Object obj2)
			{
				JSourceCodeWizardAbstract arg1=(JSourceCodeWizardAbstract)obj1;
				JSourceCodeWizardAbstract arg2=(JSourceCodeWizardAbstract)obj2;
				return arg1.compareTo(arg2);
			}
		};
	}
	
	/**
	 * JSourceCodeWizard(abstract class of wizard) 偺暥帤楍僼傿乕儖僪塃媗傔<BR>
	 */
	public void trimRight()
	{
		setCurrentDirectory(trimRight(getCurrentDirectory()));
	}
	
	/**
	 * JSourceCodeWizard(abstract class of wizard) 偺撉傒崬傒<BR>
	 */
	public void parse(JSourceCodeWizardAbstract arg)
	{
		setChannel(arg.getChannel());
		setField(arg.getField());
		setCurrentDirectory(arg.getCurrentDirectory());
	}
	
	/**
	 * JSourceCodeWizard(abstract class of wizard) 偺彂偒弌偟<BR>
	 */
	public void serialize(JSourceCodeWizardAbstract arg)
	{
		arg.setChannel(getChannel());
		arg.setField(getField());
		arg.setCurrentDirectory(getCurrentDirectory());

⌨️ 快捷键说明

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