org.seasar.extension.jdbc.gen.internal.model
クラス AttributeModelFactoryImpl

java.lang.Object
  上位を拡張 org.seasar.extension.jdbc.gen.internal.model.AttributeModelFactoryImpl
すべての実装されたインタフェース:
AttributeModelFactory

public class AttributeModelFactoryImpl
extends java.lang.Object
implements AttributeModelFactory

AttributeModelFactoryの実装クラスです。

作成者:
taedium

フィールドの概要
protected  PersistenceConvention persistenceConvention
          永続化層の命名規約
protected  boolean showColumnDefinition
          カラム定義を表示する場合true
protected  boolean showColumnName
          カラム名を表示する場合true
protected  boolean useTemporalType
          TemporalTypeを使用する場合true
 
コンストラクタの概要
AttributeModelFactoryImpl(boolean showColumnName, boolean showColumnDefinition, boolean useTemporalType, PersistenceConvention persistenceConvention)
          インスタンスを構築します。
 
メソッドの概要
protected  void doAttributeClass(AttributeModel attributeModel, AttributeDesc attributeDesc)
          属性のクラスを処理します。
protected  void doColumnDefinition(AttributeModel attributeModel, AttributeDesc attributeDesc)
          カラム定義を処理します。
protected  void doColumnName(AttributeModel attributeModel, AttributeDesc attributeDesc)
          カラム名を処理します。
protected  void doLength(AttributeModel attributeModel, AttributeDesc attributeDesc)
          長さを処理します。
protected  void doPrecision(AttributeModel attributeModel, AttributeDesc attributeDesc)
          精度を処理します。
protected  void doScale(AttributeModel attributeModel, AttributeDesc attributeDesc)
          スケールを処理します。
 AttributeModel getAttributeModel(AttributeDesc attributeDesc)
          属性モデルを返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

showColumnName

protected boolean showColumnName
カラム名を表示する場合true


showColumnDefinition

protected boolean showColumnDefinition
カラム定義を表示する場合true


persistenceConvention

protected PersistenceConvention persistenceConvention
永続化層の命名規約


useTemporalType

protected boolean useTemporalType
TemporalTypeを使用する場合true

コンストラクタの詳細

AttributeModelFactoryImpl

public AttributeModelFactoryImpl(boolean showColumnName,
                                 boolean showColumnDefinition,
                                 boolean useTemporalType,
                                 PersistenceConvention persistenceConvention)
インスタンスを構築します。

パラメータ:
showColumnName - カラム名を表示する場合true
showColumnDefinition - カラム定義を表示する場合true
useTemporalType - TemporalTypeを使用する場合true
persistenceConvention - 永続化層の命名規約
メソッドの詳細

getAttributeModel

public AttributeModel getAttributeModel(AttributeDesc attributeDesc)
インタフェース AttributeModelFactory の記述:
属性モデルを返します。

定義:
インタフェース AttributeModelFactory 内の getAttributeModel
パラメータ:
attributeDesc - 属性記述
戻り値:
属性モデル

doAttributeClass

protected void doAttributeClass(AttributeModel attributeModel,
                                AttributeDesc attributeDesc)
属性のクラスを処理します。

パラメータ:
attributeModel - 属性モデル
attributeDesc - 属性記述

doColumnName

protected void doColumnName(AttributeModel attributeModel,
                            AttributeDesc attributeDesc)
カラム名を処理します。

パラメータ:
attributeModel - 属性モデル
attributeDesc - 属性記述

doColumnDefinition

protected void doColumnDefinition(AttributeModel attributeModel,
                                  AttributeDesc attributeDesc)
カラム定義を処理します。

パラメータ:
attributeModel - 属性モデル
attributeDesc - 属性記述

doLength

protected void doLength(AttributeModel attributeModel,
                        AttributeDesc attributeDesc)
長さを処理します。

パラメータ:
attributeModel - 属性モデル
attributeDesc - 属性記述

doPrecision

protected void doPrecision(AttributeModel attributeModel,
                           AttributeDesc attributeDesc)
精度を処理します。

パラメータ:
attributeModel - 属性モデル
attributeDesc - 属性記述

doScale

protected void doScale(AttributeModel attributeModel,
                       AttributeDesc attributeDesc)
スケールを処理します。

パラメータ:
attributeModel - 属性モデル
attributeDesc - 属性記述


Copyright © 2004-2014 The Seasar Foundation. All Rights Reserved.