|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.infoteria.asteria.flowbuilder2.stream.field.Field
フィールド定義のフィールドを表すクラスです。
Field Summary | |
protected String |
_id
|
protected FieldDefinition |
_owner
|
protected FieldType |
_type
|
Fields inherited from interface com.infoteria.asteria.flowbuilder2.mapper.MappingItem |
MAPPING_BOTH, MAPPING_INPUT, MAPPING_NONE, MAPPING_OUTPUT |
Constructor Summary | |
|
Field(Field f)
コピーコンストラクタ。 作成されたFieldはIDも同じになります。 |
|
Field(String name,
FieldType type)
フィールド名とデータ型を指定してFieldを作成します |
protected |
Field(String name,
FieldType type,
String id)
フィールド名とデータ型とIDを指定してFieldを作成します |
Method Summary | |
void |
assign(Element el)
フィールドの内容を要素から読み出します。 |
void |
assignTo(Element el)
フィールドの内容を要素に書き出します。 |
Object |
clone()
clone(false)と同じです。 |
Object |
clone(boolean keepId)
フィールドを複製します。 |
boolean |
equals(Object o)
|
boolean |
equalsIgnoreId(Field f)
IDの違いを無視してフィールドを比較します。 |
String |
getCanonicalName()
フィールドの正規名を返します。 |
String |
getDescription()
フィールドの説明を返します。 |
String |
getDisplayName()
フィールドの表示名を返します。FieldXML以外ではフィールド名と同じです。 |
String |
getId()
|
String |
getName()
フィールド名を返します。 |
String |
getString(String name)
項目名に対応する値を文字列で返します。 |
FieldType |
getType()
データ型を返します。 |
boolean |
isVisible()
フィールドが可視であるかどうかを返します。 |
UndoableEdit |
setDescription(String desc)
フィールドの説明を設定します。 |
UndoableEdit |
setName(String name)
フィールド名を設定します。 |
UndoableEdit |
setType(FieldType type)
データ型を設定します。 |
String |
toString()
|
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.infoteria.asteria.flowbuilder2.mapper.MappingItem |
getIcon, getMappingType, isIgnoreSerialize |
Field Detail |
protected FieldType _type
protected String _id
protected FieldDefinition _owner
Constructor Detail |
public Field(String name, FieldType type)
protected Field(String name, FieldType type, String id)
public Field(Field f)
Method Detail |
public boolean isVisible()
isVisible
in interface com.infoteria.asteria.flowbuilder2.mapper.MappingItem
public String getName()
getName
in interface com.infoteria.asteria.flowbuilder2.mapper.MappingItem
public String getDisplayName()
getDisplayName
in interface com.infoteria.asteria.flowbuilder2.mapper.MappingItem
public UndoableEdit setName(String name)
public FieldType getType()
public UndoableEdit setType(FieldType type)
public String getId()
getId
in interface com.infoteria.asteria.flowbuilder2.mapper.MappingItem
public String toString()
toString
in class Object
public void assignTo(Element el)
public void assign(Element el)
public Object clone(boolean keepId)
keepId
- IDを維持するかどうかpublic Object clone()
clone
in class Object
public boolean equals(Object o)
equals
in class Object
public boolean equalsIgnoreId(Field f)
public String getDescription()
public UndoableEdit setDescription(String desc)
public String getCanonicalName()
public String getString(String name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |