|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.go.aist.dmrc.platform.beans.datacooperation.PFRemoteComponent
public class PFRemoteComponent
コンポーネントごと参照するリモートコンポーネント.
コンストラクタの概要 | |
---|---|
PFRemoteComponent()
コンストラクタ. |
|
PFRemoteComponent(java.lang.String aPlatformName,
java.lang.String aComponentPublicName,
int aRemoteComponentID,
PFObjectList aMethodList)
コンストラクタ. |
メソッドの概要 | |
---|---|
void |
addComponentInfo(PFComponentInfo info)
コンポーネント情報リストに、新規コンポーネント情報を追加する。 |
void |
addPFComponentCooperationResultListener(PFComponentCooperationResultListener listener)
引数で与えられたイベントリスナを登録し、 PFComponentCooperationResultイベント発生時に処理を行う対象とする. |
void |
doCallback(PFComponentCooperationResult result,
int eventNo)
コンポーネント連携の終了通知イベントを発行する. |
int |
getComponentID()
コンポーネントIDを取得する. |
PFComponentInfo |
getComponentInfo(int index)
指定したインデックスのコンポーネント情報を取得する. |
int |
getComponentInfoCount()
コンポーネント情報リストの項目数を取得する. |
PFObjectList |
getComponentInfoList()
コンポーネント情報リストを取得する. |
java.lang.String |
getComponentKey()
コンポーネントキーを取得する. |
PFMultiLocaleString |
getComponentKeys()
全ロケール分のコンポーネントキーを返す. |
java.lang.String |
getComponentName()
コンポーネント名称を取得する. |
java.lang.String |
getComponentPublicName()
コンポーネント公開名を取得する. |
java.lang.String |
getComponentString()
コンポーネントの文字列表現を取得する. |
boolean |
getIsAsync()
同期/非同期フラグを取得する. |
java.util.Iterator |
getPFComponentCooperationResultListenerList()
イベントリスナ配列を取得する. |
java.lang.String |
getPlatformName()
連携先プラットフォーム名を取得する. |
int |
getRemoteComponentID()
連携先コンポーネントIDを取得する. |
java.lang.String |
getRemoteComponentPublicName()
連携先コンポーネント公開名を取得する. |
boolean |
isAllowPullTransfer()
他PFからのPull型コンポーネント転送要求に対する可否属性を取得する. |
boolean |
isAllowPushTransfer()
他PFへのPush型コンポーネント転送要求に対する可否属性を取得する. |
boolean |
isAllowRemoteInvocation()
他PFからのコンポーネント連携要求に対する可否属性を取得する. |
void |
localeUpdated()
ロケール更新への対応を行う. |
void |
readXML(PFXMLLoader in)
コンポーネントのXML入力. |
void |
removeComponentInfo(int index)
指定したインデックスのコンポーネント情報を削除する. |
void |
removePFComponentCooperationResultListener(PFComponentCooperationResultListener listener)
引数で与えられたイベントリスナを削除し、 PFComponentCooperationResultイベント発生時に処理を行う対象から外す. |
void |
setAllowPullTransfer(boolean flag)
他PFからのPull型コンポーネント転送要求に対する可否属性を設定する. |
void |
setAllowPushTransfer(boolean flag)
他PFへのPush型コンポーネント転送要求に対する可否属性を設定する. |
void |
setAllowRemoteInvocation(boolean flag)
他PFからのコンポーネント連携要求に対する可否属性を設定する. |
void |
setComponentID(int id)
コンポーネントIDを設定する. |
void |
setComponentInfo(int index,
PFComponentInfo info)
指定したインデックスのコンポーネント情報を上書きする. |
void |
setComponentInfoList(PFObjectList list)
コンポーネント情報リストを設定する. |
void |
setComponentKey(java.lang.String key)
コンポーネントキーを設定する. |
void |
setComponentKeys(PFMultiLocaleString keys)
全ロケール分のコンポーネントキーを設定する. |
void |
setComponentPublicName(java.lang.String publicName)
コンポーネント公開名を設定する. |
void |
setIsAsync(boolean flag)
同期/非同期フラグを設定する. |
void |
setPlatformName(java.lang.String aPlatformName)
連携先プラットフォーム名を設定する. |
void |
setRemoteComponentID(int aRemoteCompID)
連携先コンポーネントIDを設定する. |
void |
setRemoteComponentPublicName(java.lang.String aRemoteCompPName)
連携先コンポーネント公開名を設定する. |
void |
writeXML(PFXMLGenerator out)
コンポーネントのXML出力. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public PFRemoteComponent()
public PFRemoteComponent(java.lang.String aPlatformName, java.lang.String aComponentPublicName, int aRemoteComponentID, PFObjectList aMethodList)
aPlatformName
- 連携先プラットフォーム名aComponentPublicName
- 連携先コンポーネント公開名aMethodList
- メソッド情報リストメソッドの詳細 |
---|
public int getComponentID()
PFComponent
内の getComponentID
setComponentID(int)
public void setComponentID(int id)
PFComponentBus
から設定される.
各コンポーネント内では操作しないこと.
PFComponent
内の setComponentID
id
- 設定するコンポーネントIDgetComponentID()
public java.lang.String getComponentKey()
PFComponent
内の getComponentKey
setComponentKey(String)
public void setComponentKey(java.lang.String key)
PFComponent
内の setComponentKey
key
- コンポーネントキーgetComponentKey()
public PFMultiLocaleString getComponentKeys()
setComponentKeys(PFMultiLocaleString)
public void setComponentKeys(PFMultiLocaleString keys)
keys
- 全ロケール分のコンポーネントキーgetComponentKeys()
public java.lang.String getComponentName()
PFComponent
内の getComponentName
public java.lang.String getComponentPublicName()
PFComponent
内の getComponentPublicName
setComponentPublicName(String)
public void setComponentPublicName(java.lang.String publicName) throws PFComponentException
PFComponent
内の setComponentPublicName
publicName
- 設定するコンポーネント公開名
PFComponentException
- 規約に反する名前が設定されようとした場合getComponentPublicName()
public java.lang.String getComponentString()
PFComponent
内の getComponentString
public boolean isAllowRemoteInvocation()
PFComponent
内の isAllowRemoteInvocation
setAllowRemoteInvocation(boolean)
public void setAllowRemoteInvocation(boolean flag)
PFComponent
内の setAllowRemoteInvocation
flag
- コンポーネント連携要求に対する可否isAllowRemoteInvocation()
public boolean isAllowPullTransfer()
PFComponent
内の isAllowPullTransfer
setAllowPullTransfer(boolean)
public void setAllowPullTransfer(boolean flag)
PFComponent
内の setAllowPullTransfer
flag
- Pull型コンポーネント転送要求に対する可否isAllowPullTransfer()
public boolean isAllowPushTransfer()
PFComponent
内の isAllowPushTransfer
setAllowPushTransfer(boolean)
public void setAllowPushTransfer(boolean flag)
PFComponent
内の setAllowPushTransfer
flag
- Push型コンポーネント転送要求に対する可否isAllowPushTransfer()
public void localeUpdated()
PFComponent
内の localeUpdated
public java.util.Iterator getPFComponentCooperationResultListenerList()
PFComponentCooperationResultEventSource
の記述:
PFComponentCooperationResultEventSource
内の getPFComponentCooperationResultListenerList
public void addPFComponentCooperationResultListener(PFComponentCooperationResultListener listener)
PFComponentCooperationResultEventSource
の記述:
PFComponentCooperationResultEventSource
内の addPFComponentCooperationResultListener
listener
- 追加対象イベントリスナPFComponentCooperationResultEventSource.removePFComponentCooperationResultListener(jp.go.aist.dmrc.platform.datacooperation.interfaces.PFComponentCooperationResultListener)
public void removePFComponentCooperationResultListener(PFComponentCooperationResultListener listener)
PFComponentCooperationResultEventSource
の記述:
PFComponentCooperationResultEventSource
内の removePFComponentCooperationResultListener
listener
- 削除対象イベントリスナPFComponentCooperationResultEventSource.addPFComponentCooperationResultListener(jp.go.aist.dmrc.platform.datacooperation.interfaces.PFComponentCooperationResultListener)
public void readXML(PFXMLLoader in)
PFXMLSerializable
内の readXML
in
- XML入力ユーティリティpublic void writeXML(PFXMLGenerator out) throws java.io.IOException
PFXMLSerializable
内の writeXML
out
- XML出力ユーティリティ
java.io.IOException
public java.lang.String getPlatformName()
setPlatformName(String)
public void setPlatformName(java.lang.String aPlatformName)
aPlatformName
- 連携先プラットフォーム名getPlatformName()
public java.lang.String getRemoteComponentPublicName()
setRemoteComponentPublicName(String)
public void setRemoteComponentPublicName(java.lang.String aRemoteCompPName)
aRemoteCompPName
- 連携先コンポーネント公開名getRemoteComponentPublicName()
public int getRemoteComponentID()
setRemoteComponentID(int)
public void setRemoteComponentID(int aRemoteCompID)
aRemoteCompID
- 連携先コンポーネントIDgetRemoteComponentID()
public PFObjectList getComponentInfoList()
setComponentInfoList(PFObjectList)
public void setComponentInfoList(PFObjectList list)
list
- コンポーネント情報リストgetComponentInfoList()
public boolean getIsAsync()
setIsAsync(boolean)
public void setIsAsync(boolean flag)
flag
- 同期/非同期フラグgetIsAsync()
public int getComponentInfoCount()
public PFComponentInfo getComponentInfo(int index)
index
- インデックス
public void addComponentInfo(PFComponentInfo info)
info
- コンポーネント情報public void removeComponentInfo(int index)
index
- インデックスpublic void setComponentInfo(int index, PFComponentInfo info)
index
- インデックスinfo
- コンポーネント情報public void doCallback(PFComponentCooperationResult result, int eventNo) throws PFDataCooperationComponentCooperationException
result
- 連携結果
PFDataCooperationComponentCooperationException
- エラーが発生した場合
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |