|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.go.aist.dmrc.platform.beans.util.operator.PFOperator jp.go.aist.dmrc.platform.beans.util.operator.PFBinaryOperator jp.go.aist.dmrc.platform.beans.util.operator.PFLogicalOperator
論理演算コンポーネントのスーパークラス。
演算処理手順は以下のとおり。
PFBooleanResultOperation
のオブジェクトの場合、
その演算結果をオペランドとする。
演算結果は論理値(true, false)である。
ただし、以下のいずれかの場合は演算不可能とし、演算結果をnullとする。
コンストラクタの概要 | |
PFLogicalOperator()
コンストラクタ。 |
メソッドの概要 | |
void |
evaluate()
論理演算を行なう。 |
void |
evaluateBoolean(java.lang.String string1,
java.lang.String string2)
論理演算を行なう。 |
protected java.lang.Object[] |
getConvertedOperand()
左オペランドと右オペランドを格納した配列を返す。 |
void |
setBooleanOperand(java.lang.String string1,
java.lang.String string2)
指定された文字列を論理型(Boolean)に変換して、それを両オペランドへ設定する。 |
void |
setLeftBooleanOperand(java.lang.String string)
指定された文字列を論理型(Boolean)に変換して、それを左オペランドへ設定する。 |
void |
setRightBooleanOperand(java.lang.String string)
指定された文字列を論理型(Boolean)に変換して、それを右オペランドへ設定する。 |
クラス jp.go.aist.dmrc.platform.beans.util.operator.PFBinaryOperator から継承したメソッド |
evaluate, getLeftOperand, getOperand, getRightOperand, setLeftOperand, setOperand, setRightOperand |
クラス jp.go.aist.dmrc.platform.beans.util.operator.PFOperator から継承したメソッド |
addPFProcessTerminateListener, firePFProcessTerminated, getComponentID, getComponentKey, getComponentKeys, getComponentString, getPFProcessTerminateListenerList, localeUpdated, removePFProcessTerminateListener, setComponentID, setComponentKey, setComponentKeys |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース jp.go.aist.dmrc.platform.beans.util.operator.PFBooleanResultOperation から継承したメソッド |
getBooleanResult |
インタフェース jp.go.aist.dmrc.platform.base.PFComponent から継承したメソッド |
getComponentName |
コンストラクタの詳細 |
public PFLogicalOperator()
メソッドの詳細 |
public void setLeftBooleanOperand(java.lang.String string)
string
- 左オペランドに設定する文字列(論理値)PFBinaryOperator.setLeftOperand(Object)
public void setRightBooleanOperand(java.lang.String string)
string
- 右オペランドに設定する文字列(論理値)PFBinaryOperator.setRightOperand(Object)
public void setBooleanOperand(java.lang.String string1, java.lang.String string2)
string1
- 左オペランドに設定する文字列(論理値)string2
- 右オペランドに設定する文字列(論理値)setLeftBooleanOperand(String)
,
setRightBooleanOperand(String)
public void evaluate() throws PFMethodException, PFRuntimeException
PFOperator
内の evaluate
PFMethodException
- イベント伝播先のメソッド起動時のエラー
PFRuntimeException
- 予期しない実行時エラーpublic void evaluateBoolean(java.lang.String string1, java.lang.String string2) throws PFMethodException, PFRuntimeException
string1
- 左オペランドに設定する文字列(論理値)string2
- 右オペランドに設定する文字列(論理値)
PFMethodException
- イベント伝播先のメソッド起動時のエラー
PFRuntimeException
- 予期しない実行時エラーsetBooleanOperand(String, String)
,
evaluate()
protected java.lang.Object[] getConvertedOperand()
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |