org.simBio.core
クラス Composite

java.lang.Object
  上位を拡張 org.simBio.core.Component
      上位を拡張 org.simBio.core.Parameter
          上位を拡張 org.simBio.core.Composite
すべての実装されたインタフェース:
Node
直系の既知のサブクラス:
Analyzer, MathFunction, MathMultivariableFunction, MathUnivariableFunction, Reactor

public abstract class Composite
extends Parameter
implements Node

Composite Pattern.

バージョン:
$Id: Composite.java,v 1.2 2006/06/10 07:15:10 nsarai Exp $
作成者:
Nobuaki Sarai

フィールドの概要
 
クラス org.simBio.core.Parameter から継承されたフィールド
value
 
コンストラクタの概要
Composite()
           
 
メソッドの概要
 void accept(Visitor visitor)
          use visitor pattern
Visitorを受け容れ、訪問する。
protected  Node getLink(java.lang.String name)
          引数のnameで指定されたxmlのlinkが指し示す対象への参照を返す。
 Node getNode(java.lang.String name)
          serch the Node of the same name,
受け取った文字列と同じ名前の最初に見つかったNodeを返す。
 java.util.Iterator getNodesIterator()
          ComponentListのIteratorを返す。
 int getNodesSize()
          ComponentListの要素の数を返す。
 
クラス org.simBio.core.Parameter から継承されたメソッド
addValue, getValue, getValueString, prepare, setInitializer, setValue, setValueString, setValueToField
 
クラス org.simBio.core.Component から継承されたメソッド
addDydt, end, getIndent, getIndentedShortName, getName, getName, getParent, getRoot, getShortName, getUnits, isNamed, isPrefixed, logIndented, quit, setLinks
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース org.simBio.core.Node から継承されたメソッド
addDydt, addValue, getValue, setValue
 

コンストラクタの詳細

Composite

public Composite()
メソッドの詳細

accept

public void accept(Visitor visitor)
use visitor pattern
Visitorを受け容れ、訪問する。

オーバーライド:
クラス Component 内の accept
パラメータ:
visitor -

getNodesIterator

public java.util.Iterator getNodesIterator()
ComponentListのIteratorを返す。

戻り値:
Iterator of the data list

getNodesSize

public int getNodesSize()
ComponentListの要素の数を返す。

戻り値:
int

getNode

public Node getNode(java.lang.String name)
serch the Node of the same name,
受け取った文字列と同じ名前の最初に見つかったNodeを返す。

パラメータ:
name - 名前を指定
戻り値:
指定された名前のNode, 見つからないときはnullを返します。

getLink

protected Node getLink(java.lang.String name)
引数のnameで指定されたxmlのlinkが指し示す対象への参照を返す。

パラメータ:
name - of the link
戻り値:
Node linked in the xml


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