com.infoteria.asteria.flowlibrary2.property
Class UseConnectionProperty

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

public class UseConnectionProperty
extends BooleanProperty

Connectionプロパティを使用するかどうかを制御するプロパティです。


Constructor Summary
UseConnectionProperty(String name)
          UseConnectionProperty(name, false, true) と同じです。
UseConnectionProperty(String name, boolean required)
          UseConnectionProperty(name, required, true) と同じです。
UseConnectionProperty(String name, boolean required, boolean mapable)
          コンストラクタ
UseConnectionProperty(String name, boolean required, boolean mapable, boolean value)
          コンストラクタ
 
Method Summary
 void assign(Property prop)
           
 Object clone()
           
 void setConnectionProperty(ConnectionProperty conProp)
          このプロパティに連動して使用するかどうかを決定するConnectionPropertyを設定します。
 void setString(String str)
           
 
Methods inherited from class com.infoteria.asteria.flowlibrary2.property.BooleanProperty
booleanValue, setValue
 
Methods inherited from class com.infoteria.asteria.flowlibrary2.property.ValueProperty
getName, getType, getValue, getValueType, init, isMapable, isNull, isRequired, resetMacro, setRequired, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UseConnectionProperty

public UseConnectionProperty(String name)
UseConnectionProperty(name, false, true) と同じです。

UseConnectionProperty

public UseConnectionProperty(String name,
                             boolean required)
UseConnectionProperty(name, required, true) と同じです。

UseConnectionProperty

public UseConnectionProperty(String name,
                             boolean required,
                             boolean mapable)
コンストラクタ
Parameters:
name - プロパティ名
required - このプロパティが必須プロパティの場合はtrue
mapable - このプロパティがMapping可能な場合はtrue

UseConnectionProperty

public UseConnectionProperty(String name,
                             boolean required,
                             boolean mapable,
                             boolean value)
コンストラクタ
Parameters:
name - プロパティ名
required - このプロパティが必須プロパティの場合はtrue
mapable - このプロパティがMapping可能な場合はtrue
value - デフォルト値
Method Detail

setConnectionProperty

public void setConnectionProperty(ConnectionProperty conProp)
このプロパティに連動して使用するかどうかを決定するConnectionPropertyを設定します。

setString

public void setString(String str)
               throws PropertyException
Description copied from class: ValueProperty
コンパイル時に値を設定します。
Overrides:
setString in class ValueProperty
Following copied from class: com.infoteria.asteria.flowlibrary2.property.ValueProperty
Parameters:
str - プロパティ値として設定される文字列

clone

public Object clone()
Description copied from interface: Property
プロパティのcloneメソッドです。
Overrides:
clone in class ValueProperty

assign

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