java.lang.Object
com.infoteria.asteria.flowbuilder2.stream.field.Field
com.infoteria.asteria.flowbuilder2.stream.field.NestedField
All Implemented Interfaces:
com.infoteria.asteria.flowbuilder2.mapper.MappingItem, Cloneable
Direct Known Subclasses:
FieldJSON, FieldXML

public abstract class NestedField extends Field
Abstract super class for hierarchical field types like XML and JSON.
  • Field Details

    • _repeat

      protected boolean _repeat
    • _label

      protected String _label
  • Method Details

    • getAsNewField

      protected abstract NestedField getAsNewField()
    • getDepth

      public int getDepth()
      深さを返します。
      深さは文書要素が0で階層構造に従って大きくなります。
    • isRepeat

      public boolean isRepeat()
      フィールドに繰り返しがあるかどうかを返します。
    • setRepeat

      public UndoableEdit setRepeat(boolean b)
      フィールドに繰り返しがあるかどうかを設定します。
    • getLabel

      public String getLabel()
      ラベルを返します。
    • setLabel

      public UndoableEdit setLabel(String s)
      ラベルを設定します。
    • isExpand

      public boolean isExpand()
      このノードがGUI上で展開されているかどうかを返します。
    • setExpand

      public void setExpand(boolean b)
      このノードがGUI上で展開されているかどうかを設定します。
    • 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
    • getParent

      public NestedField getParent()
    • hasChild

      public boolean hasChild()