jp.sourceforge.livez
クラス MobilePhoneGenerator<R extends MobilePhoneRequest,M extends MobilePhone>

java.lang.Object
  上位を拡張 jp.sourceforge.livez.MobilePhoneGenerator<R,M>
直系の既知のサブクラス:
BrewGenerator, EZwebGenerator, ImodeGenerator, VodafoneGenerator

public abstract class MobilePhoneGenerator<R extends MobilePhoneRequest,M extends MobilePhone>
extends Object

携帯端末情報を生成する携帯端末情報ジェネレータの基底クラスです。

作成者:
杉澤 浩二

コンストラクタの概要
MobilePhoneGenerator()
          デフォルトコンストラクタです。
 
メソッドの概要
abstract  M create(HttpServletRequest request)
          HTTPリクエスト情報から携帯端末情報を生成して返します。
abstract  M create(R request)
          携帯端末リクエスト情報から携帯端末情報を生成して返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MobilePhoneGenerator

public MobilePhoneGenerator()
デフォルトコンストラクタです。

メソッドの詳細

create

public abstract M create(R request)
                                      throws NullPointerException,
                                             DataAccessException
携帯端末リクエスト情報から携帯端末情報を生成して返します。

パラメータ:
request - 携帯端末リクエスト情報
戻り値:
携帯端末情報
例外:
NullPointerException - 携帯端末リクエスト情報が null の場合
DataAccessException - DAO の操作で例外が発生した場合

create

public abstract M create(HttpServletRequest request)
                                      throws NullPointerException,
                                             IllegalRequestException,
                                             DataAccessException
HTTPリクエスト情報から携帯端末情報を生成して返します。

パラメータ:
request - HTTPリクエスト情報
戻り値:
携帯端末情報
例外:
NullPointerException - HTTPリクエスト情報が null の場合
IllegalRequestException - HTTPリクエスト情報が不正な場合
DataAccessException - DAO の操作で例外が発生した場合


Copyright © 2005-2006 Kouji Sugisawa. All rights reserved.