org.simBio.core
クラス Initializer

java.lang.Object
  上位を拡張 org.simBio.core.Initializer

public class Initializer
extends java.lang.Object

Keep values to initialize Component.
初期値をComponentに受け渡す

バージョン:
$Log: Initializer.java,v $ Revision 1.1 2005/11/01 06:32:38 mikaelwing First version of simBio hosted on sourceforge, version 0.3 Revision 1.1 2005/09/12 04:57:08 sarai rearrenge folder structure as a Maven style Revision 1.5 2005/08/13 08:18:47 sarai extracted attribute names as constants
2004/09/17 04:25:02 Japanese comment is not resolved.
2004/09/17 Class nameを受け取るconstractorを作成
作成者:
Nobuaki Sarai

フィールドの概要
static java.lang.String CLASS_NAME
          attribute name of the class
static java.lang.String INITIAL_VALUE
          attribute name of the initial value
static java.lang.String NAME
          attribute name of the name
static java.lang.String UNITS
          attribute name of the units
 
メソッドの概要
 void clear()
          clear all attributes.
 java.lang.String getClassName()
          Returns the className.
 java.lang.String getInitialValue()
          Returns the initialValue.
static Initializer getInstance(Composite composite, org.xml.sax.Attributes attributes)
          return the only initializer in which parent and attributes are set.
static Initializer getInstance(java.lang.String className)
           
 java.lang.String getName()
          Returns the name.
 Composite getParent()
          Returns the parent.
 java.lang.String getUnits()
          Returns the units.
 void setClassName(java.lang.String className)
          Sets the className.
 void setInitialValue(java.lang.String initialValue)
          Sets the initialValue.
 void setName(java.lang.String name)
          Sets the name.
 void setParent(Composite parent)
          Sets the parent.
 void setUnits(java.lang.String units)
          Sets the units.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

NAME

public static final java.lang.String NAME
attribute name of the name

関連項目:
定数フィールド値

INITIAL_VALUE

public static final java.lang.String INITIAL_VALUE
attribute name of the initial value

関連項目:
定数フィールド値

UNITS

public static final java.lang.String UNITS
attribute name of the units

関連項目:
定数フィールド値

CLASS_NAME

public static final java.lang.String CLASS_NAME
attribute name of the class

関連項目:
定数フィールド値
メソッドの詳細

getInstance

public static Initializer getInstance(Composite composite,
                                      org.xml.sax.Attributes attributes)
return the only initializer in which parent and attributes are set.

パラメータ:
composite - parent Node
attributes - read from XML
戻り値:
initializer

getClassName

public java.lang.String getClassName()
Returns the className.

戻り値:
String

getInitialValue

public java.lang.String getInitialValue()
Returns the initialValue.

戻り値:
String

getName

public java.lang.String getName()
Returns the name.

戻り値:
String

getParent

public Composite getParent()
Returns the parent.

戻り値:
Composite

getUnits

public java.lang.String getUnits()
Returns the units.

戻り値:
String

setClassName

public void setClassName(java.lang.String className)
Sets the className.

パラメータ:
className - The className to set

setInitialValue

public void setInitialValue(java.lang.String initialValue)
Sets the initialValue.

パラメータ:
initialValue - The initialValue to set

setName

public void setName(java.lang.String name)
Sets the name.

パラメータ:
name - The name to set

setParent

public void setParent(Composite parent)
Sets the parent.

パラメータ:
parent - The parent to set

setUnits

public void setUnits(java.lang.String units)
Sets the units.

パラメータ:
units - The units to set

clear

public void clear()
clear all attributes.


getInstance

public static Initializer getInstance(java.lang.String className)
パラメータ:
className - complete class name
戻り値:
initializer, the only className is set. other attributes are set null.


???(C) 2002-2007 ?????????????????????