com.infoteria.asteria.flowbuilder2.stream.field
Class FieldFixedLength
java.lang.Object
|
+--com.infoteria.asteria.flowbuilder2.stream.field.Field
|
+--com.infoteria.asteria.flowbuilder2.stream.field.FieldFixedLength
- All Implemented Interfaces:
- Cloneable, com.infoteria.asteria.flowbuilder2.mapper.MappingItem
- public class FieldFixedLength
- extends Field
FixedLength型のフィールドです。
Fields inherited from class com.infoteria.asteria.flowbuilder2.stream.field.Field |
_id, _owner, _type |
Fields inherited from interface com.infoteria.asteria.flowbuilder2.mapper.MappingItem |
MAPPING_BOTH, MAPPING_INPUT, MAPPING_NONE, MAPPING_OUTPUT |
Methods inherited from class com.infoteria.asteria.flowbuilder2.stream.field.Field |
clone, clone, equals, getCanonicalName, getDescription, getDisplayName, getId, getName, getType, isVisible, setDescription, setName, setType, toString |
Methods inherited from interface com.infoteria.asteria.flowbuilder2.mapper.MappingItem |
getIcon, getMappingType, isIgnoreSerialize |
FieldFixedLength
public FieldFixedLength(String name,
FieldType type,
int spos,
int length,
int fractionLength)
- フィールド名、データ型、開始位置、長さ、小数点位置を指定してFieldFixedLengthを作成します
FieldFixedLength
public FieldFixedLength(Field f)
- コピーコンストラクタ。
作成されたFieldはIDも同じになります。
getStartPos
public int getStartPos()
- 開始位置を返します。
setStartPos
public UndoableEdit setStartPos(int n)
- 開始位置を設定します。
getLength
public int getLength()
- 長さを返します。
setLength
public UndoableEdit setLength(int n)
- 長さを設定します。
getFractionLength
public int getFractionLength()
- 小数点位置を返します。
setFractionLength
public UndoableEdit setFractionLength(int n)
- 小数点位置を設定します。
assignTo
public void assignTo(Element el)
- Description copied from class:
Field
- フィールドの内容を要素に書き出します。
- Overrides:
assignTo
in class Field
assign
public void assign(Element el)
- Description copied from class:
Field
- フィールドの内容を要素から読み出します。
- Overrides:
assign
in class Field
equalsIgnoreId
public boolean equalsIgnoreId(Field f)
- Description copied from class:
Field
- IDの違いを無視してフィールドを比較します。
- Overrides:
equalsIgnoreId
in class Field
getString
public String getString(String name)
- 項目名に対応する値を文字列で返します。
- Overrides:
getString
in class Field