|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Object | +--com.infoteria.asteria.flowbuilder2.stream.field.FieldDefinition
フィールド定義です。
| フィールドの概要 | |
protected Vector |
_list
|
static String |
A_NAME
|
static String |
COLNAME_DESC
|
static String |
COLNAME_NAME
|
static String |
COLNAME_TYPE
|
static String |
E_FIELD
|
static String |
TYPE_FIXED
|
static String |
TYPE_RECORD
|
static String |
TYPE_SINGLE
|
static String |
TYPE_VARIABLE
|
static String |
TYPE_XML
|
| コンストラクタの概要 | |
FieldDefinition()
|
|
FieldDefinition(FieldType[] acceptTypes)
|
|
| メソッドの概要 | |
UndoableEdit |
add(Field f)
フィールドを追加します。 |
void |
addFieldDefinitionListener(FieldDefinitionListener l)
|
void |
addReadOnlyColumn(String columnName)
指定された列を編集不可に設定します。 |
void |
assign(Element el)
要素からFeildDefinitonの内容を読み出し自分に反映します。 |
void |
assignTo(Element el)
FeildDefinitonの内容を要素に書き出します。 |
void |
beginUpdate()
|
boolean |
canMoveDown(Field f)
フィールドが下に移動可能かどうかを返します。 |
boolean |
canMoveUp(Field f)
フィールドが上に移動可能かどうかを返します。 |
Object |
clone()
FeildDefinitonを複製します。 |
boolean |
containsName(String name)
指定の名前のフィールドがあるかどうかを返します。 |
Field |
createField(String name)
FeildDefinitonのクラスに対応したフィールドを作成します。 |
Field |
createField(String name,
FieldType type)
FeildDefinitonのクラスに対応したフィールドを作成します。 |
UndoableEdit |
endUpdate(UndoableEdit undo)
|
boolean |
equals(Object o)
|
UndoableEdit |
fireEvent(int id,
Field f,
int index,
UndoableEdit undo,
Object old)
|
UndoableEdit |
fireEvent(int id,
Field f,
UndoableEdit undo,
Object old)
|
FieldType[] |
getAcceptTypes()
設定可能なフィールドのデータ型を返します。 |
Field |
getField(int idx)
idx番目のフィールドを返します。 |
Field |
getField(String name)
指定の名前のフィールドを返します。 |
Field |
getFieldById(String id)
指定のIDのフィールドを返します。 |
FieldDefinitionListener[] |
getFieldDefinitionListeners()
|
Icon |
getFieldIcon()
|
com.infoteria.asteria.flowbuilder2.mapper.MappingItem |
getMappingItem(int idx)
|
int |
getMappingItemCount()
|
FieldTableModel |
getModel()
|
String |
getName()
フィールド定義の名前を返します。 |
String |
getNameLabel()
|
String |
getType()
フィールド定義の種別を返します。 |
UndoableEdit |
importFieldDefinition(FieldDefinition fd)
importFieldDefinition(fd, false)と同じです。 |
UndoableEdit |
importFieldDefinition(FieldDefinition fd,
boolean keepFieldId)
別のFeildDefinitonの内容をインポートします。 |
UndoableEdit |
importFieldDefinition(FieldDefinition fd,
boolean keepFieldId,
String oldName)
|
int |
indexOf(Field f)
指定のフィールドの位置を返します。 |
int |
indexOfName(String name)
指定の名前を持つフィールドの位置を返します。 |
UndoableEdit |
insert(Field f,
int idx)
フィールドを挿入します。 |
boolean |
isAcceptType(FieldType ft)
指定のフィールドデータ型が設定可能かどうかを返します。 |
boolean |
isExportSupport(com.infoteria.asteria.flowbuilder2.stream.field.io.IOType type)
|
boolean |
isImportSupport(com.infoteria.asteria.flowbuilder2.stream.field.io.IOType type)
|
boolean |
isNameLock()
Name列が編集可能かどうかを返します。 |
boolean |
isReadOnlyColumn(String columnName)
指定された列が編集可能かどうかを返します。 |
boolean |
isSerializeFieldId()
|
boolean |
isUserDefinable()
|
UndoableEdit |
moveDown(Field f)
フィールドを下に移動します。 |
UndoableEdit |
moveUp(Field f)
フィールドを上に移動します。 |
UndoableEdit |
remove(Field f)
フィールドを削除します。 |
UndoableEdit |
remove(int idx)
フィールドを削除します。 |
UndoableEdit |
remove(int start,
int end)
指定の範囲のフィールドを削除します。 |
void |
removeFieldDefinitionListener(FieldDefinitionListener l)
|
void |
removeReadOnlyColumn(String columnName)
指定された列を編集可能に設定します。 |
void |
setAcceptTypes(FieldType[] types)
設定可能なフィールドのデータ型を設定します。 |
void |
setFieldIcon(Icon icon)
|
void |
setName(String name)
フィールド定義の名前を設定します。 |
void |
setSerializeFieldId(boolean b)
|
int |
size()
フィールド数を返します。 |
com.infoteria.asteria.flowbuilder2.stream.field.io.IOType[] |
supportExportTypes()
|
com.infoteria.asteria.flowbuilder2.stream.field.io.IOType[] |
supportImportTypes()
|
void |
validate()
フィールド定義が不正でないかどうかをチェックします。 |
boolean |
validName(String name)
フィールド名が正当かどうかを返します。 |
| クラス java.lang.Object から継承したメソッド |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
public static final String TYPE_RECORD
public static final String TYPE_SINGLE
public static final String TYPE_FIXED
public static final String TYPE_XML
public static final String TYPE_VARIABLE
public static final String COLNAME_NAME
public static final String COLNAME_TYPE
public static final String COLNAME_DESC
public static final String E_FIELD
public static final String A_NAME
protected Vector _list
| コンストラクタの詳細 |
public FieldDefinition()
public FieldDefinition(FieldType[] acceptTypes)
| メソッドの詳細 |
public String getType()
public String getName()
com.infoteria.asteria.flowbuilder2.mapper.MappingHolder 内の getNamepublic void setName(String name)
public String getNameLabel()
public boolean isUserDefinable()
public boolean isReadOnlyColumn(String columnName)
public void addReadOnlyColumn(String columnName)
public void removeReadOnlyColumn(String columnName)
public boolean isNameLock()
public FieldType[] getAcceptTypes()
public void setAcceptTypes(FieldType[] types)
public boolean isAcceptType(FieldType ft)
public UndoableEdit add(Field f)
public UndoableEdit insert(Field f,
int idx)
public UndoableEdit remove(Field f)
public UndoableEdit remove(int idx)
public UndoableEdit remove(int start,
int end)
public boolean canMoveUp(Field f)
public UndoableEdit moveUp(Field f)
public boolean canMoveDown(Field f)
public UndoableEdit moveDown(Field f)
public int size()
public Field getField(int idx)
public Field getField(String name)
public Field getFieldById(String id)
public FieldTableModel getModel()
public int indexOf(Field f)
public int indexOfName(String name)
public boolean containsName(String name)
public Field createField(String name)
public Field createField(String name,
FieldType type)
public boolean isImportSupport(com.infoteria.asteria.flowbuilder2.stream.field.io.IOType type)
public boolean isExportSupport(com.infoteria.asteria.flowbuilder2.stream.field.io.IOType type)
public com.infoteria.asteria.flowbuilder2.stream.field.io.IOType[] supportImportTypes()
public com.infoteria.asteria.flowbuilder2.stream.field.io.IOType[] supportExportTypes()
public boolean validName(String name)
public void validate()
throws Exception
public Object clone()
Object 内の clonepublic boolean equals(Object o)
Object 内の equalspublic void assignTo(Element el)
public void assign(Element el)
public int getMappingItemCount()
com.infoteria.asteria.flowbuilder2.mapper.MappingHolder 内の getMappingItemCountpublic com.infoteria.asteria.flowbuilder2.mapper.MappingItem getMappingItem(int idx)
com.infoteria.asteria.flowbuilder2.mapper.MappingHolder 内の getMappingItempublic void addFieldDefinitionListener(FieldDefinitionListener l)
public void removeFieldDefinitionListener(FieldDefinitionListener l)
public FieldDefinitionListener[] getFieldDefinitionListeners()
public void beginUpdate()
public UndoableEdit endUpdate(UndoableEdit undo)
public UndoableEdit fireEvent(int id,
Field f,
UndoableEdit undo,
Object old)
public UndoableEdit fireEvent(int id,
Field f,
int index,
UndoableEdit undo,
Object old)
public boolean isSerializeFieldId()
public void setSerializeFieldId(boolean b)
public UndoableEdit importFieldDefinition(FieldDefinition fd,
boolean keepFieldId,
String oldName)
public UndoableEdit importFieldDefinition(FieldDefinition fd,
boolean keepFieldId)
fd - フィールド定義keepFieldId - フィールド名が同じ場合はIDをキープするかどうかpublic UndoableEdit importFieldDefinition(FieldDefinition fd)
public Icon getFieldIcon()
public void setFieldIcon(Icon icon)
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||