Class ComponentProperty

All Implemented Interfaces:
com.infoteria.asteria.flowbuilder2.mapper.MappingItem, Property, Cloneable

public class ComponentProperty extends FlowProperty implements com.infoteria.asteria.flowbuilder2.mapper.MappingItem
Componentの保持するPropertyのDecoratorクラスです。
Componentの定義ファイルで定義したPropertyはこのクラスでラップされます。
  • Constructor Details

    • ComponentProperty

      public ComponentProperty(Property prop)
  • Method Details

    • strToMappingType

      public static int strToMappingType(String s)
    • mappingTypeToStr

      public static String mappingTypeToStr(int n)
    • getId

      public String getId()
      Specified by:
      getId in interface com.infoteria.asteria.flowbuilder2.mapper.MappingItem
    • getMappingType

      public int getMappingType()
      マッピングで使用可能かどうかの種別を返します。
      返り値は以下のシンボルのいずれかです。
      MAPPING_NONE - マッピング不可
      MAPPING_INPUT - 入力側のみマッピング可能
      MAPPING_OUTPUT - 出力側のみマッピング可能
      MAPPING_BOTH - マッピング可能
      Specified by:
      getMappingType in interface com.infoteria.asteria.flowbuilder2.mapper.MappingItem
    • setMappingType

      public void setMappingType(int n)
      マッピングで使用可能かどうかの種別を設定します。
    • setEnableMacro

      public void setEnableMacro(boolean b)
      プロパティ式が使用可能かどうかを設定します。
    • isEnableMacro

      public boolean isEnableMacro()
      プロパティ式が使用可能かどうかを返します。
      (isEnableMappingがfalseの場合はsetEnableMacroでtrueを設定してもプロパティ式は使用可能になりません)
      Overrides:
      isEnableMacro in class FlowProperty
    • isEnableMapping

      public boolean isEnableMapping()
      マッピングで値を設定できるかどうかを返します。
      Overrides:
      isEnableMapping in class FlowProperty
    • isIgnoreSerialize

      public boolean isIgnoreSerialize()
      Specified by:
      isIgnoreSerialize in interface com.infoteria.asteria.flowbuilder2.mapper.MappingItem
    • getIcon

      public Icon getIcon()
      Specified by:
      getIcon in interface com.infoteria.asteria.flowbuilder2.mapper.MappingItem