public abstract class PFLogicalOperator extends PFBinaryOperator implements PFBooleanResultOperation
演算処理手順は以下のとおり。
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)に変換して、それを右オペランドへ設定する。
|
evaluate, getLeftOperand, getOperand, getRightOperand, setLeftOperand, setOperand, setRightOperand
addPFProcessTerminateListener, firePFProcessTerminated, getComponentID, getComponentKey, getComponentKeys, getComponentPublicName, getComponentString, getPFProcessTerminateListenerList, isAllowPullTransfer, isAllowPushTransfer, isAllowRemoteInvocation, localeUpdated, removePFProcessTerminateListener, setAllowPullTransfer, setAllowPushTransfer, setAllowRemoteInvocation, setComponentID, setComponentKey, setComponentKeys, setComponentPublicName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBooleanResult
getComponentName
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
evaluate
クラス内 PFOperator
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()