com.infoteria.asteria.flowbuilder2.stream.field
Class NestedFieldDefinition

java.lang.Object
  |
  +--com.infoteria.asteria.flowbuilder2.stream.field.FieldDefinition
        |
        +--com.infoteria.asteria.flowbuilder2.stream.field.NestedFieldDefinition
All Implemented Interfaces:
java.lang.Cloneable, com.infoteria.asteria.flowbuilder2.mapper.MappingHolder
Direct Known Subclasses:
JSONFieldDefinition, XMLFieldDefinition

public abstract class NestedFieldDefinition
extends FieldDefinition


Field Summary
protected static java.lang.String A_EXPANDED
           
protected static java.lang.String A_LABEL
           
protected static java.lang.String A_NAME
           
protected static java.lang.String A_REPEAT
           
protected static java.lang.String A_TYPE
           
 
Fields inherited from class com.infoteria.asteria.flowbuilder2.stream.field.FieldDefinition
_list, TYPE_FIXED, TYPE_JSON, TYPE_RECORD, TYPE_SINGLE, TYPE_XML
 
Constructor Summary
NestedFieldDefinition(FieldType[] acceptTypes)
          使用可能なデータ型を指定してNestedField定義を作成します。
 
Method Summary
 javax.swing.undo.UndoableEdit branchDown(Field f)
          Fieldの深さを1段階下に移動します。
 javax.swing.undo.UndoableEdit branchUp(Field f)
          Fieldの深さを1段階上に移動します。
 boolean canBranchDown(Field f)
          Fieldの深さを1段階下に移動可能かどうかを返します。
 boolean canBranchUp(Field f)
          Fieldの深さを1段階上に移動可能かどうかを返します。
 boolean canMoveDown(Field f)
          Field順序が下に移動可能かどうかを返します。
 boolean canMoveUp(Field f)
          Field順序が上に移動可能かどうかを返します。
 NestedField getNestedField(int idx)
          idx番目のFieldを返します。
 NestedField getParent(NestedField f)
          Fieldの親Fieldを返します。
 boolean hasChild(NestedField f)
          Fieldが子ノード(要素または属性)定義を持っているかどうかをチェックします。
 javax.swing.undo.UndoableEdit moveDown(Field f)
          Field順序を下に移動します。
 javax.swing.undo.UndoableEdit moveUp(Field f)
          Field順序を上に移動します。
 
Methods inherited from class com.infoteria.asteria.flowbuilder2.stream.field.FieldDefinition
add, addFieldDefinitionListener, addReadOnlyColumn, assign, assignTo, beginUpdate, clone, containsName, createField, createField, endUpdate, equals, getAcceptTypes, getField, getField, getFieldById, getFieldDefinitionListeners, getName, getReadOnlyColumns, getType, hasReadOnlyColumn, importFieldDefinition, importFieldDefinition, importFieldDefinition, indexOf, indexOfName, insert, isAcceptType, isNameLock, isReadOnlyColumn, isSerializeFieldId, remove, remove, remove, removeFieldDefinitionListener, removeReadOnlyColumn, setAcceptTypes, setName, setSerializeFieldId, size, validate, validName
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.infoteria.asteria.flowbuilder2.mapper.MappingHolder
getMappingItem, getMappingItemCount
 

Field Detail

A_NAME

protected static final java.lang.String A_NAME

A_TYPE

protected static final java.lang.String A_TYPE

A_REPEAT

protected static final java.lang.String A_REPEAT

A_EXPANDED

protected static final java.lang.String A_EXPANDED

A_LABEL

protected static final java.lang.String A_LABEL
Constructor Detail

NestedFieldDefinition

public NestedFieldDefinition(FieldType[] acceptTypes)
使用可能なデータ型を指定してNestedField定義を作成します。
Method Detail

canMoveUp

public boolean canMoveUp(Field f)
Field順序が上に移動可能かどうかを返します。
Overrides:
canMoveUp in class FieldDefinition

moveUp

public javax.swing.undo.UndoableEdit moveUp(Field f)
Field順序を上に移動します。
Overrides:
moveUp in class FieldDefinition

canMoveDown

public boolean canMoveDown(Field f)
Field順序が下に移動可能かどうかを返します。
Overrides:
canMoveDown in class FieldDefinition

moveDown

public javax.swing.undo.UndoableEdit moveDown(Field f)
Field順序を下に移動します。
Overrides:
moveDown in class FieldDefinition

canBranchUp

public boolean canBranchUp(Field f)
Fieldの深さを1段階上に移動可能かどうかを返します。

branchUp

public javax.swing.undo.UndoableEdit branchUp(Field f)
Fieldの深さを1段階上に移動します。

getNestedField

public NestedField getNestedField(int idx)
idx番目のFieldを返します。

canBranchDown

public boolean canBranchDown(Field f)
Fieldの深さを1段階下に移動可能かどうかを返します。

branchDown

public javax.swing.undo.UndoableEdit branchDown(Field f)
Fieldの深さを1段階下に移動します。

hasChild

public boolean hasChild(NestedField f)
Fieldが子ノード(要素または属性)定義を持っているかどうかをチェックします。

getParent

public NestedField getParent(NestedField f)
Fieldの親Fieldを返します。