Class ConnectionProperty

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

public class ConnectionProperty extends Object implements Property, Cloneable
コネクション型のプロパティクラスです。
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConnectionProperty(type, name, true) と同じです。
    ConnectionProperty(String type, String name, boolean required)
    コンストラクタ
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    このプロパティの内容を引数のPropertyにコピーします。
    引数となるPropertyのクラスはメソッド呼び出しを行うクラスと同一でなければなりません。
    コネクション名を返します。
    コネクションタイプを返します。
    このプロパティが参照するコネクションのConnectionEntryを返します。
    コネクションが見つからない場合はnullを返します。
    プロパティ名を返します。
    プロパティ型を返します。
    常にPropertyType.CONNECTIONを返します。
    コネクション名を返します。
    void
    プロパティを実行コンテキストで初期化します。
    boolean
    このプロパティがマッパーでのMapping可能な場合はtrueを返します。
    boolean
    このプロパティの値がnullの場合はtrueを返します。
    boolean
    このプロパティが必須プロパティの場合はtrueを返します。
    boolean
    このコネクションプロパティを使用するかどうかを返します。
    void
    setUse(boolean b)
    このコネクションプロパティを使用するかどうかを設定します。
    通常はUseConnectionPropertyによってコンパイル時に設定されます。
    void
    コネクション名を設定します。
    プロパティ値を文字列として返します。

    Methods inherited from class java.lang.Object

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

    • ConnectionProperty

      public ConnectionProperty(String type, String name)
      ConnectionProperty(type, name, true) と同じです。
    • ConnectionProperty

      public ConnectionProperty(String type, String name, boolean required)
      コンストラクタ
      Parameters:
      type - コネクションタイプ
      name - プロパティ名
      required - このプロパティが必須プロパティの場合はtrue
  • Method Details

    • getName

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

      public PropertyType getType()
      プロパティ型を返します。
      常にPropertyType.CONNECTIONを返します。 
      Specified by:
      getType in interface Property
    • getConnectionType

      public String getConnectionType()
      コネクションタイプを返します。
    • isRequired

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

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

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

      public String getValue()
      コネクション名を返します。
    • getConnectionName

      public String getConnectionName()
      コネクション名を返します。
    • setValue

      public void setValue(String value)
      コネクション名を設定します。
    • isNull

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

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

      public ConnectionEntry getEntry(ExecuteContext context)
      このプロパティが参照するコネクションのConnectionEntryを返します。
      コネクションが見つからない場合はnullを返します。
    • init

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

      public boolean isUse()
      このコネクションプロパティを使用するかどうかを返します。
    • setUse

      public void setUse(boolean b)
      このコネクションプロパティを使用するかどうかを設定します。
      通常はUseConnectionPropertyによってコンパイル時に設定されます。