com.infoteria.asteria.flowlibrary2.stream
Class StreamDataObject

java.lang.Object
  |
  +--com.infoteria.asteria.flowlibrary2.stream.StreamDataObject
All Implemented Interfaces:
RecordSet, Serializable
Direct Known Subclasses:
StreamDataBinaryBase, StreamDataContainer, StreamDataParameterList, StreamDataRecord

public abstract class StreamDataObject
extends Object
implements RecordSet, Serializable

ストリームの基底クラスです。

See Also:
Serialized Form

Field Summary
static String PROPERTY_FILEPATH
          FilePathを表すストリーム変数のシンボル
 
Method Summary
abstract  byte[] byteValue()
          ストリームのバイナリ値を取得します。
 FieldDefinition getFieldDefinition()
          フィールド定義を取得します。
フィールド定義が存在しない場合はnullを返します。
 Iterator getStreamPropertyNames()
           
 Value getStreamVariable(String name)
          ストリーム変数を取得します。
 int getStreamVariableCount()
          設定されているストリーム変数の数を返します。
 Iterator getStreamVariableNames()
          ストリーム変数名のIteratorを返します。
 int getType()
          タイプを取得します。
 void putStreamVariable(String name, Value value)
          ストリーム変数を設定します。
abstract  String strValue()
          ストリームの文字列値を取得します。
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.infoteria.asteria.flowlibrary2.stream.RecordSet
getRecord, getRecordCount
 

Field Detail

PROPERTY_FILEPATH

public static final String PROPERTY_FILEPATH
FilePathを表すストリーム変数のシンボル
Method Detail

getType

public int getType()
タイプを取得します。

byteValue

public abstract byte[] byteValue()
                          throws StreamException
ストリームのバイナリ値を取得します。
Throws:
StreamException - パースが発生し、それに失敗した場合

strValue

public abstract String strValue()
                         throws StreamException
ストリームの文字列値を取得します。
Throws:
StreamException - パースが発生し、それに失敗した場合

getFieldDefinition

public FieldDefinition getFieldDefinition()
フィールド定義を取得します。
フィールド定義が存在しない場合はnullを返します。

putStreamVariable

public void putStreamVariable(String name,
                              Value value)
ストリーム変数を設定します。
Parameters:
name - 変数名
value - 値

getStreamVariable

public Value getStreamVariable(String name)
ストリーム変数を取得します。
Parameters:
name - 変数名
Returns:
値。変数名に対応する値が存在しない場合はnull

getStreamVariableCount

public int getStreamVariableCount()
設定されているストリーム変数の数を返します。
Returns:
設定されている変数の数値。(RecordNoとRecordCountは返り値に含まれません)

getStreamVariableNames

public Iterator getStreamVariableNames()
ストリーム変数名のIteratorを返します。

getStreamPropertyNames

public Iterator getStreamPropertyNames()