Class CustomProperty

java.lang.Object
com.infoteria.asteria.flowlibrary2.property.CustomProperty
All Implemented Interfaces:
Property, Cloneable

public class CustomProperty extends Object implements Property, Cloneable
コンポーネントで独自にコンパイルするカスタムプロパティを表すクラスです。
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomProperty(String propName, String typeName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    このプロパティの内容を引数のPropertyにコピーします。
    引数となるPropertyのクラスはメソッド呼び出しを行うクラスと同一でなければなりません。
    プロパティのcloneメソッドです。
    プロパティ名を返します。
    プロパティ型を返します。
    通常はPropertyTypeでstaticに宣言されているいずれかのPropertyTypeを返します。
    void
    プロパティを実行コンテキストで初期化します。
    boolean
    このプロパティがマッパーでのMapping可能な場合はtrueを返します。
    boolean
    このプロパティの値がnullの場合はtrueを返します。
    boolean
    このプロパティが必須プロパティの場合はtrueを返します。
    プロパティ値を文字列として返します。

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CustomProperty

      public CustomProperty(String propName, String typeName)
  • Method Details

    • getName

      public String getName()
      プロパティ名を返します。
      Specified by:
      getName in interface Property
    • getType

      public PropertyType getType()
      プロパティ型を返します。
      通常はPropertyTypeでstaticに宣言されているいずれかのPropertyTypeを返します。
      Specified by:
      getType in interface Property
    • isRequired

      public boolean isRequired()
      このプロパティが必須プロパティの場合はtrueを返します。
      Specified by:
      isRequired in interface Property
    • isMapable

      public boolean isMapable()
      このプロパティがマッパーでのMapping可能な場合はtrueを返します。
      Specified by:
      isMapable in interface Property
    • toString

      public String toString()
      プロパティ値を文字列として返します。
      Specified by:
      toString in interface Property
      Overrides:
      toString in class Object
    • isNull

      public boolean isNull()
      このプロパティの値がnullの場合はtrueを返します。
      Specified by:
      isNull in interface Property
    • clone

      public Object clone()
      プロパティのcloneメソッドです。
      Specified by:
      clone in interface Property
      Overrides:
      clone in class Object
    • assign

      public void assign(Property prop)
      このプロパティの内容を引数のPropertyにコピーします。
      引数となるPropertyのクラスはメソッド呼び出しを行うクラスと同一でなければなりません。
      Specified by:
      assign in interface Property
    • init

      public void init(ExecuteContext context)
      プロパティを実行コンテキストで初期化します。
      Specified by:
      init in interface Property