Project

General

Profile

調査 #1457

IFR ID取得方法の調査

Added by n-ando about 14 years ago. Updated over 12 years ago.

Status:
終了
Priority:
通常
Assignee:
-
Target version:
-
Start date:
05/06/2010
Due date:
% Done:

100%

Estimated time:

Description

IFR IDを取得する方法を調査する。

History

#1 Updated by Anonymous almost 13 years ago

Helperのメンバー変数(_id)に格納されている。
TimedLongHelper の場合

abstract public class TimedLongHelper
{
private static String _id = "IDL:RTC/TimedLong:1.0";
・・・省略・・・
public static String id () {
return _id;
}
・・・以下省略・・・

取得例

TimedLong m_out_val = new TimedLong(new RTC.Time(0,0),0)
Class cl = m_out_val.getClass();
String str = cl.getName();
try {
Class helper = Class.forName(str+"Helper",
true,
this.getClass().getClassLoader());
Method method = helper.getMethod("id");
String id = (String)method.invoke(
null // invoke static method.
);
System.out.println(" "+id);
}
catch(java.lang.Exception e){
System.out.println("Exception caught."+e.toString());
}

http://software.fujitsu.com/jp/manual/manualfiles/M080016/B1WN9481/03Z200/ots03/ots00052.htm

#2 Updated by Anonymous almost 13 years ago

  • Status changed from 新規 to 解決
  • % Done changed from 0 to 100

#3 Updated by n-ando over 12 years ago

  • Status changed from 解決 to 終了

Also available in: Atom PDF