feat2.config
クラス FileConfig

java.lang.Object
  拡張feat2.config.Config
      拡張feat2.config.ResponseConfigBase
          拡張feat2.config.FileConfig
すべての実装インタフェース:
DIComponentConfig, ValidatableComponentConfig

public class FileConfig
extends ResponseConfigBase
implements DIComponentConfig, ValidatableComponentConfig

ファイルダウンロードの設定。

作成者:
SUGIMOTO Ken-ichi

コンストラクタの概要
FileConfig()
           
 
メソッドの概要
 void addInput(InputConfigBase input)
           
 void addValidation(ValidationConfig validation)
           
 JavaIdentifier getClassName()
           
 java.lang.String getContentType()
           
 java.lang.String getElementName()
          設定ファイルの要素名を返す。
 Identifier getErrorResponse()
           
 java.lang.String getFilename()
           
 InputConfigBase getInputConfig(java.lang.String propertyName)
           
 InputConfigBase[] getInputs()
           
 java.lang.String getPropertyNameId(java.lang.String propertyName)
          プロパティの表示名のリソースIDを返す。
 Response getResponseInstance()
           
 ValidationConfig getValidationConfig(java.lang.String name)
           
 ValidationConfig[] getValidations()
           
 void setClassName(JavaIdentifier className)
           
 void setContentType(java.lang.String mimeType)
           
 void setErrorResponse(Identifier errorResponse)
           
 void setFilename(java.lang.String filename)
           
 boolean validate(FeatErrors errs)
           
 
クラス feat2.config.ResponseConfigBase から継承したメソッド
getName, setName
 
クラス feat2.config.Config から継承したメソッド
getConfigPath, getFeatConfig, getFeatureConfig, getParent, setParent
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

FileConfig

public FileConfig()
メソッドの詳細

getClassName

public JavaIdentifier getClassName()

setClassName

public void setClassName(JavaIdentifier className)

getFilename

public java.lang.String getFilename()

setFilename

public void setFilename(java.lang.String filename)

getContentType

public java.lang.String getContentType()

setContentType

public void setContentType(java.lang.String mimeType)

getErrorResponse

public Identifier getErrorResponse()
定義:
インタフェース ValidatableComponentConfig 内の getErrorResponse

setErrorResponse

public void setErrorResponse(Identifier errorResponse)

addInput

public void addInput(InputConfigBase input)
定義:
インタフェース DIComponentConfig 内の addInput

getInputs

public InputConfigBase[] getInputs()
定義:
インタフェース DIComponentConfig 内の getInputs

getInputConfig

public InputConfigBase getInputConfig(java.lang.String propertyName)
定義:
インタフェース DIComponentConfig 内の getInputConfig

addValidation

public void addValidation(ValidationConfig validation)
定義:
インタフェース ValidatableComponentConfig 内の addValidation

getValidations

public ValidationConfig[] getValidations()
定義:
インタフェース ValidatableComponentConfig 内の getValidations

getValidationConfig

public ValidationConfig getValidationConfig(java.lang.String name)
定義:
インタフェース ValidatableComponentConfig 内の getValidationConfig

getPropertyNameId

public java.lang.String getPropertyNameId(java.lang.String propertyName)
インタフェース ValidatableComponentConfig の記述:
プロパティの表示名のリソースIDを返す。

定義:
インタフェース ValidatableComponentConfig 内の getPropertyNameId
パラメータ:
propertyName -
戻り値:

getResponseInstance

public Response getResponseInstance()
定義:
クラス ResponseConfigBase 内の getResponseInstance

getElementName

public java.lang.String getElementName()
クラス Config の記述:
設定ファイルの要素名を返す。

定義:
クラス Config 内の getElementName

validate

public boolean validate(FeatErrors errs)
オーバーライド:
クラス ResponseConfigBase 内の validate