Class NestedField
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
Abstract super class for hierarchical field types like XML and JSON.
-
Field Summary
FieldsFields inherited from class com.infoteria.asteria.flowbuilder2.stream.field.Field
_id, _owner, _typeFields inherited from interface com.infoteria.asteria.flowbuilder2.mapper.MappingItem
MAPPING_BOTH, MAPPING_INPUT, MAPPING_NONE, MAPPING_OUTPUT -
Method Summary
Modifier and TypeMethodDescriptionvoidフィールドの内容を要素から読み出します。voidフィールドの内容を要素に書き出します。booleanIDの違いを無視してフィールドを比較します。protected abstract NestedFieldintgetDepth()深さを返します。
深さは文書要素が0で階層構造に従って大きくなります。getLabel()ラベルを返します。項目名に対応する値を文字列で返します。booleanhasChild()booleanisExpand()このノードがGUI上で展開されているかどうかを返します。booleanisRepeat()フィールドに繰り返しがあるかどうかを返します。voidsetExpand(boolean b) このノードがGUI上で展開されているかどうかを設定します。ラベルを設定します。setRepeat(boolean b) フィールドに繰り返しがあるかどうかを設定します。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
-
Field Details
-
_repeat
protected boolean _repeat -
_label
-
-
Method Details
-
getAsNewField
-
getDepth
public int getDepth()深さを返します。
深さは文書要素が0で階層構造に従って大きくなります。 -
isRepeat
public boolean isRepeat()フィールドに繰り返しがあるかどうかを返します。 -
setRepeat
フィールドに繰り返しがあるかどうかを設定します。 -
getLabel
ラベルを返します。 -
setLabel
ラベルを設定します。 -
isExpand
public boolean isExpand()このノードがGUI上で展開されているかどうかを返します。 -
setExpand
public void setExpand(boolean b) このノードがGUI上で展開されているかどうかを設定します。 -
assignTo
Description copied from class:Fieldフィールドの内容を要素に書き出します。 -
assign
Description copied from class:Fieldフィールドの内容を要素から読み出します。 -
equalsIgnoreId
Description copied from class:FieldIDの違いを無視してフィールドを比較します。- Overrides:
equalsIgnoreIdin classField
-
getString
項目名に対応する値を文字列で返します。 -
getParent
-
hasChild
public boolean hasChild()
-