com.infoteria.asteria.flowlibrary2.property
Interface Property

All Known Implementing Classes:
CategoryProperty, ValueProperty, CustomProperty, ConnectionProperty

public interface Property

コンポーネントプロパティのインターフェースです。


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

Method Detail

getName

public String getName()
プロパティ名を返します。

getType

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

isRequired

public boolean isRequired()
このプロパティが必須プロパティの場合はtrueを返します。

isMapable

public boolean isMapable()
このプロパティがマッパーでのMapping可能な場合はtrueを返します。

toString

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

isNull

public boolean isNull()
このプロパティの値がnullの場合はtrueを返します。

clone

public Object clone()
プロパティのcloneメソッドです。

assign

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

init

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