com.infoteria.asteria.flowlibrary2.property
Class CustomProperty

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

public class CustomProperty
extends Object
implements Property, Cloneable

コンポーネントで独自にコンパイルするカスタムプロパティを表すクラスです。


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

Constructor Detail

CustomProperty

public CustomProperty(String propName,
                      String typeName)
Method Detail

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