|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Object
|
+--com.infoteria.asteria.flowlibrary2.mapper.MappingItem
|
+--com.infoteria.asteria.flowlibrary2.mapper.Function
マッパー関数の基底クラスです。
| フィールドの概要 | |
static int |
LINK_UNBOUNDED
MaxInputCountを無制限にする場合のシンボルです。 |
| コンストラクタの概要 | |
Function()
コンストラクタ |
|
| メソッドの概要 | |
abstract void |
execute(ExecuteContext context,
Value[] in,
Value out)
マッパー関数の実行処理本体です。 |
String |
getBaseDirectory()
|
abstract String |
getFunctionName()
マッパー関数名を返します。 |
List |
getInputList()
入力のアイテムを保持するリストを返します。 |
int |
getMaxInputCount()
接続可能な入力数のMaximum。 |
protected String |
getMessage(String key)
マッパー関数定義ファイルに定義したMessageを取得します。 |
protected String |
getMessage(String key,
Object o1)
パラメータを置換してマッパー関数定義ファイルに定義したMessageを取得します。 |
protected String |
getMessage(String key,
Object o1,
Object o2)
パラメータを置換してマッパー関数定義ファイルに定義したMessageを取得します。 |
protected String |
getMessage(String key,
Object o1,
Object o2,
Object o3)
パラメータを置換してマッパー関数定義ファイルに定義したMessageを取得します。 |
int |
getMinInputCount()
接続可能な入力数のMinimum。 |
User |
getOwner()
|
Value |
getProperty(String name)
nameに対応するプロパティ値を取得します。 |
Value |
getProperty(String name,
Value[] in,
int no)
nameに対応するプロパティ値を取得します。 |
boolean |
getPropertyBoolean(String name)
nameに対応するプロパティ値をbooleanとして取得します。 |
boolean |
getPropertyBoolean(String name,
Value[] in,
int no)
nameに対応するプロパティ値をbooleanとして取得します。 |
double |
getPropertyDouble(String name)
nameに対応するプロパティ値をdoubleとして取得します。 |
double |
getPropertyDouble(String name,
Value[] in,
int no)
nameに対応するプロパティ値をdoubleとして取得します。 |
long |
getPropertyInteger(String name)
nameに対応するプロパティ値をlongとして取得します。 |
long |
getPropertyInteger(String name,
Value[] in,
int no)
nameに対応するプロパティ値をlongとして取得します。 |
String |
getPropertyString(String name)
nameに対応するプロパティ値をStringとして取得します。 |
String |
getPropertyString(String name,
Value[] in,
int no)
nameに対応するプロパティ値をStringとして取得します。 |
MappingItem |
getSubItem(String name)
|
void |
init(MapperComponent mapper,
ExecuteContext context)
|
protected abstract void |
internalInit()
マッパー関数の登録時に呼び出される初期化メソッドです。 |
protected void |
postCompile()
|
protected void |
registProperty(String name,
Value.Type type,
boolean required)
プロパティを登録します。 |
protected void |
registProperty(String name,
Value.Type type,
boolean required,
Value def)
プロパティを登録します。 |
void |
setBaseDirectory(String s)
|
void |
setOwner(User user)
|
void |
term(MapperComponent mapper,
ExecuteContext context)
|
| クラス com.infoteria.asteria.flowlibrary2.mapper.MappingItem から継承したメソッド |
beginMapping, endMapping, getName |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース java.lang.Comparable から継承したメソッド |
compareTo |
| フィールドの詳細 |
public static final int LINK_UNBOUNDED
| コンストラクタの詳細 |
public Function()
| メソッドの詳細 |
public abstract String getFunctionName()
protected abstract void internalInit()
public int getMinInputCount()
public int getMaxInputCount()
public abstract void execute(ExecuteContext context,
Value[] in,
Value out)
throws MapperException
context - 実行コンテキストin - 入力値の配列out - 出力値。関数の計算結果はこのオブジェクトに対して設定します。public List getInputList()
MappingItem 内の getInputList
protected void registProperty(String name,
Value.Type type,
boolean required)
name - プロパティ名type - プロパティ値のデータ型required - このプロパティが必須の場合はtrue
protected void registProperty(String name,
Value.Type type,
boolean required,
Value def)
name - プロパティ名type - プロパティ値のデータ型required - このプロパティが必須の場合はtruedef - デフォルト値
public void init(MapperComponent mapper,
ExecuteContext context)
throws MapperException
MappingItem の記述: MappingItem 内の init
public void term(MapperComponent mapper,
ExecuteContext context)
MappingItem の記述: MappingItem 内の termpublic Value getProperty(String name)
name - プロパティ名
public Value getProperty(String name,
Value[] in,
int no)
name - プロパティ名in - 入力値の配列。executeメソッドの引数inをそのまま渡します。no - 入力値でプロパティ値を置換する場合の入力値のインデックスpublic String getPropertyString(String name)
name - プロパティ名
public String getPropertyString(String name,
Value[] in,
int no)
name - プロパティ名in - 入力値の配列。executeメソッドの引数inをそのまま渡します。no - 入力値でプロパティ値を置換する場合の入力値のインデックスpublic long getPropertyInteger(String name)
name - プロパティ名
public long getPropertyInteger(String name,
Value[] in,
int no)
name - プロパティ名in - 入力値の配列。executeメソッドの引数inをそのまま渡します。no - 入力値でプロパティ値を置換する場合の入力値のインデックスpublic double getPropertyDouble(String name)
name - プロパティ名
public double getPropertyDouble(String name,
Value[] in,
int no)
name - プロパティ名in - 入力値の配列。executeメソッドの引数inをそのまま渡します。no - 入力値でプロパティ値を置換する場合の入力値のインデックスpublic boolean getPropertyBoolean(String name)
name - プロパティ名
public boolean getPropertyBoolean(String name,
Value[] in,
int no)
name - プロパティ名in - 入力値の配列。executeメソッドの引数inをそのまま渡します。no - 入力値でプロパティ値を置換する場合の入力値のインデックスprotected String getMessage(String key)
protected String getMessage(String key,
Object o1)
protected String getMessage(String key,
Object o1,
Object o2)
protected String getMessage(String key,
Object o1,
Object o2,
Object o3)
protected void postCompile()
throws MapperException
public User getOwner()
public void setOwner(User user)
public String getBaseDirectory()
public void setBaseDirectory(String s)
public MappingItem getSubItem(String name)
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||